Hello,

 I solved the problem by following trick :

<tasks>
                <exec executable="ant" failonerror="true"/>
</tasks>

that is ti say I use the ant version that is installed on my computer. But it is
not very portable ...

another question : 

is it possible to execute several ant tasks in the same pom ?
when I try to define several <execution> tags (for different compilation phases,
for instance compile and clean), I only get error messages.

pierre

Quoting Dave Syer <[EMAIL PROTECTED]>:

> 
> > How is it possible to tell the plugin to use more libraries ? for
> instances
> the
> > ones that are present in $ANT_HOME/lib/ ?
> 
> I don't know about $ANT_HOME/lib (maven isn't using $ANT_HOME so it probably
> isn't going to see those jars).  Have you tried adding dependencies to the
> plugin in your <build> element?
> -- 
> View this message in context:
>
http://www.nabble.com/getting-the-sources-and-javadocs-tf2141673.html#a5930104
> Sent from the Maven - Users forum at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Pierre Parrend
doctorant, moniteur
laboratoire CITI, 21, Av. Jean Capelle
69621 Villeurbanne Cedex
[EMAIL PROTECTED]
www.rzo.free.fr

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

Reply via email to