Author: remy.maucherat(a)jboss.com
Date: 2008-10-28 17:56:15 -0400 (Tue, 28 Oct 2008)
New Revision: 824
Modified:
trunk/build.xml
Log:
- Add a test target, which builds the bayeux test.
Modified: trunk/build.xml
===================================================================
--- trunk/build.xml 2008-10-28 15:51:50 UTC (rev 823)
+++ trunk/build.xml 2008-10-28 21:56:15 UTC (rev 824)
@@ -813,4 +813,30 @@
</jar>
</target>
+ <target name="tests">
+ <antcall target="downloadgz">
+ <param name="sourcefile" value="${dojo-js.loc}"/>
+ <param name="destfile" value="${dojo-js.jar}"/>
+ </antcall>
+
+ <mkdir dir="${tomcat.build}/webapps/cometd"/>
+ <mkdir dir="${tomcat.build}/webapps/cometd/WEB-INF/classes"/>
+ <copy todir="${tomcat.build}/webapps/cometd">
+ <fileset dir="${basedir}/test/webapps/cometd">
+ </fileset>
+ <fileset dir="${dojo-js.home}">
+ <include name="dojo/**"/>
+ <include name="dojox/**"/>
+ </fileset>
+ </copy>
+ <javac srcdir="${basedir}/test/java"
destdir="${tomcat.build}/webapps/cometd/WEB-INF/classes"
+ debug="${compile.debug}"
+ deprecation="${compile.deprecation}"
+ source="${compile.source}"
+ optimize="${compile.optimize}"
+ classpath="${tomcat.classes}">
+ <include name="org/apache/cometd/**" />
+ </javac>
+ </target>
+
</project>
Show replies by date