diff --git a/CSharpTranslator/antlr3/docs/release b/CSharpTranslator/antlr3/docs/release index af51409..0549c03 100644 --- a/CSharpTranslator/antlr3/docs/release +++ b/CSharpTranslator/antlr3/docs/release @@ -17,6 +17,13 @@ git bash: copy archives from "C:\Documents and Settings\developer\build" to ""C:\Documents and Settings\developer\My Documents" and unpack. +*********** +* 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 +********** * + + DOS prompt: cd "C:\Documents and Settings\developer\My Documents\cs2j-2011.1.2\cs2j-2011.1.2" diff --git a/CSharpTranslator/antlr3/sampleconfigs/strickland.ini b/CSharpTranslator/antlr3/sampleconfigs/strickland.ini new file mode 100644 index 0000000..27bc3c4 --- /dev/null +++ b/CSharpTranslator/antlr3/sampleconfigs/strickland.ini @@ -0,0 +1,65 @@ +;; This Configuration file shows all user-settable configuration options for CS2J with their default values. +[General] + +; Debug / Verbosity flags +verbose = 0 +debug = 1 +debug-template-extraction = true + +; Control warnings +warnings = true +warnings-resolve-failures = false + +; Dump internal structures during translation +show-csharp = false +show-javasyntax = false +show-java = false +show-tokens = false + +; Preprocessor tokens +define = + +; Output enum list, parsed translation files +dump-enums = false +out-enum-dir = + +dump-xmls = true +out-xml-dir = /Users/keving/tmp/xml/strickland + +; Source and output for translation files and templates +cheat-dir = + +net-templates-dir = /Users/keving/gitrepos/cs2j/CS2JLibrary/NetFramework/ +ex-net-templates-dir = + +app-dir = /Users/keving/Clients/Strickland +ex-app-dir = + +cs-dir = /Users/keving/Clients/Strickland +ex-cs-dir = + +out-java-dir = /Users/keving/tmp/java/strickland/src + +; Enable Alternate Translation Templates +alt-translations = + +; Boolean flags +keep-parens = false +timestamp-files = false +blanket-throw = true +exception-is-throwable = false +make-javadoc-comments = true +make-java-naming-conventions = true + +; These are experimental settings. +; They may change (or disappear, or move to General section, or ....) in future releases +[Experimental] +enums-to-numeric-consts = false +unsigned-to-signed = false +unsigned-to-bigger-signed = false +transforms = false + +; These are internal settings used for development. +; You should not need (or want) to touch them. +[Internal] +isjavaish = false diff --git a/CSharpTranslator/antlr3/sampleconfigs/winsecs2j.ini b/CSharpTranslator/antlr3/sampleconfigs/winsecs2j.ini index 1d5ac6a..0105c38 100644 --- a/CSharpTranslator/antlr3/sampleconfigs/winsecs2j.ini +++ b/CSharpTranslator/antlr3/sampleconfigs/winsecs2j.ini @@ -29,7 +29,7 @@ out-xml-dir = Z:\keving\tmp\xml\se ; Source and output for translation files and templates cheat-dir = -net-templates-dir = Z:\keving\gitrepos\cs2j\CS2JLibrary\NetFramework\ICSharpCode|Z:\keving\gitrepos\cs2j\CS2JLibrary\NetFramework\System +net-templates-dir = Z:\keving\gitrepos\cs2j\CS2JLibrary\NetFramework\ ex-net-templates-dir = app-dir = Z:\keving\svnrepos\ScormEngineNet\src\app\ScormEngine.Core\ diff --git a/CSharpTranslator/antlr3/src/CS2JTranslator/CS2JMain/CS2JMain.cs b/CSharpTranslator/antlr3/src/CS2JTranslator/CS2JMain/CS2JMain.cs index c1636cc..379d7cb 100644 --- a/CSharpTranslator/antlr3/src/CS2JTranslator/CS2JMain/CS2JMain.cs +++ b/CSharpTranslator/antlr3/src/CS2JTranslator/CS2JMain/CS2JMain.cs @@ -60,6 +60,7 @@ namespace Twiglet.CS2J.Translator Console.Out.WriteLine("Usage: " + Path.GetFileNameWithoutExtension(System.Environment.GetCommandLineArgs()[0])); Console.Out.WriteLine(" [-help] (this usage message)"); Console.Out.WriteLine(" [-v] (be [somewhat more] verbose, repeat for more verbosity)"); + Console.Out.WriteLine(" [-config ] (read settings from , overriden from command line"); Console.Out.WriteLine(" [-D ] (define C# preprocessor , option can be repeated)"); Console.Out.WriteLine(" [-show-tokens] (the lexer prints the tokenized input to the console)"); Console.Out.WriteLine(" [-show-csharp] [-show-javasyntax] [-show-java] (show parse tree at various stages of the translation)");