You are viewing a plain text version of this content. The canonical link for it is here.
Posted to muse-commits@ws.apache.org by da...@apache.org on 2007/01/03 01:00:28 UTC

svn commit: r491977 - /webservices/muse/trunk/samples/j2ee/build.xml

Author: danj
Date: Tue Jan  2 16:00:27 2007
New Revision: 491977

URL: http://svn.apache.org/viewvc?view=rev&rev=491977
Log:
Added 'run' task that will allow users to run the test clients for all samples. Users specify the name of the client 
class on the command line with a property called 'main' (-Dmain=org.apache.muse.test.TestClient, etc). I will update 
the sample docs to describe this.

Modified:
    webservices/muse/trunk/samples/j2ee/build.xml

Modified: webservices/muse/trunk/samples/j2ee/build.xml
URL: http://svn.apache.org/viewvc/webservices/muse/trunk/samples/j2ee/build.xml?view=diff&rev=491977&r1=491976&r2=491977
==============================================================================
--- webservices/muse/trunk/samples/j2ee/build.xml (original)
+++ webservices/muse/trunk/samples/j2ee/build.xml Tue Jan  2 16:00:27 2007
@@ -73,5 +73,17 @@
 	<target name="clean" depends="init">
         <delete dir="${BUILD_DIR}"/>		
 	</target>
+	
+	<target name="run" depends="init">
+		<java classname="${main}">
+			<classpath>
+				<pathelement location="${CLASSES_DIR}"/>
+				<fileset dir="${LIB_DIR}">
+					<include name="*.jar"/>
+				</fileset>
+			</classpath>
+		</java>
+	</target>
+	
 </project>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: muse-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: muse-commits-help@ws.apache.org