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 On 3/7/06, Siegmann Daniel, NY <[EMAIL PROTECTED]> wrote: > Thanks, I have another question though. Where can I find a list of > properties which are predefined in Maven 2 (such as basedir or > project.version)? I looked around on the Maven website but didn't see > anything. > > ~Daniel > > > -----Original Message----- > > From: Roland Bali [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, March 07, 2006 1:42 PM > > To: Maven Users List > > Subject: Re: [M2] Passing properties to ant script > > > > > > Hi Daniel, > > > > This is a example from a POM of mine: > > > > <property name="project.version" value="${project.version}"/> > > <ant antfile="${basedir}/src/main/misc/build.xml"/> > > > > It creates the variable project.version inside the Ant script. > > > > This parameter should be available to the Ant script but > > isn't because of a bug (if I'm not mistaken). Anyway this > > setup works for me. > > > > /Roland > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
