Worked perfectly! Thank you!

Graham Leggett wrote:
> 
> amidrunk wrote:
> 
>> I need to use maven's ant tasks from an ant file called by maven. I use
>> the
>> maven-antrun-plugin to call the ant file, and then I use the ant file to
>> copy maven dependencies into a folder. The ant file works on its own, but
>> when called from maven, I get a class loader problem or something;
>> org.apache.tools.ant.Task can't be found.
>> 
>> Any idea how to solve this? I would prefer to declare ant as a dependency
>> and then add that dependency to the class path of the antrun plugin, or
>> something like that.
> 
> The maven-dependency-plugin can be configured to copy maven dependencies 
> into a folder without ant being involved at all. You might be able to 
> work around the ant problem by using the dependency plugin for this.
> 
> Regards,
> Graham
> --
> 
>  
> 

-- 
View this message in context: 
http://www.nabble.com/Maven-and-Ant-tp16677068s177p16720008.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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

Reply via email to