<ant file = "whatever.xml" target = "the_target" />

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:


<ant antfile="task_file.xml">

<!-- how do I make a task call ? -->

</ant>



task_file.xml

<project>

<target name="test_hi">

<echo message="hi" />

</target>

</project>



Any example similar to this is appreciated also.

Thanks


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to