You should be more precise with the terms "tasks" and "targets" ...
There are multiple options to call external defined collections of tasks:
1. or
Calls the specified (one or multiple) targets in another buildfile.
2.
Calls the specified target in multiple other buildfiles.
3.
Impor
question regarding rexec task , how I can build dymically the classpath used by
this task ? it required commons-net-xx.jar
I want to avoid to put the dependency jars in the ant lib. I tried to redefine
the task and use a user defined classpath but it seems the task is still using
the main ant
Eric,
We create an almost-Java source file, e.g., Version.txt, containing
replacement targets. We extract version information from Subversion (or
ClearCase, etc.) into a property with Ant, which we then in an
Ant from Version.txt to Version.java. The advantages of this
approach are (1) th
http://ant.apache.org/manual/CoreTasks/ant.html
Francisco
On Dec 12, 2007, at 3:25 PM, Z W wrote:
Hi
I have multiple tasks and I like to move a few tasks into another
xml file.
What's the syntax to call another task in another xml file from the
original
buildfile ?
Eg:
task_f
Hi
I have multiple tasks and I like to move a few tasks into another xml file.
What's the syntax to call another task in another xml file from the original
buildfile ?
Eg:
task_file.xml
Any example similar to this is appreciated also.
Thanks
Warning: selected war files include a WEB-INF/web.xml which will be
ignored (please use webxml attribute to war task)
I've googled this warning without a lot of results.
I have currently have the web.xml in the WEB-INF directory, so is this
error thrown because I'm trying to overwrite the web.xml
Please forget me for this question, I've never used the war task before
and I'm looking at example at:
http://www.java-tips.org/other-api-tips/ant/how-to-use-war-task.html
I have a directory labeled "resources" and I have ten .gif files.
To include the .gif files, I must use the zipfileset task