You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Kevin Jackson <fo...@gmail.com> on 2007/03/13 10:02:14 UTC
${project.version} filtering in the poms
Hi all,
I see this :
<copy todir="${dist.lib}">
<fileset dir="${src.dir}/etc/poms">
<include name="*/pom.xml"/>
</fileset>
<mapper type="regexp" from="^(.*)[/\\]pom.xml"
to="\1-${project.version}.pom"/>
<filterchain>
<tokenfilter>
<replaceregex pattern="${pom.version}"
replace="${project.version}"/>
</tokenfilter>
</filterchain>
</copy>
In the build.xml, but the pom.xml files don't contain a token :
<version>1.7.1-SNAPSHOT</version>
So is this something missing or is this intentional and I should leave alone?
Kev
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org