You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Thomas SMETS <ts...@tsmets.lautre.net> on 2004/04/05 23:45:09 UTC
Re: Use Ant to call a target in a different build.xml
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
<target name="build"
~ description="Build the two projects">
<ant file="${OtherProject.buildFile}" target="build" />
<!-- Place here what's need to build the current project -->
...
</target>
\T,
Anthony Smith wrote:
|I have two projects. I want one of the projects to build the other project.
|Both projects have their on build.xml.
|
|I want to use a target from one build.xml file to call a target in another
|build.xml file.
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFAcdNkARuP5q9xIo8RAsPdAKCM1hXM3ktQK2i41uSayHhNbmfoOgCgpi7Q
8c5N4PvbPrdGjHbNMUCF++A=
=TbCS
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org