- <target name="compile-server">
- <mkdir dir="www/webapps/classes/"/>
- <mkdir dir="www/webapps/lib/"/>
- <javac destdir="www/webapps/classes/" deprecation="no">
- <src path="www/src/"/>
- <classpath refid="classpath"/>
- </javac>
+ <target name="newbuild" depends="compile">
+ <taskdef name="build-id" classname="org.xwt.tasks.BuildIdTask">
+ <classpath path="bin/"/>
+ </taskdef>
+ <build-id/>
+ <bash> cvs commit -m "automatically updated build-id via org.xwt.tasks.BuildIdTask" build.properties </bash>
+ <property file="build.properties"/>
+
+ <mkdir dir="www/html/dist/"/>
+
+ <!-- rebuild distributions -->
+ <property name="plat" value="Win32"/>
+ <ant dir="." antfile="src/org/xwt/plat/Win32.xml" target="build"/>
+ <ant dir="." antfile="src/org/xwt/plat/Win32.xml" target="dist"/>
+ <property name="plat" value="Java2"/>
+ <ant dir="." antfile="src/org/xwt/plat/Java12.xml" target="build"/>
+ <ant dir="." antfile="src/org/xwt/plat/Java12.xml" target="dist"/>
+<!--
+ <property name="plat" value="Linux"/>
+ <ant dir="." antfile="src/org/xwt/plat/Linux.xml" target="build"/>
+ <ant dir="." antfile="src/org/xwt/plat/Linux.xml" target="dist"/>
+-->
+ <!-- sign stuff -->
+ <bash> /home/megacz/bin/sign/sign ${build-id} </bash>