ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Soergel <lo...@lorax.org>
Subject Jikes +F option
Date Tue, 28 Mar 2000 07:42:58 GMT
Hi,

I like to use the +F option for jikes, so I added support for it to 
the javac task.  Here's the patch if you'd like to incorporate it.

Also, many tasks are missing explicit support for various options of 
their respective programs: jikes +F is an example, as is jar c0f, 
etc.  Might it make sense to include an options="whatever" attribute 
in every task, which would just pass through to the command line? 
That way you could use less common flags without patching the task.

-David


Index: Javac.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Jav 
ac.java,v
retrieving revision 1.10
diff -r1.10 Javac.java
72a73
>  * <li>fulldeps
93a95
>     private boolean fulldeps = false;
162a165,171
>      * Set the fulldeps flag.
>      */
>      public void setFulldeps(String fulldepsString) {
>         this.fulldeps = Project.toBoolean(fulldepsString);
>      }
>
>     /**
350a360
>               if (fulldeps) { throw new BuildException("Only jikes 
>can do fulldeps"); }
485c495,498
<
---
>         if (fulldeps) {
>             argList.addElement("+F");
>         }
>

____________________________________________________________
David Soergel                                lorax@lorax.org
Department of Genetics                  http://www.lorax.org
Stanford University School of Medicine        (650) 303-5324
____________________________________________________________

Mime
View raw message