ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Schmitt" <sschm...@raleigh.ibm.com>
Subject Re: Two consequtive ifs
Date Thu, 28 Dec 2000 13:46:15 GMT
From: "Ceki Gulcu" <cgu@urbanet.ch>
Subject: Two consequtive ifs

Hi
I do not have a smart solution. It's only a quick hack.
You can call your compile target from another target like the following
sample

<target name="first" if="firstprop">
    <antcall target="second"/>
</target>

<target name="second" if="secondprop">
    .....
</target>


The target named second is accessed if firstprop and secondprop are set.

Yours
Stefan S


Mime
View raw message