Author: jsdelfino
Date: Fri Aug 24 02:30:04 2007
New Revision: 569311

URL: http://svn.apache.org/viewvc?rev=569311&view=rev
Log:
Fix for TUSCANY-1588. Run the sample off the classes instead of the jar.

Modified:
    incubator/tuscany/java/sca/samples/web-resource/build.xml

Modified: incubator/tuscany/java/sca/samples/web-resource/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/java/sca/samples/web-resource/build.xml?rev=569311&r1=569310&r2=569311&view=diff
==============================================================================
--- incubator/tuscany/java/sca/samples/web-resource/build.xml (original)
+++ incubator/tuscany/java/sca/samples/web-resource/build.xml Fri Aug 24 
02:30:04 2007
@@ -44,7 +44,7 @@
         </jar>         
     </target>  
        
-    <target name="run-classes">
+    <target name="run-classes" depends="compile">
         <java classname="${test.class}"
               fork="true">
             <classpath>
@@ -54,15 +54,8 @@
         </java>
     </target>
        
-    <target name="run">
-        <java classname="${test.class}"
-              fork="true">
-            <classpath>
-                <pathelement path="target/${test.jar}"/>
-               <pathelement location="../../lib/tuscany-sca-manifest.jar"/>
-            </classpath>
-        </java>        
-    </target>  
+    <target name="run" depends="run-classes">
+    </target>
        
     <target name="clean">
         <delete quiet="true" includeemptydirs="true">



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to