incubator-depot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Chalko <n...@chalko.com>
Subject Version now generates it own version every time.
Date Mon, 26 Apr 2004 02:28:21 GMT
Version now generates its own version every time.

Using Version.java.txt  as a template.

And this ant target

    <target name="hand-stamp" description="Hand create a version stamp">
        <copy 
file="${project.src.dir}/org/apache/depot/version/version/Version.java.txt"
              
tofile="${project.src.dir}/org/apache/depot/version/version/Version.java"
              overwrite="true">
            <filterset>
                <filter token="project.version" 
value="${project.version}" />
            </filterset>
        </copy>
    </target>

R,
Nick



Mime
View raw message