Ignore what I said below. I didn't read what you was trying to do right.
:)
Can you not do something like:

<target name="all" depends="init, compile, prep_work, borland,
weblogic"/>

-----Forwarded Message-----

From: Paul Spillman - Software Engineer - Sun UK <[EMAIL PROTECTED]>
To: Ant Developers List <[EMAIL PROTECTED]>
Subject: RE: Dependency analysis
Date: 18 Dec 2001 13:38:08 +0000

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