ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: the ant task and targets
Date Fri, 13 Jul 2001 11:54:19 GMT
On Fri, 13 Jul 2001, Klara Ward <klara.ward@debitech.com> wrote:

> I tried asking this before without any answer, but I'll try agian:

I'm sure I've answered it the first time - you can always use
-Dtarget=whatever on the command line when y<ou invoke your outer
build file.

Another option (and I didn't include it in my first answer:

For each target in otherbuildfile.xml you want to call, add a target
to your wrapper build file like this

<target name="compile">
  <antcall target="build">
    <param name="target" value="compile" />
  </antcall>
</target>

Stefan

Mime
View raw message