@echo off java -classpath "C:\JacORB-2.2.4\lib\idl.jar;C:\JacORB-2.2.4\lib\logkit-1.2.jar;%CLASSPATH%" org.jacorb.idl.parser %*
修改后【我自己的版本】:
@echo off rem @JAVA_CMD@ -classpath "@JACORB_HOME@/lib/idl.jar;@JACORB_HOME@/lib/logkit-1.2.jar;%CLASSPATH%" org.jacorb.idl.parser %*
set JACORB_HOME=D:/Programming/JAR/JacORB/JacORB-2.2.4 set JAVA_HOME=D:/Programming/JDK/jdk1.6.0_31 set path=%JAVA_HOME%/bin;%path% set CLASSPATH=%JAVA_HOME%/lib/rt.jar set CLASSPATH=%JACORB_HOME%/lib/antlr-2.7.2.jar;%JACORB_HOME%/lib/avalon-framework-4.1.5.jar;%JACORB_HOME%/lib/concurrent-1.3.2.jar;%JACORB_HOME%/lib/idl.jar;%JACORB_HOME%/lib/jacorb.jar;%JACORB_HOME%/lib/logkit-1.2.jar;%JACORB_HOME%/lib/picocontainer-1.2-021105.jar;%JACORB_HOME%/lib/wrapper-3.1.0.jar;%JACORB_HOME%/classes;%CLASSPATH% %JAVA_HOME%/bin/java -cp %CLASSPATH% org.jacorb.idl.parser %*
D:\Programming\JAR\JacORB\JacORB-2.2.4\bin>idl -h -h|help these few lines of help -v|version print version information -d dir root of directory tree for output -Dx define preprocessor symbol x with value 1 -Dx=y define preprocessor symbol x with value y -Idir set include path for idl files -U<symbol> undefine preprocessor symbol -W [1..4] debug level -all generate code for all IDL files, even included ones -forceOverwrite generate code even if IDL has not changed -ami_callback generate AMI reply handlers and sendc methods -ami_polling generate AMI poller and sendp methods -backend classname use classname as code generator -i2jpackage x:a.b.c replace IDL package name x by a.b.c in generate d Java code (e.g. CORBA:org.omg.CORBA) -i2jpackagefile <filename> replace IDL package names using list fr om <filename>. Format as above. -ir generate information required by the Interface Repositor y -nofinal generated Java code will contain no final class definiti ons -unchecked_narrow use unchecked_narrow in generated code f or IOR parameters in operations -noskel disables generation of POA skeletons -nostub disables generation of client stubs -cldc10 code generation compatible with J2ME/CLDC 1.0 -sloppy_forward allow forward declarations wo. later definitions -sloppy_names less strict checking of module name scoping -permissive_rmic tolerate dubious IDL generated by JDK's rmic, in cludes -sloppy_names. -syntax syntax check only, no code generation <filelist>