ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 41349] - rmic should strip out -J compiler args when not forking
Date Thu, 11 Jan 2007 13:27:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41349>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41349





------- Additional Comments From stevel@apache.org  2007-01-11 05:27 -------
You can increase the memory for rmic when ompiler=forking with a JVM option
          <compilerarg value="-J-mx256m" />

But run that in non-forking, and you get told off


rmi:
     [rmic] RMI Compiling 127 classes to
/home/slo/Projects/SmartFrog/Forge/core/smartfrog/build
     [rmic] -J-mx256m is an invalid option or argument.
     [rmic]
     [rmic] Usage: rmic <options> <class names>
     [rmic]
     [rmic] where <options> includes:
     [rmic]   -keep          Do not delete intermediate generated source files 
   [rmic]   -keepgenerated (same as "-keep")
     [rmic]   -v1.1          Create stubs/skeletons for 1.1 stub protocol version
     [rmic]   -vcompat       Create stubs/skeletons compatible with both
     [rmic]                            1.1 and 1.2 stub protocol versions
     [rmic]   -v1.2          (default) Create stubs for 1.2 stub protocol
version only
     [rmic]   -iiop          Create stubs for IIOP. When present, <options> also
includes:
     [rmic]
     [rmic]                    -always           Create stubs even when they
appear current
     [rmic]                    -alwaysgenerate   (same as "-always")
     [rmic]                    -nolocalstubs     Do not create stubs optimized
for same process
     [rmic]
     [rmic]   -idl           Create IDL. When present, <options> also includes:
     [rmic]
     [rmic]                    -noValueMethods   Do not generate methods for
valuetypes
     [rmic]                    -always           Create IDL even when it appears
current
     [rmic]                    -alwaysgenerate   (same as "-always")
     [rmic]
     [rmic]   -g             Generate debugging info
     [rmic]   -nowarn        Generate no warnings
     [rmic]   -nowrite       Do not write compiled classes to the file system
     [rmic]   -verbose       Output messages about what the compiler is doing
     [rmic]   -classpath <path>      Specify where to find input class files
     [rmic]   -bootclasspath <path>  Override location of bootstrap class files
     [rmic]   -extdirs <path>        Override location of installed extensions 
   [rmic]   -d <directory>         Specify where to place generated class files
     [rmic]   -J<runtime flag>       Pass argument to the java interpreter
     [rmic]

The non forking rmi compiler adapter must strip out all -J args (maybe with a
hint) before running the in-vm compiler.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message