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]
