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:15:11 UTC

svn commit: r491981 - /webservices/muse/site/docs/2.2.0/manual/samples/build-and-deployment.html

Author: danj
Date: Tue Jan  2 16:15:10 2007
New Revision: 491981

URL: http://svn.apache.org/viewvc?view=rev&rev=491981
Log:
Added paragraph explaining the 'run' task in the sample build files.

Modified:
    webservices/muse/site/docs/2.2.0/manual/samples/build-and-deployment.html

Modified: webservices/muse/site/docs/2.2.0/manual/samples/build-and-deployment.html
URL: http://svn.apache.org/viewvc/webservices/muse/site/docs/2.2.0/manual/samples/build-and-deployment.html?view=diff&rev=491981&r1=491980&r2=491981
==============================================================================
--- webservices/muse/site/docs/2.2.0/manual/samples/build-and-deployment.html (original)
+++ webservices/muse/site/docs/2.2.0/manual/samples/build-and-deployment.html Tue Jan  2 16:15:10 2007
@@ -130,6 +130,17 @@
 create a deployable J2EE WAR. Simply run <em>ant</em> in the sample project's directory 
 and it will create a WAR file with the latest code and artifacts.
 </p>
+<p>Once you have deployed the WAR file on your application server, you 
+can run the sample's test client using the <em>run</em> task in the build file. The <em>run</em> 
+task requires you to specify the name of the test client class on the command line using the 
+<em>main</em> attribute. Below is a sample command line that shows how you would run the test 
+client for the <a href="wsn-consumer.html">WSN Consumer Sample Project</a>:
+<blockquote>
+<code>
+ant run -Dmain=<b>org.apache.muse.test.wsn.WsnTestClient</b>
+</code>
+</blockquote>
+</p>
 </div>
 
 <a name="osgi"></a>



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