maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Rudolf <arud...@gmx.com>
Subject Re: maven-antrun-plugin
Date Thu, 04 Oct 2007 11:07:51 GMT

Hi,
I tried to use this feature, but with no success.
Neither "if" nor "unless" work.

I tried Version 1.1 and 1.2-SNAPSHOT of antrun-plugin.

Is there somewhere a successstory about this <tasks> attributes?

Regards
Andreas


Michael Meyer-5 wrote:
> 
> 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
> 
> robert.egan@aciworldwide.com 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 | michael.meyer@netcetera.ch
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/maven-antrun-plugin-tf4272816s177.html#a13037744
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message