You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/06/02 11:05:10 UTC

DO NOT REPLY [Bug 20408] New: - Allow passing arguments to javac globally

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20408>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20408

Allow passing arguments to javac globally

           Summary: Allow passing arguments to javac globally
           Product: Ant
           Version: 1.5.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Core tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: jbecicka@netbeans.org


I wanted to compile my project with non-standard
javac options.
The simplest way, I found, was to create a
CompilerAdapter.

Usage is simple:

ant
-Dbuild.compiler=org.netbeans.nbbuild.NbJavacExternal
-Dbuild.compiler.params=-param1,-param2

If you find my adapter useful, feel free to add it
to CVS.