You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by JC Walmetz <jc...@yahoo.fr> on 2006/11/08 17:22:06 UTC

Re: Ant-based Mojo and Classpath

Hi,

I have the same problem. Did someone find a solution ?


Wilfred Springer wrote:
> 
> Hi all,
> 
> I'm trying to implement a plugin based on the mechanism described here
> (http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html)
> and I can't figure out how to add a libraries to the Ant classpath. Does
> anybody have a clue?
> 
> Using these properties:
> 
> 
>       * maven.dependency.classpath
>       * maven.compile.classpath
>       * maven.runtime.classpath
>       * maven.test.classpath
>       * maven.plugin.classpath
> 
> 
> doesn't work.
> 
> Thanks,
> 
> Wilfred
> 
> 

-- 
View this message in context: http://www.nabble.com/Ant-based-Mojo-and-Classpath-tf1813464s177.html#a7241564
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


SV: Ant-based Mojo and Classpath

Posted by Hermod Opstvedt <he...@opstvedt.com>.
Hi

You can use the was-plugin-anttasks in the codehaus sandbox. I wrote an ant
task that will get the dependencies from your project and transform them
into a classpath list in Ant. If you want to look at how it is used, look at
the was5-maven-plugin.

Hermod


-----Opprinnelig melding-----
Fra: JC Walmetz [mailto:jc7442@yahoo.fr] 
Sendt: 8. november 2006 17:22
Til: users@maven.apache.org
Emne: Re: Ant-based Mojo and Classpath


Hi,

I have the same problem. Did someone find a solution ?


Wilfred Springer wrote:
> 
> Hi all,
> 
> I'm trying to implement a plugin based on the mechanism described here
> (http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html)
> and I can't figure out how to add a libraries to the Ant classpath. Does
> anybody have a clue?
> 
> Using these properties:
> 
> 
>       * maven.dependency.classpath
>       * maven.compile.classpath
>       * maven.runtime.classpath
>       * maven.test.classpath
>       * maven.plugin.classpath
> 
> 
> doesn't work.
> 
> Thanks,
> 
> Wilfred
> 
> 

-- 
View this message in context:
http://www.nabble.com/Ant-based-Mojo-and-Classpath-tf1813464s177.html#a72415
64
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


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