Hello all,
I have noticed some weirdness in ant mojos. If you define properties in the pom.xml that get passed to the ant script through the ant mojo, then you cannot access those properties except inside of targets. In other words, if I have a property in my ant script like this at the top (not in a <target>):

<property name="apollo.war.dir" value="${build.dir}/${name}-${version}" />

An I want to to be able to specify ${name} and ${version}, I cannot do this. I have to wait until I am inside of a <target> to be able to refer to ${name} and ${version}.

Has anyone else seen this problem? If someone else agrees, I will put it as a bug, or at least an enhancement into JIRA.

-Ben

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to