You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by David Soergel <lo...@lorax.org> on 2000/03/28 09:42:58 UTC
Jikes +F option
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
____________________________________________________________