Author: pferraro
Date: 2008-09-23 23:40:24 -0400 (Tue, 23 Sep 2008)
New Revision: 1896
Modified:
trunk/mod_cluster/build-demo.xml
Log:
Fixed demo compile.
Now only demo launch does not work.
Modified: trunk/mod_cluster/build-demo.xml
===================================================================
--- trunk/mod_cluster/build-demo.xml 2008-09-24 01:37:12 UTC (rev 1895)
+++ trunk/mod_cluster/build-demo.xml 2008-09-24 03:40:24 UTC (rev 1896)
@@ -27,9 +27,9 @@
<property name="demo.dependencies.lib"
location="${module.output}/dependencies/lib"></property>
<path id="demo">
- <pathelement location="${demo.dependencies.lib}/*.jar"/>
+ <fileset dir="${demo.dependencies.lib}" includes="*.jar"/>
</path>
-
+
<target name="main" depends="init, compile-demo">
<jar destfile="${demo.output.client}/${demo.client.jar}">
<fileset dir="${demo.output.classes}"
excludes="**/server/**"></fileset>
@@ -48,13 +48,14 @@
<target name="init">
<mkdir dir="${demo.output}"/>
+ <mkdir dir="${demo.output.classes}"></mkdir>
<mkdir dir="${demo.output.client}"/>
<mkdir dir="${demo.output.server}"/>
</target>
<target name="compile-demo">
- <!-- Why doesn't this work? -->
- <!--javac target="${demo.output.classes}"
srcdir="${demo.src.java}" classpathref="demo"/-->
+ <!-- Why doesn't this work without fork? -->
+ <javac destdir="${demo.output.classes}"
srcdir="${demo.src.java}" classpathref="demo"
fork="true"></javac>
</target>
<target name="run-demo" depends="main">
Show replies by date