On Tue, 2001-12-18 at 13:17, Mark McMillan wrote:
> 
> 
> Now I want a another target that builds all our app-server specific code, 
> "ant all".  So the ALL target is defined like:
> 
>    <target name="all" depends="init, compile">
>      ... do some prep work here...
>      <antcall target="borland"/>
>      <antcall target="weblogic"/>
>      ...
>    </target>
> 
> I cannot just list "borland, weblogic" in the depends= property because I 
> have to do some processing (specific to the ALL target) before those 
> targets are run.

I've not seen the rest of this thread so please ignore if I'm talking
rubbish, but can you not just have something like this:

<target name="all" depends="init, compile">
  baa
</target>

<target name="borland" depends="all">
  baa
</target>

<target name="weblogic" depends="all">
  black sheep
</target>


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

Reply via email to