ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guy Catz <>
Subject calling ANT or Depends?
Date Wed, 25 Jun 2008 13:38:03 GMT
I want to run the most trivial build process -
init, and - clean, compile, sendReport which depend on init.

Now, I've wrote a MAIN target -
<target name="MAIN">
    <ant ...     clean />
    <ant ...     compile />

    <if result is ok, then prepare something>

    <ant ...     sendReport />

The problem - init is being called three times.

I know that the best way to do it is <target name="main" depends="init, clean, compile,
sendReport" />

but the problem is that I have to do something between the compile and the sendReport targets.

how can I accomplish this?

Please advise.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message