it seems this is a known bug in maven-ant-tasks 2.1.0: http://jira.codehaus.org/browse/MANTTASKS-179
please confirm that you don't have the problem when using maven-ant-tasks 2.0.9 Regards, Hervé Le jeudi 15 juillet 2010, Adam Krieg a écrit : > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org