ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Z W" <mpc8...@gmail.com>
Subject Calling task in another xml file from main build file
Date Wed, 12 Dec 2007 23:25:30 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message