axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thil...@apache.org
Subject svn commit: r468926 - in /webservices/axis2/branches/java/1_1/modules/samples: googlespellcheck/build.xml mtom/build.xml mtomsample/build.xml yahoorestsearch/build.xml
Date Sun, 29 Oct 2006 16:00:25 GMT
Author: thilina
Date: Sun Oct 29 08:00:24 2006
New Revision: 468926

URL: http://svn.apache.org/viewvc?view=rev&rev=468926
Log:
Formatting to improve the readbility

Modified:
    webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/mtomsample/build.xml
    webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/build.xml

Modified: webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/build.xml?view=diff&rev=468926&r1=468925&r2=468926
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/googlespellcheck/build.xml Sun Oct
29 08:00:24 2006
@@ -1,35 +1,34 @@
 <project name="GoogleSpellCheckSample" default="run">
-    <property environment="env" />
-    <property name="axis2.home" value="../../"/>
-    <property name="axis2.repo" value="${axis2.home}/repository"/>
-    <property name="build.dir" value="build" />
-    <property name="properties.file" value="sample/google/common/conf/key.properties"/>
-    <property name="client.classes.dir" value="${build.dir}/classes" />
-    <path id="axis.classpath">
-        <fileset dir="${axis2.home}/lib">
-            <include name="*.jar"/>
-        </fileset>
-        <pathelement location="build/googleSpellcheck.jar"/>
-    </path>
+	<property environment="env" />
+	<property name="axis2.home" value="../../" />
+	<property name="axis2.repo" value="${axis2.home}/repository" />
+	<property name="build.dir" value="build" />
+	<property name="properties.file" value="sample/google/common/conf/key.properties" />
+	<property name="client.classes.dir" value="${build.dir}/classes" />
+	<path id="axis.classpath">
+		<fileset dir="${axis2.home}/lib">
+			<include name="*.jar" />
+		</fileset>
+		<pathelement location="build/googleSpellcheck.jar" />
+	</path>
 
-    <target name="compile">
-	<mkdir dir="${client.classes.dir}" />
-	<!-- Compile client -->
-	<javac srcdir="src" destdir="${client.classes.dir}">
-		<classpath refid="axis.classpath" />
-	</javac>
-	<copy file="src/${properties.file}" tofile="${build.dir}/classes/${properties.file}"
overwrite="true" />
-	<jar destfile="${build.dir}/googleSpellcheck.jar">
-		<fileset dir="${build.dir}/classes"/>
-	</jar>
-    </target>
-    <target name="run" depends="compile">
-        <java classname="sample.google.spellcheck.SuggestionForm"
-              classpathref="axis.classpath" fork="true">
-            <jvmarg value="-Daxis2.repo=${axis2.repo}"/>
-        </java>
-    </target>
-    <target name="clean">
-	<delete dir="build" />
-     </target>
+	<target name="compile">
+		<mkdir dir="${client.classes.dir}" />
+		<!-- Compile client -->
+		<javac srcdir="src" destdir="${client.classes.dir}">
+			<classpath refid="axis.classpath" />
+		</javac>
+		<copy file="src/${properties.file}" tofile="${build.dir}/classes/${properties.file}"
overwrite="true" />
+		<jar destfile="${build.dir}/googleSpellcheck.jar">
+			<fileset dir="${build.dir}/classes" />
+		</jar>
+	</target>
+	<target name="run" depends="compile">
+		<java classname="sample.google.spellcheck.SuggestionForm" classpathref="axis.classpath"
fork="true">
+			<jvmarg value="-Daxis2.repo=${axis2.repo}" />
+		</java>
+	</target>
+	<target name="clean">
+		<delete dir="build" />
+	</target>
 </project>

Modified: webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml?view=diff&rev=468926&r1=468925&r2=468926
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/mtom/build.xml Sun Oct 29 08:00:24
2006
@@ -35,9 +35,10 @@
 
 	<!-- Create Service -->
 	<target name="service">
+
 		<java classname="org.apache.axis2.wsdl.WSDL2Java">
 			<arg value="-uri" />
-			<arg value="resources/MTOMSample.wsdl" />
+			<arg value="${basedir}/resources/MTOMSample.wsdl" />
 			<arg value="-ss" />
 			<arg value="-sd" />
 			<arg value="-p" />
@@ -47,22 +48,22 @@
 			<classpath refid="class.path" />
 		</java>
 		<copy file="${skeleton.path}" tofile="${service.dir}/${skeleton.path}" overwrite="true"
/>
-		<ant dir="${service.dir}"/>
-		<copy file="${service.dir}/build/lib/MTOMSample.aar" tofile = "${service.dir}/MTOMSample.aar"
overwrite="true"/>
+		<ant dir="${service.dir}" />
+		<copy file="${service.dir}/build/lib/MTOMSample.aar" tofile="${service.dir}/MTOMSample.aar"
overwrite="true" />
 	</target>
 	<target name="check-parameters">
-	 <condition property="parameters.set">
-			    <and>
-			      <isset property="dest"/>
-			      <isset property="file"/>
-			    </and>
-			  </condition>
+		<condition property="parameters.set">
+			<and>
+				<isset property="dest" />
+				<isset property="file" />
+			</and>
+		</condition>
 		<!-- This is a hack to get a if-else working in ant. Some much more "ANTy" person is
welcome to improve this -->
-		<antcall target="print-usage"/>
+		<antcall target="print-usage" />
 	</target>
-	
+
 	<target name="print-usage" unless="parameters.set">
-		<echo message="ant -Dfile &lt;file to be transfered&gt;  -Ddest &lt;name
of the destination file&gt;"/>
+		<echo message="ant -Dfile &lt;file to be transfered&gt;  -Ddest &lt;name
of the destination file&gt;" />
 	</target>
 
 	<!-- Run Client -->

Modified: webservices/axis2/branches/java/1_1/modules/samples/mtomsample/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/mtomsample/build.xml?view=diff&rev=468926&r1=468925&r2=468926
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/mtomsample/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/mtomsample/build.xml Sun Oct 29 08:00:24
2006
@@ -1,46 +1,45 @@
 <project name="FileTransferSample" default="service">
-    <property environment="env" />
-    <property name="axis2.home" value="../../"/>
-    <property name="axis2.repo" value="${axis2.home}/repository"/>
-    <property name="build.dir" value="build" />
-    <property name="client.classes.dir" value="${build.dir}/classes" />
-    <path id="axis.classpath">
-        <fileset dir="${axis2.home}/lib">
-            <include name="*.jar"/>
-        </fileset>
-        <pathelement location="build/mtomSampleClient.jar"/>
-    </path>
+	<property environment="env" />
+	<property name="axis2.home" value="../../" />
+	<property name="axis2.repo" value="${axis2.home}/repository" />
+	<property name="build.dir" value="build" />
+	<property name="client.classes.dir" value="${build.dir}/classes" />
+	<path id="axis.classpath">
+		<fileset dir="${axis2.home}/lib">
+			<include name="*.jar" />
+		</fileset>
+		<pathelement location="build/mtomSampleClient.jar" />
+	</path>
 
-<target name="service" depends="compile">
-        <jar destfile="${build.dir}/mtomSample.aar">
-            <fileset dir="src/sample/mtom/filetransfer/service/">
-                <include name="META-INF/services.xml"/>
-            </fileset>
-            <fileset dir="${build.dir}/classes">
-                <include name="sample/mtom/filetransfer/service/**/*.class"/>
-            </fileset>
-        </jar>
+	<target name="service" depends="compile">
+		<jar destfile="${build.dir}/mtomSample.aar">
+			<fileset dir="src/sample/mtom/filetransfer/service/">
+				<include name="META-INF/services.xml" />
+			</fileset>
+			<fileset dir="${build.dir}/classes">
+				<include name="sample/mtom/filetransfer/service/**/*.class" />
+			</fileset>
+		</jar>
 	</target>
 
-    <target name="compile">
-	<mkdir dir="${client.classes.dir}" />
-	<!-- Compile client -->
-	<javac srcdir="src" destdir="${client.classes.dir}">
-		<classpath refid="axis.classpath" />
-	</javac>
-    </target>
-    <target name="client" depends="compile">
-	<jar destfile="${build.dir}/mtomSampleClient.jar">
-<fileset dir="${build.dir}/classes">
-                <include name="sample/mtom/filetransfer/client/**/*.class"/>
-            </fileset>
-	</jar>
-        <java classname="sample.mtom.filetransfer.client.MTOMClient"
-              classpathref="axis.classpath" fork="true">
-            <jvmarg value="-Daxis2.repo=${axis2.repo}"/>
-        </java>
-    </target>
-    <target name="clean">
-	<delete dir="build" />
-     </target>
+	<target name="compile">
+		<mkdir dir="${client.classes.dir}" />
+		<!-- Compile client -->
+		<javac srcdir="src" destdir="${client.classes.dir}">
+			<classpath refid="axis.classpath" />
+		</javac>
+	</target>
+	<target name="client" depends="compile">
+		<jar destfile="${build.dir}/mtomSampleClient.jar">
+			<fileset dir="${build.dir}/classes">
+				<include name="sample/mtom/filetransfer/client/**/*.class" />
+			</fileset>
+		</jar>
+		<java classname="sample.mtom.filetransfer.client.MTOMClient" classpathref="axis.classpath"
fork="true">
+			<jvmarg value="-Daxis2.repo=${axis2.repo}" />
+		</java>
+	</target>
+	<target name="clean">
+		<delete dir="build" />
+	</target>
 </project>

Modified: webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/build.xml
URL: http://svn.apache.org/viewvc/webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/build.xml?view=diff&rev=468926&r1=468925&r2=468926
==============================================================================
--- webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/build.xml (original)
+++ webservices/axis2/branches/java/1_1/modules/samples/yahoorestsearch/build.xml Sun Oct
29 08:00:24 2006
@@ -1,33 +1,32 @@
 <project name="YahooRestSearchSample" default="run">
-    <property environment="env" />
-    <property name="axis2.home" value="../../"/>
-    <property name="axis2.repo" value="${axis2.home}/repository"/>
-    <property name="build.dir" value="build" />
-    <property name="client.classes.dir" value="${build.dir}/classes" />
-    <path id="axis.classpath">
-        <fileset dir="${axis2.home}/lib">
-            <include name="*.jar"/>
-        </fileset>
-        <pathelement location="build/yahooRESTSearch.jar"/>
-    </path>
+	<property environment="env" />
+	<property name="axis2.home" value="../../" />
+	<property name="axis2.repo" value="${axis2.home}/repository" />
+	<property name="build.dir" value="build" />
+	<property name="client.classes.dir" value="${build.dir}/classes" />
+	<path id="axis.classpath">
+		<fileset dir="${axis2.home}/lib">
+			<include name="*.jar" />
+		</fileset>
+		<pathelement location="build/yahooRESTSearch.jar" />
+	</path>
 
-    <target name="compile">
-	<mkdir dir="${client.classes.dir}" />
-	<!-- Compile client -->
-	<javac srcdir="src" destdir="${client.classes.dir}">
-		<classpath refid="axis.classpath" />
-	</javac>
-	<jar destfile="${build.dir}/yahooRESTSearch.jar">
-		<fileset dir="${build.dir}/classes"/>
-	</jar>
-    </target>
-    <target name="run" depends="compile">
-        <java classname="sample.yahooservices.RESTSearch.RESTSearchClient"
-              classpathref="axis.classpath" fork="true">
-            <jvmarg value="-Daxis2.repo=${axis2.repo}"/>
-        </java>
-    </target>
-    <target name="clean">
-	<delete dir="build" />
-     </target>
+	<target name="compile">
+		<mkdir dir="${client.classes.dir}" />
+		<!-- Compile client -->
+		<javac srcdir="src" destdir="${client.classes.dir}">
+			<classpath refid="axis.classpath" />
+		</javac>
+		<jar destfile="${build.dir}/yahooRESTSearch.jar">
+			<fileset dir="${build.dir}/classes" />
+		</jar>
+	</target>
+	<target name="run" depends="compile">
+		<java classname="sample.yahooservices.RESTSearch.RESTSearchClient" classpathref="axis.classpath"
fork="true">
+			<jvmarg value="-Daxis2.repo=${axis2.repo}" />
+		</java>
+	</target>
+	<target name="clean">
+		<delete dir="build" />
+	</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