I'm fairly certain you may be able to avoid the duplication...
From the documentation for javac,
"This task forms an implicit FileSet and supports most attributes of
<fileset> (dir becomes srcdir) as well as the nested <include>, <exclude>
and <patternset> elements."
You can probably come up with a way to reuse the notation... I'd have to
give it some more thought...
On Fri, 9 Mar 2012, Noam Postavsky wrote:
On Fri, Mar 9, 2012 at 10:18 AM, Scot P. Floess <sflo...@nc.rr.com> wrote:
<jpp-javac-convert>
<additional>
<exclude .../>
</additional>
<post>
<delete dir="foo"/>
</post>
</jpp-javac-convert>
Arguably, a little uglier notation...
I'm not worried about notation, but I'd like to avoid repetition;
using this method I would need to do repeat every excluded class name
twice: once for the source, and once for the class file.
<jpp-javac-convert>
<exclude-src>
<exclude name="**/Class1.java" />
...
</exclude-src>
<rm-class>
<delete file="**/Class1.class" />
...
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org
Scot P. Floess RHCT (Certificate Number 605010084735240)
Chief Architect FlossWare http://sourceforge.net/projects/flossware
http://flossware.sourceforge.net
https://github.com/organizations/FlossWare
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org