You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by hanasaki <ha...@hanaden.com> on 2004/03/30 06:05:00 UTC
ANT - subant task with directory ordering
The Ant docs say;
"
Note that the directories will be added to the build path in no
particular order, so if order is significant, one should use a file list
instead!
"
Could this be changed to be deterministic and based on the natural
ordering of the String class?
Why am I asking / suggesting this? I have several directories that need
to be evaluated in order and wish to use the unix style:
0100_name1
0200_name2
that has proven very useful. For a specific example of this, checkout
the Debian linux package for its Exim mail MTA.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
How to compile web applications using JSPC with ant?
Posted by Baz <ba...@goodconsultants.com>.
All,
I am trying to compile web applications using JSPC in ant. After reading the
article:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jasper-howto.html
Copying the script, I have the following errors. What have i done wrong or
missing?
Thanks.
Barry
jspc:
No public execute() in class org.apache.jasper.JspC
BUILD FAILED
/home/barry/p4/main/server/src/java/policyServer/build.xml:155: No public
execut
e() in class org.apache.jasper.JspC
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
Re: ANT - subant task with directory ordering
Posted by Stefan Bodewig <bo...@apache.org>.
On Mon, 29 Mar 2004, <ha...@hanaden.com> wrote:
> Could this be changed to be deterministic and based on the natural
> ordering of the String class?
Not easily.
One way a user can do that without any modification to Ant, is by
providing a subclass of <path> that takes a nested <fileset> (Path
already does that) and orders the contents of it.
After that, use <typedef> to make your Path subclass known, say
<typedef classname="org.example.Path" name="mypath"/>
and then use your subclass in <subant>
<subant ...>
<path ant-type="mypath">
<fileset .../>
</path>
</subant>
Stefan
--
http://stefanbodewig.blogger.de/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org