axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r529691 - in /webservices/axis2/branches/java/1_2/modules/samples: quickstartadb/build.xml quickstartxmlbeans/build.xml
Date Tue, 17 Apr 2007 18:04:06 GMT
Author: dims
Date: Tue Apr 17 11:04:05 2007
New Revision: 529691

URL: http://svn.apache.org/viewvc?view=rev&rev=529691
Log:
Fix for AXIS2-2547 - Sample quickstartxmlbeans, quickstartadb cannot be build with ant 1.7.

Modified:
    webservices/axis2/branches/java/1_2/modules/samples/quickstartadb/build.xml
    webservices/axis2/branches/java/1_2/modules/samples/quickstartxmlbeans/build.xml

Modified: webservices/axis2/branches/java/1_2/modules/samples/quickstartadb/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/samples/quickstartadb/build.xml?view=diff&rev=529691&r1=529690&r2=529691
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/samples/quickstartadb/build.xml (original)
+++ webservices/axis2/branches/java/1_2/modules/samples/quickstartadb/build.xml Tue Apr 17
11:04:05 2007
@@ -1,80 +1,81 @@
-<project basedir="." default="generate.service">
-
-    <property environment="env"/>
-    <property name="AXIS2_HOME" value="${env.AXIS2_HOME}"/>
-
-    <property name="build.dir" value="build"/>
-
-    <path id="axis2.classpath">
-        <fileset dir="${AXIS2_HOME}/lib">
-            <include name="*.jar"/>
-        </fileset>
-    </path>
-    <path id="client.class.path">
-        <fileset dir="${AXIS2_HOME}/lib">
-            <include name="*.jar" />
-        </fileset>
-        <fileset dir="${build.dir}/client/build/lib" >
-            <include name="*.jar" />
-        </fileset>
-    </path>
-
-    <target name="init">
-        <mkdir dir="${build.dir}"/>
-    </target>
-
-    <target name="generate.service" depends="init">
-        <taskdef name="wsdl2java"
-                 classname="org.apache.axis2.tool.ant.AntCodegenTask"
-                 classpathref="axis2.classpath"/>
-        <wsdl2java wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
-                   output="${build.dir}/service"
-                   packageName="samples.quickstart.service.adb"
-                   language="java"
-                   databindingName="adb"
-                   synconly="true"
-                   serverside="true"
-                   serverSideInterface="true"
-                   namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.adb.xsd"
-                   generateservicexml="true"/>
-        <copy file="${basedir}/src/samples/quickstart/service/adb/StockQuoteServiceSkeleton.java"
-              toDir="${build.dir}/service/src/samples/quickstart/service/adb/"
-              overwrite="yes">    
-        </copy>
-        <copy file="${basedir}/resources/META-INF/services.xml"
-              toDir="${build.dir}/service/resources/"
-              overwrite="yes">
-        </copy>
-        <ant dir="${build.dir}/service"/>
-    </target>
-
-    <target name="generate.client" depends="init">
-        <taskdef name="wsdl2java"
-                 classname="org.apache.axis2.tool.ant.AntCodegenTask"
-                 classpathref="axis2.classpath"/>
-        <wsdl2java wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
-                   output="${build.dir}/client"
-                   packageName="samples.quickstart.service.adb"
-                   databindingName="adb"
-                   namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.adb.xsd"
-                   language="java"
-                   synconly="true"/>
-        <copy file="${basedir}/src/samples/quickstart/clients/ADBClient.java"
-              toDir="${build.dir}/client/src/samples/quickstart/clients/"
-              overwrite="yes">
-        </copy>
-        <ant dir="${build.dir}/client"/>
-    </target>
-
-    <target name="generate.all" depends="generate.service, generate.client"/>
-
-    <target name="run.client" depends="generate.client">
-        <java classname="samples.quickstart.clients.ADBClient">
-            <classpath refid="client.class.path" />
-        </java>
-    </target>
-
-    <target name="clean">
-        <delete dir="${build.dir}"/>
-    </target>
-</project>
+<project basedir="." default="generate.service">
+
+    <property environment="env"/>
+    <property name="AXIS2_HOME" value="${env.AXIS2_HOME}"/>
+
+    <property name="build.dir" value="build"/>
+
+    <path id="axis2.classpath">
+        <fileset dir="${AXIS2_HOME}/lib">
+            <include name="*.jar"/>
+        </fileset>
+    </path>
+    <path id="client.class.path">
+        <fileset dir="${AXIS2_HOME}/lib">
+            <include name="*.jar" />
+        </fileset>
+        <fileset dir="${build.dir}/client/build/lib" >
+            <include name="*.jar" />
+        </fileset>
+    </path>
+
+    <target name="init">
+        <mkdir dir="${build.dir}"/>
+        <mkdir dir="${build.dir}/service"/>
+    </target>
+
+    <target name="generate.service" depends="init">
+        <taskdef name="wsdl2java"
+                 classname="org.apache.axis2.tool.ant.AntCodegenTask"
+                 classpathref="axis2.classpath"/>
+        <wsdl2java wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
+                   output="${build.dir}/service"
+                   packageName="samples.quickstart.service.adb"
+                   language="java"
+                   databindingName="adb"
+                   synconly="true"
+                   serverside="true"
+                   serverSideInterface="true"
+                   namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.adb.xsd"
+                   generateservicexml="true"/>
+        <copy file="${basedir}/src/samples/quickstart/service/adb/StockQuoteServiceSkeleton.java"
+              toDir="${build.dir}/service/src/samples/quickstart/service/adb/"
+              overwrite="yes">    
+        </copy>
+        <copy file="${basedir}/resources/META-INF/services.xml"
+              toDir="${build.dir}/service/resources/"
+              overwrite="yes">
+        </copy>
+        <ant dir="${build.dir}/service"/>
+    </target>
+
+    <target name="generate.client" depends="init">
+        <taskdef name="wsdl2java"
+                 classname="org.apache.axis2.tool.ant.AntCodegenTask"
+                 classpathref="axis2.classpath"/>
+        <wsdl2java wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
+                   output="${build.dir}/client"
+                   packageName="samples.quickstart.service.adb"
+                   databindingName="adb"
+                   namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.adb.xsd"
+                   language="java"
+                   synconly="true"/>
+        <copy file="${basedir}/src/samples/quickstart/clients/ADBClient.java"
+              toDir="${build.dir}/client/src/samples/quickstart/clients/"
+              overwrite="yes">
+        </copy>
+        <ant dir="${build.dir}/client"/>
+    </target>
+
+    <target name="generate.all" depends="generate.service, generate.client"/>
+
+    <target name="run.client" depends="generate.client">
+        <java classname="samples.quickstart.clients.ADBClient">
+            <classpath refid="client.class.path" />
+        </java>
+    </target>
+
+    <target name="clean">
+        <delete dir="${build.dir}"/>
+    </target>
+</project>

Modified: webservices/axis2/branches/java/1_2/modules/samples/quickstartxmlbeans/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_2/modules/samples/quickstartxmlbeans/build.xml?view=diff&rev=529691&r1=529690&r2=529691
==============================================================================
--- webservices/axis2/branches/java/1_2/modules/samples/quickstartxmlbeans/build.xml (original)
+++ webservices/axis2/branches/java/1_2/modules/samples/quickstartxmlbeans/build.xml Tue Apr
17 11:04:05 2007
@@ -1,80 +1,81 @@
-<project basedir="." default="generate.service">
-
-    <property environment="env"/>
-    <property name="AXIS2_HOME" value="${env.AXIS2_HOME}"/>
-
-    <property name="build.dir" value="build"/>
-
-    <path id="axis2.classpath">
-        <fileset dir="${AXIS2_HOME}/lib">
-            <include name="*.jar"/>
-        </fileset>
-    </path>
-    <path id="client.class.path">
-        <fileset dir="${AXIS2_HOME}/lib">
-            <include name="*.jar" />
-        </fileset>
-        <fileset dir="${build.dir}/client/build/lib" >
-            <include name="*.jar" />
-        </fileset>
-    </path>
-
-    <target name="init">
-        <mkdir dir="${build.dir}"/>
-    </target>
-
-    <target name="generate.service" depends="init">
-        <taskdef name="wsdl2java"
-                 classname="org.apache.axis2.tool.ant.AntCodegenTask"
-                 classpathref="axis2.classpath"/>
-        <wsdl2java wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
-                   output="${build.dir}/service"
-                   packageName="samples.quickstart.service.xmlbeans"
-                   language="java"
-                   databindingName="xmlbeans"
-                   synconly="true"
-                   serverside="true"
-                   serverSideInterface="true"
-                   namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.xmlbeans.xsd"
-                   generateservicexml="true"/>
-        <copy file="${basedir}/src/samples/quickstart/service/xmlbeans/StockQuoteServiceSkeleton.java"
-              toDir="${build.dir}/service/src/samples/quickstart/service/xmlbeans/"
-              overwrite="yes">    
-        </copy>
-        <copy file="${basedir}/resources/META-INF/services.xml"
-              toDir="${build.dir}/service/resources/"
-              overwrite="yes">
-        </copy>
-        <ant dir="${build.dir}/service"/>
-    </target>
-
-    <target name="generate.client" depends="init">
-        <taskdef name="wsdl2java"
-                 classname="org.apache.axis2.tool.ant.AntCodegenTask"
-                 classpathref="axis2.classpath"/>
-        <wsdl2java wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
-                   output="${build.dir}/client"
-                   packageName="samples.quickstart.service.xmlbeans"
-                   databindingName="xmlbeans"
-                   namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.xmlbeans.xsd"
-                   language="java"
-                   synconly="true"/>
-        <copy file="${basedir}/src/samples/quickstart/clients/XMLBEANSClient.java"
-              toDir="${build.dir}/client/src/samples/quickstart/clients/"
-              overwrite="yes">
-        </copy>
-        <ant dir="${build.dir}/client"/>
-    </target>
-
-    <target name="generate.all" depends="generate.service, generate.client"/>
-
-    <target name="run.client" depends="generate.client">
-        <java classname="samples.quickstart.clients.XMLBEANSClient">
-            <classpath refid="client.class.path" />
-        </java>
-    </target>
-
-    <target name="clean">
-        <delete dir="${build.dir}"/>
-    </target>
-</project>
+<project basedir="." default="generate.service">
+
+    <property environment="env"/>
+    <property name="AXIS2_HOME" value="${env.AXIS2_HOME}"/>
+
+    <property name="build.dir" value="build"/>
+
+    <path id="axis2.classpath">
+        <fileset dir="${AXIS2_HOME}/lib">
+            <include name="*.jar"/>
+        </fileset>
+    </path>
+    <path id="client.class.path">
+        <fileset dir="${AXIS2_HOME}/lib">
+            <include name="*.jar" />
+        </fileset>
+        <fileset dir="${build.dir}/client/build/lib" >
+            <include name="*.jar" />
+        </fileset>
+    </path>
+
+    <target name="init">
+        <mkdir dir="${build.dir}"/>
+        <mkdir dir="${build.dir}/service"/>
+    </target>
+
+    <target name="generate.service" depends="init">
+        <taskdef name="wsdl2java"
+                 classname="org.apache.axis2.tool.ant.AntCodegenTask"
+                 classpathref="axis2.classpath"/>
+        <wsdl2java wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
+                   output="${build.dir}/service"
+                   packageName="samples.quickstart.service.xmlbeans"
+                   language="java"
+                   databindingName="xmlbeans"
+                   synconly="true"
+                   serverside="true"
+                   serverSideInterface="true"
+                   namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.xmlbeans.xsd"
+                   generateservicexml="true"/>
+        <copy file="${basedir}/src/samples/quickstart/service/xmlbeans/StockQuoteServiceSkeleton.java"
+              toDir="${build.dir}/service/src/samples/quickstart/service/xmlbeans/"
+              overwrite="yes">    
+        </copy>
+        <copy file="${basedir}/resources/META-INF/services.xml"
+              toDir="${build.dir}/service/resources/"
+              overwrite="yes">
+        </copy>
+        <ant dir="${build.dir}/service"/>
+    </target>
+
+    <target name="generate.client" depends="init">
+        <taskdef name="wsdl2java"
+                 classname="org.apache.axis2.tool.ant.AntCodegenTask"
+                 classpathref="axis2.classpath"/>
+        <wsdl2java wsdlFilename="${basedir}/resources/META-INF/StockQuoteService.wsdl"
+                   output="${build.dir}/client"
+                   packageName="samples.quickstart.service.xmlbeans"
+                   databindingName="xmlbeans"
+                   namespaceToPackages="http://quickstart.samples/xsd=samples.quickstart.service.xmlbeans.xsd"
+                   language="java"
+                   synconly="true"/>
+        <copy file="${basedir}/src/samples/quickstart/clients/XMLBEANSClient.java"
+              toDir="${build.dir}/client/src/samples/quickstart/clients/"
+              overwrite="yes">
+        </copy>
+        <ant dir="${build.dir}/client"/>
+    </target>
+
+    <target name="generate.all" depends="generate.service, generate.client"/>
+
+    <target name="run.client" depends="generate.client">
+        <java classname="samples.quickstart.clients.XMLBEANSClient">
+            <classpath refid="client.class.path" />
+        </java>
+    </target>
+
+    <target name="clean">
+        <delete dir="${build.dir}"/>
+    </target>
+</project>



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


Mime
View raw message