ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Jackson" <foamd...@gmail.com>
Subject ${project.version} filtering in the poms
Date Tue, 13 Mar 2007 09:02:14 GMT
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


Mime
View raw message