ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Schmitt" <>
Subject Re: Two consequtive ifs
Date Thu, 28 Dec 2000 13:46:15 GMT
From: "Ceki Gulcu" <>
Subject: Two consequtive ifs

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

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

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

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

Stefan S

View raw message