Is there an Ant equivalent to the concept of "profile" in Maven?
I want to specify a different set of build targets (from one Ant file) depending on the argument. So in Maven, I can specify a profile and then activate it like this:mvn groupId:artifactId:goal -Denvironment=test
So say my build.xml contains:
<target name="profile1">...</>
and
<target name="profile2">...</>
How can I specify at compile time which I want to execute?
Cuga source
share