axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sami...@apache.org
Subject svn commit: r367561 - /webservices/axis2/trunk/java/modules/samples/script/userguide/build.xml
Date Tue, 10 Jan 2006 10:37:00 GMT
Author: saminda
Date: Tue Jan 10 02:36:57 2006
New Revision: 367561

URL: http://svn.apache.org/viewcvs?rev=367561&view=rev
Log:
updated build.xml 


Modified:
    webservices/axis2/trunk/java/modules/samples/script/userguide/build.xml

Modified: webservices/axis2/trunk/java/modules/samples/script/userguide/build.xml
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/samples/script/userguide/build.xml?rev=367561&r1=367560&r2=367561&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/samples/script/userguide/build.xml (original)
+++ webservices/axis2/trunk/java/modules/samples/script/userguide/build.xml Tue Jan 10 02:36:57
2006
@@ -1,32 +1,54 @@
 <project name="samples" default="alltests">
+    <property name="mainDir" value="../.."/>
     <path id="axis.classpath">
         <fileset dir="../../lib">
             <include name="*.jar"/>
         </fileset>
-        <pathelement location="sample.jar"/>
+        <pathelement location="./sample.jar"/>
+    </path>
+    <path id="sample.classpath">
+        <path refid="axis.classpath"/>
     </path>
 
-
-    <target name="alltests" depends="testEchoBlockingClient,testEchoBlockingDualClient,testEchoNonBlockingDualClient,testPingClient,testWebServiceWithModuleClient">
+    <target name="alltests"
+            depends="testEchoBlockingClient,testEchoBlockingDualClient,testEchoNonBlockingDualClient,testPingClient,testWebServiceWithModuleClient">
     </target>
 
     <target name="testEchoBlockingClient">
-        <java classname="userguide.clients.EchoBlockingClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.EchoBlockingClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="testEchoBlockingDualClient">
-        <java classname="userguide.clients.EchoBlockingDualClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.EchoBlockingDualClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="testEchoNonBlockingDualClient">
-        <java classname="userguide.clients.EchoNonBlockingDualClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.EchoNonBlockingDualClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="testPingClient">
-        <java classname="userguide.clients.PingClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.PingClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
     <target name="testWebServiceWithModuleClient">
-        <java classname="userguide.clients.ClientForWebServiceWithModule" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.ClientForWebServiceWithModule"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
 
     <target name="testEchoNonBlockingClient">
-        <java classname="userguide.clients.EchoNonBlockingClient" classpathref="axis.classpath"/>
+        <java classname="userguide.clients.EchoNonBlockingClient"
+              classpathref="axis.classpath" fork="true">
+            <jvmarg value="-Daxis2.home=${mainDir}"/>
+        </java>
     </target>
-</project>
+</project>
\ No newline at end of file



Mime
View raw message