None of the classpath elements mentioned in the maven-antrun-plugin docs
work! I echoed them all, none are set. :(

Elements of the classpath are in the project.compileClasspathElements,
project.testClasspathElements, and project.runtimeClasspathElements
properties. However, these are in array form (i.e. [element1, element2,
element3]) rather than classpath form (i.e. element1;element2;element3).

Does anyone know how to get the classpath as a property for Ant?

Thanks,
~Daniel

> -----Original Message-----
> From: Wayne Fay [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 07, 2006 3:24 PM
> To: Maven Users List
> Subject: Re: [M2] Passing properties to ant script
> 
> 
> Not sure about basedir or project.version, but some classpath 
> properties are defined here: 
> http://maven.apache.org/plugins/maven-antrun-plugin/classpaths.html
> 
> Have you tried perhaps maven.project.version? I think that's 
> one. Not sure about basedir.
> 
> If you find a list somewhere else, please post it in the 
> Maven Wiki, a lot of people could benefit from it. And 
> hopefully it would be added to the Antrun-plugin documentation too.
> 
> Wayne

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

Reply via email to