More about command line options and a hint for Windows 95 users: If want to see the error messages produced by Demeter/Java, you need to set the -tie flag. There seems to be no way to redirect sterr in Windows 95. But you can redirect stout. -- Karl L. From dougo@ccs.neu.edu Fri Oct 10 09:58:17 1997 From: Doug Orleans To: Karl Lieberherr Cc: dem@ccs.neu.edu, lblando@ccs.neu.edu Subject: Re: demjava options Karl Lieberherr writes: > We need to put a description of all the options of demjava into > the resources page. Please can you quickly write one which > will then also go into the manual. Here are all the options currently supported. Only an unambiguous prefix of the option name is needed, e.g. "-pr" generates the PrintVisitor, but "-p" is an error because it might mean "-parser". -version print version number and exit -code generate .java files -aspect generate .asp files (core aspect, for weaver) -grammar generate grammar.jj file -parser compile generated grammar.jj file to .java files -compile compile generated .java files to .class files [If neither -code nor -grammar is specified, they are both assumed.] -outputdir dir directory which holds all generated files -classdir dir directory which holds all .class files -printvisitor generate PrintVisitor -displayvisitor generate DisplayVisitor -tracevisitor generate TraceVisitor -copyvisitor generate CopyVisitor -equalvisitor generate EqualVisitor [Any of above imply generation of UniversalVisitor and the universal traversal.] -tao generate TAOVisitor and TAO support -debug print debugging info for TAO -tie tie stderr output to stdout file.cd class dictionary file file1.beh ... adaptive behavior files prog name of program [implies prog.cd and prog.beh] The option interface is due for an overhaul-- let me know if you have any comments or suggestions for it. My current plan is to use a system like JavaCC's, where all options are of the form "-foo[=value]" and you can specify options either on the command line or in a file (the .cd file maybe?) inside an "options { ... }" block. --Doug