1
0
mirror of https://github.com/twiglet/cs2j.git synced 2025-01-18 13:15:17 +01:00

tidyup for release

This commit is contained in:
Kevin Glynn 2011-11-27 11:37:46 +01:00
parent 7f8a732e66
commit 445f387144
4 changed files with 74 additions and 1 deletions

View File

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

View File

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

View File

@ -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\

View File

@ -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 <iniFile>] (read settings from <iniFile>, overriden from command line");
Console.Out.WriteLine(" [-D <macroVariable>] (define C# preprocessor <macroVariable>, 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)");