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:

-- cd "My Documents/gitrepos/cs2jCentral/CSharpTranslator\antlr3\build"
-- git pull
--- is it clean?
-- ant -Drelease.tagname=2011.1.2 -Dgoogle.docs.title=CS2JUsersGuide releasefromhere

copy archives from "C:\Documents and Settings\developer\build" to ""C:\Documents and Settings\developer\My Documents" and unpack.

DOS prompt:

cd "C:\Documents and Settings\developer\My Documents\cs2j-2011.1.2\cs2j-2011.1.2"

-- "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"

MAC

-- use git diff to check there are no differences (comments are diff actually)
--- git diff --ignore-space-at-eol

WINDOWS

git bash:

When all happy tag and push

-- ant -Drelease.tagname=2011.1.2 tagme
-- ant pushme











OLD:

Windows:

git bash: 

-- cd My Documents/gitrepos/cs2jCentral
-- git pull
--- is it clean?
-- cd CSharpTranslator/antlr3
-- ./mkit (will fail after translating grammar files)
-- Load solution in VS2010
-- Rebuild Solution

DOS prompt:

cd "C:\Documents and Settings\developer"

-- "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"
-- use git diff to check there are no differences (comments are diff actually)
--- git diff --ignore-space-at-eol

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


cs2j\NetFramework
cs2j\c2jTranslator\bin
  -- copy from "My Documents\gitrepos\cs2jCentral\CSharpTranslator\antlr3\src\CS2JTranslator\bin\Debug"
     -- delete *vhost*
     -- rename cs2j.exe to cs2j.exe.removeme
cs2j\cs2jlibrary-src-release2010.1.0.13824-197-gfd0bee8   (name changes depending on last tag)
cs2j\cs2j_A_Developer_s_Guide.pdf