Update of /cvsroot/proxool/proxool
In directory sc8-pr-cvs1:/tmp/cvs-serv5053
Modified Files:
build.xml
Log Message:
now supports versioning of Version.java
Index: build.xml
===================================================================
RCS file: /cvsroot/proxool/proxool/build.xml,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** build.xml 18 Dec 2002 23:39:51 -0000 1.19
--- build.xml 15 Jan 2003 23:55:05 -0000 1.20
***************
*** 27,31 ****
<!-- Current version -->
! <property name="version" value="CVS"/>
<!-- Log4J configuration to use for testing. See proxool-ant.properties
--- 27,31 ----
<!-- Current version -->
! <property name="version" value="0.5.2003.1.15"/>
<!-- Log4J configuration to use for testing. See proxool-ant.properties
***************
*** 50,53 ****
--- 50,54 ----
name="init"
>
+ <tstamp/>
<mkdir dir="${build-dir}/src/java" description="make source directory" />
<mkdir dir="${build-dir}/etc"/>
***************
*** 135,138 ****
--- 136,146 ----
<antcall target="build-src-jdk1.2"/>
<antcall target="build-src-test"/>
+
+ <replace
+ file="${build-dir}/src/java/org/logicalcobwebs/proxool/Version.java"
+ token="RELEASE = null"
+ value='RELEASE = "${version} (${TODAY})"'
+ />
+
</target>
***************
*** 216,219 ****
--- 224,228 ----
<java fork="yes" classpathref="classpath" classname="junit.textui.TestRunner" >
<sysproperty key="log4jPath" value="${log4jPath}" />
+ <sysproperty key="script" value="${script}" />
<arg value="org.logicalcobwebs.proxool.GlobalTest" />
</java>
|