I'm trying to access the project.build.directory property which is defined in 
my pom as

  <build>
    <directory>${project.basedir}/target</directory>
....

In ant I have this setup:
<artifact:pom id="project-pom" file="pom.xml" />
<property name="outputdir" value="${project-pom.build.directory}"/>

However when I run my ant build, outputdir is being set to the literal value 
"${project.basedir}/target" rather than antrun expanding the variable 
${project.basedir}.   Has anyone else run into this issue?



________________________________
Disclaimer: http://pragmatrading.com/disclaimer.html

Reply via email to