diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-08 22:56:03 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-08-08 22:56:03 +0000 |
commit | f30981d7dab6a6f9992bfd512b835cada3fa2d7f (patch) | |
tree | cd160ba53b54902857b34905844b71e701480664 /java/sca/samples/zipcode-jaxws | |
parent | 286087d1aefc942ea9cafa0f2523ee655c5179f8 (diff) |
Fix for TUSCANY-2527
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@684136 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/samples/zipcode-jaxws')
-rw-r--r-- | java/sca/samples/zipcode-jaxws/build.xml | 10 | ||||
-rw-r--r-- | java/sca/samples/zipcode-jaxws/pom.xml | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/java/sca/samples/zipcode-jaxws/build.xml b/java/sca/samples/zipcode-jaxws/build.xml index 8f9ab060a4..85caf5954e 100644 --- a/java/sca/samples/zipcode-jaxws/build.xml +++ b/java/sca/samples/zipcode-jaxws/build.xml @@ -25,14 +25,14 @@ <target name="compile" depends="download-wsdl"> <mkdir dir="target/classes"/> <javac destdir="target/classes" debug="on" source="1.5" target="1.5"> - <src path="src\main\java"/> + <src path="src/main/java"/> <classpath> <fileset refid="tuscany.jars"/> <fileset refid="3rdparty.jars"/> </classpath> </javac> <copy todir="target/classes"> - <fileset dir="src\main\resources"/> + <fileset dir="src/main/resources"/> </copy> <jar destfile="target/sample-zipcode-jaxws.jar" basedir="target/classes"> <manifest> @@ -42,9 +42,9 @@ </target> <target name="download-wsdl"> - <mkdir dir="src/main/resources/wsdl/" /> - <get src="http://www.webservicex.net/uszip.asmx?wsdl" dest="src/main/resources/wsdl/uszip.wsdl" verbose="true" usetimestamp="true" /> - <get src="http://www.webservicex.net/WeatherForecast.asmx?wsdl" dest="src/main/resources/wsdl/WeatherForecast.wsdl" verbose="true" usetimestamp="true" /> + <mkdir dir="target/classes/wsdl/" /> + <get src="http://www.webservicex.net/uszip.asmx?wsdl" dest="target/classes/wsdl//uszip.wsdl" verbose="true" usetimestamp="true" /> + <get src="http://www.webservicex.net/WeatherForecast.asmx?wsdl" dest="target/classes/wsdl/WeatherForecast.wsdl" verbose="true" usetimestamp="true" /> </target> <target name="package" depends="compile" /> diff --git a/java/sca/samples/zipcode-jaxws/pom.xml b/java/sca/samples/zipcode-jaxws/pom.xml index 506d95064e..eace7b1bfe 100644 --- a/java/sca/samples/zipcode-jaxws/pom.xml +++ b/java/sca/samples/zipcode-jaxws/pom.xml @@ -108,12 +108,12 @@ </goals> <configuration> <tasks> - <mkdir dir="${basedir}/src/main/resources/wsdl/" /> + <mkdir dir="${project.build.outputDirectory}/wsdl/" /> <get src="http://www.webservicex.net/uszip.asmx?wsdl" - dest="${basedir}/src/main/resources/wsdl/uszip.wsdl" verbose="true" + dest="${project.build.outputDirectory}/wsdl/uszip.wsdl" verbose="true" usetimestamp="true" /> <get src="http://www.webservicex.net/WeatherForecast.asmx?wsdl" - dest="${basedir}/src/main/resources/wsdl/WeatherForecast.wsdl" verbose="true" + dest="${project.build.outputDirectory}/wsdl/WeatherForecast.wsdl" verbose="true" usetimestamp="true" /> </tasks> </configuration> |