diff --git a/CSharpTranslator/antlr2/build.properties b/CSharpTranslator/antlr2/build.properties index 2a474dc..6bbfd33 100644 --- a/CSharpTranslator/antlr2/build.properties +++ b/CSharpTranslator/antlr2/build.properties @@ -25,32 +25,16 @@ cs2jtx.build.dir=${build.dir}/cs2jtx cs2jtx.exe= ${cs2jtx.bin.dir}/Translator.exe #cs2jtx.exe= ${basedir}/../bin/Translator.exe - -#whichbranch=AmazonBranch -whichbranch=TrunkBranch - - - -# Sources, by default these are sibling directories of this script -#cs2j.dir=${basedir}/../../AmazonBranch/CS2JLibrary -#cheats.dir=${basedir}/../AmazonBranch/Cheats - -cs2j.dir=${basedir}/../../${whichbranch}/CS2JLibrary -cheats.dir=${basedir}/../${whichbranch}/Cheats +# by default, sibling directory to Translator +cs2j.dir=${basedir}/../../CS2JLibrary/NetTranslations +cheats.dir=${basedir}/../../Cheats # Directories to build into, against -cs.app.name=ScormEngineNetTrunk -#cs.app.name=Amazonsimpledb4thed -#cs.app.dir=${user.home}/My Documents/gitrepos/${cs.app.name}/src/app/ScormEngine.Core -cs.app.dir=${user.home}/My Documents/Visual Studio 2005/Projects/${cs.app.name}/src/app/ScormEngine.Core -# Set cs.tx.project if you want to translate a subset of the application -#cs.tx.project=ScormEngine.Core/Logic -cs.tx.project=Logic -cs.tx.dir=${cs.app.dir}/${cs.tx.project} +# If no cs.app.dir set make it equal to cs.tx.dir +cs.app.dir=${cs.tx.dir} # Object of the translation, by default in the build area -#java.output.dir=${user.home}/My Documents/AmazonBranch/RusticiSoftware.ScormContentPlayer.Logic/src -java.output.dir=${user.home}/My Documents/${whichbranch}/RusticiSoftware.ScormContentPlayer.Logic/src +java.output.dir=${build.dir}/javaproject/src diff --git a/CSharpTranslator/antlr2/build.xml b/CSharpTranslator/antlr2/build.xml index 4fcf505..8b79411 100644 --- a/CSharpTranslator/antlr2/build.xml +++ b/CSharpTranslator/antlr2/build.xml @@ -3,13 +3,9 @@ This script builds the cs2j translator and translates C# code - - - - - - + + @@ -17,38 +13,53 @@ - - - - - - - - - - -