2011-07-20 14:53:06 +02:00
|
|
|
CURRENT:
|
|
|
|
|
|
|
|
release:
|
|
|
|
|
|
|
|
- Merge all required changes to release branch (from master ....)
|
|
|
|
- Update 'private const string VERSION = "2011.1.2";' in src/CS2JTranslator/CS2JMain.cs
|
|
|
|
- git commit -m"Update version number for release"
|
|
|
|
|
|
|
|
WINDOWS
|
|
|
|
|
|
|
|
git bash:
|
|
|
|
|
2011-07-26 10:58:03 +02:00
|
|
|
-- cd "My Documents/gitrepos/cs2jCentral/CSharpTranslator\antlr3\build"
|
2011-07-20 14:53:06 +02:00
|
|
|
-- git pull
|
|
|
|
--- is it clean?
|
2011-07-26 10:29:14 +02:00
|
|
|
-- ant -Drelease.tagname=2011.1.2 -Dgoogle.docs.title=CS2JUsersGuide releasefromhere
|
2011-07-20 14:53:06 +02:00
|
|
|
|
2011-09-02 11:33:26 +02:00
|
|
|
copy archives from "C:\Documents and Settings\developer\build" to ""C:\Documents and Settings\developer\My Documents" and unpack.
|
2011-07-20 14:53:06 +02:00
|
|
|
|
2011-11-27 11:37:46 +01:00
|
|
|
***********
|
|
|
|
* If it says that it can't continue because there are uncommitted changes but giff index doesn't show anything it is because
|
|
|
|
* git diff-index thinks there are changes.
|
|
|
|
* run git commit on its own (it will say nothing to commit) then git diff-index should be happy again
|
|
|
|
********** *
|
|
|
|
|
|
|
|
|
2011-07-20 14:53:06 +02:00
|
|
|
DOS prompt:
|
|
|
|
|
|
|
|
cd "C:\Documents and Settings\developer\My Documents\cs2j-2011.1.2\cs2j-2011.1.2"
|
|
|
|
|
2011-09-07 13:52:59 +02:00
|
|
|
-- "CS2JTranslator\bin\cs2j.exe" -debug=1 -translator-timestamp-files=false -translator-keep-parens=false -netdir=NetFramework -dumpxmls -xmldir=z:\keving\tmp\xml\se -odir=z:\keving\tmp\java\se\src -csdir="C:\Documents and Settings\developer\My Documents\svnrepos\ScormEngineNet\src\app\ScormEngine.Core"
|
2011-07-20 14:53:06 +02:00
|
|
|
|
|
|
|
MAC
|
|
|
|
|
|
|
|
-- use git diff to check there are no differences (comments are diff actually)
|
|
|
|
--- git diff --ignore-space-at-eol
|
|
|
|
|
|
|
|
WINDOWS
|
|
|
|
|
|
|
|
git bash:
|
|
|
|
|
2011-09-02 11:33:26 +02:00
|
|
|
When all happy tag and push
|
2011-07-26 10:58:03 +02:00
|
|
|
|
2011-07-20 14:53:06 +02:00
|
|
|
-- ant -Drelease.tagname=2011.1.2 tagme
|
|
|
|
-- ant pushme
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OLD:
|
|
|
|
|
2011-01-27 16:57:00 +01:00
|
|
|
Windows:
|
|
|
|
|
|
|
|
git bash:
|
|
|
|
|
2011-03-03 08:42:27 +01:00
|
|
|
-- cd My Documents/gitrepos/cs2jCentral
|
2011-01-27 16:57:00 +01:00
|
|
|
-- git pull
|
|
|
|
--- is it clean?
|
2011-03-03 08:42:27 +01:00
|
|
|
-- cd CSharpTranslator/antlr3
|
2011-01-27 16:57:00 +01:00
|
|
|
-- ./mkit (will fail after translating grammar files)
|
|
|
|
-- Load solution in VS2010
|
2011-03-03 08:42:27 +01:00
|
|
|
-- Rebuild Solution
|
2011-01-27 16:57:00 +01:00
|
|
|
|
|
|
|
DOS prompt:
|
|
|
|
|
|
|
|
cd "C:\Documents and Settings\developer"
|
|
|
|
|
2011-03-03 08:42:27 +01:00
|
|
|
-- "My Documents\gitrepos\cs2jCentral\CSharpTranslator\antlr3\src\CS2JTranslator\bin\Debug\cs2j.exe" -translator-timestamp-files=false -translator-keep-parens=false -netdir=z:\keving\gitrepos\cs2j\CS2JLibrary\NetFramework -dumpxmls -xmldir=z:\keving\tmp\xml\se -odir=z:\keving\tmp\java\se\src -appdir="My Documents\svnrepos\ScormEngineNet\src\app\ScormEngine.Core" "My Documents\svnrepos\ScormEngineNet\src\app\ScormEngine.Core"
|
2011-01-27 16:57:00 +01:00
|
|
|
-- use git diff to check there are no differences (comments are diff actually)
|
2011-03-03 08:42:27 +01:00
|
|
|
--- git diff --ignore-space-at-eol
|
2011-01-27 16:57:00 +01:00
|
|
|
|
2011-01-27 18:04:46 +01:00
|
|
|
On mac:
|
|
|
|
|
|
|
|
git checkout ClientReleases
|
|
|
|
git merge master
|
|
|
|
git status
|
|
|
|
git push
|
|
|
|
git tag
|
|
|
|
git tag -a HengtianSoft-Devel-2
|
|
|
|
git push --tags
|
|
|
|
|
|
|
|
|
|
|
|
On Windows
|
|
|
|
|
|
|
|
git bash:
|
|
|
|
|
|
|
|
-- cd ~/My Documents/gitrepos/cs2jCentral/CS2JLibrary
|
|
|
|
-- git pull
|
|
|
|
-- ant src
|
|
|
|
makes a source delivery of cs2jlibrary
|
2011-01-27 16:57:00 +01:00
|
|
|
|
|
|
|
|
|
|
|
cs2j\NetFramework
|
|
|
|
cs2j\c2jTranslator\bin
|
2011-03-03 08:42:27 +01:00
|
|
|
-- copy from "My Documents\gitrepos\cs2jCentral\CSharpTranslator\antlr3\src\CS2JTranslator\bin\Debug"
|
2011-01-27 16:57:00 +01:00
|
|
|
-- delete *vhost*
|
|
|
|
-- rename cs2j.exe to cs2j.exe.removeme
|
2011-01-27 18:04:46 +01:00
|
|
|
cs2j\cs2jlibrary-src-release2010.1.0.13824-197-gfd0bee8 (name changes depending on last tag)
|
2011-01-27 16:57:00 +01:00
|
|
|
cs2j\cs2j_A_Developer_s_Guide.pdf
|