Hi
in the example[1] they use unless="maven.test.skip" and not
unless="${maven.test.skip}". Just a guess...
Cheers, michael
[1]
http://maven.apache.org/plugins/maven-antrun-plugin/examples/tasksAttributes.html
[EMAIL PROTECTED] wrote:
Do the if and/or unless attributes of the <tasks> element actually work?
It seems that my ant code gets run no matter what.
<plugins>
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<phase>install</phase>
<configuration>
<tasks if="${XXXXXXXXXX}"> <!-- runs even if i change to unless
-->
<echo>Echo here</echo>
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
Robert Egan
This email message and any attachments may contain confidential,
proprietary or non-public information. The information is intended solely
for the designated recipient(s). If an addressing or transmission error
has misdirected this email, please notify the sender immediately and
destroy this email. Any review, dissemination, use or reliance upon this
information by unintended recipients is prohibited. Any opinions
expressed in this email are those of the author personally.
--
Michael Meyer | [EMAIL PROTECTED]
phone +41-44-247 79 12 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]