Oh, I so your old answer now as well.
The first solution you suggested is probably a little more flexible than the
other.
Thanks, Klara
> -----Original Message-----
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]]
> Sent: den 13 juli 2001 13:54
> To: [EMAIL PROTECTED]
> Subject: Re: the ant task and targets
>
>
> On Fri, 13 Jul 2001, Klara Ward <[EMAIL PROTECTED]> 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
>