Skip to content

Commit 5268415

Browse files
committed
1 parent 0a7e736 commit 5268415

File tree

1 file changed

+50
-44
lines changed

1 file changed

+50
-44
lines changed
Lines changed: 50 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,71 @@
11
<?xml version="1.0"?>
22

33
<project name="spring-ws-airline-sample-jax-ws-client" default="build" xmlns:artifact="urn:maven-artifact-ant">
4-
<property name="bin.dir" value="bin"/>
5-
<property name="src.dir" value="src"/>
6-
<property name="lib.dir" value="lib"/>
4+
<property name="bin.dir" value="bin"/>
5+
<property name="src.dir" value="src"/>
6+
<property name="lib.dir" value="lib"/>
77

8-
<target name="init">
9-
<mkdir dir="${bin.dir}"/>
10-
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant">
11-
<classpath>
8+
<target name="init">
9+
<mkdir dir="${bin.dir}"/>
10+
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant">
11+
<classpath>
1212
<pathelement location="${basedir}/../../../maven-artifact-ant-2.0.4-dep.jar"/>
13-
</classpath>
14-
</typedef>
13+
</classpath>
14+
</typedef>
1515

16-
<artifact:dependencies pathId="generate.classpath">
17-
<dependency groupId="com.sun.xml.ws" artifactId="jaxws-tools" version="EA3"/>
18-
<dependency groupId="com.sun.xml.bind" artifactId="jaxb-xjc" version="2.1-EA2"/>
19-
<dependency groupId="com.sun.xml.stream.buffer" artifactId="streambuffer" version="0.3"/>
20-
<dependency groupId="com.sun.xml.stream" artifactId="sjsxp" version="1.0"/>
21-
<dependency groupId="org.jvnet.staxex" artifactId="stax-ex" version="1.0"/>
16+
<artifact:remoteRepository id="java.net" url="https://maven-repository.dev.java.net/nonav/repository"
17+
layout="legacy"/>
18+
19+
<artifact:dependencies pathId="generate.classpath">
20+
<remoteRepository refid="java.net"/>
21+
<dependency groupId="com.sun.xml.ws" artifactId="jaxws-tools" version="EA3"/>
22+
<dependency groupId="com.sun.xml.bind" artifactId="jaxb-xjc" version="2.1-EA2"/>
23+
<dependency groupId="com.sun.xml.stream.buffer" artifactId="streambuffer" version="0.3"/>
24+
<dependency groupId="com.sun.xml.stream" artifactId="sjsxp" version="1.0"/>
25+
<dependency groupId="org.jvnet.staxex" artifactId="stax-ex" version="1.0"/>
2226
<dependency groupId="com.sun.xml.messaging.saaj" artifactId="saaj-impl" version="1.3"/>
23-
</artifact:dependencies>
27+
</artifact:dependencies>
2428

25-
<artifact:dependencies pathId="compile.classpath">
26-
<dependency groupId="javax.xml.ws" artifactId="jaxws-api" version="2.1-SNAPSHOT"/>
27-
</artifact:dependencies>
29+
<artifact:dependencies pathId="compile.classpath">
30+
<remoteRepository refid="java.net"/>
31+
<dependency groupId="javax.xml.ws" artifactId="jaxws-api" version="2.1-SNAPSHOT"/>
32+
</artifact:dependencies>
2833

29-
<artifact:dependencies pathId="runtime.classpath">
30-
<dependency groupId="com.sun.xml.ws" artifactId="jaxws-rt" version="EA3"/>
31-
<dependency groupId="com.sun.xml.bind" artifactId="jaxb-impl" version="2.1-EA2"/>
32-
<dependency groupId="com.sun.xml.bind" artifactId="jaxb-xjc" version="2.1-EA2"/>
33-
<dependency groupId="com.sun.xml.stream.buffer" artifactId="streambuffer" version="0.3"/>
34-
<dependency groupId="com.sun.xml.stream" artifactId="sjsxp" version="1.0"/>
35-
<dependency groupId="org.jvnet.staxex" artifactId="stax-ex" version="1.0"/>
34+
<artifact:dependencies pathId="runtime.classpath">
35+
<remoteRepository refid="java.net"/>
36+
<dependency groupId="com.sun.xml.ws" artifactId="jaxws-rt" version="EA3"/>
37+
<dependency groupId="com.sun.xml.bind" artifactId="jaxb-impl" version="2.1-EA2"/>
38+
<dependency groupId="com.sun.xml.bind" artifactId="jaxb-xjc" version="2.1-EA2"/>
39+
<dependency groupId="com.sun.xml.stream.buffer" artifactId="streambuffer" version="0.3"/>
40+
<dependency groupId="com.sun.xml.stream" artifactId="sjsxp" version="1.0"/>
41+
<dependency groupId="org.jvnet.staxex" artifactId="stax-ex" version="1.0"/>
3642
<dependency groupId="com.sun.xml.messaging.saaj" artifactId="saaj-impl" version="1.3"/>
37-
</artifact:dependencies>
43+
</artifact:dependencies>
3844

39-
</target>
45+
</target>
4046

41-
<target name="generate" depends="init">
42-
<taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport" classpathref="generate.classpath" />
43-
<wsimport wsdl="http://localhost:8080/airline/airline.wsdl" destdir="${bin.dir}"
44-
package="org.springframework.ws.samples.airline.client.jaxws"/>
45-
</target>
47+
<target name="generate" depends="init">
48+
<taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport" classpathref="generate.classpath"/>
49+
<wsimport wsdl="http://localhost:8080/airline/airline.wsdl" destdir="${bin.dir}"
50+
package="org.springframework.ws.samples.airline.client.jaxws"/>
51+
</target>
4652

47-
<target name="build" depends="generate">
48-
<javac srcdir="${src.dir}" destdir="${bin.dir}" debug="true">
53+
<target name="build" depends="generate">
54+
<javac srcdir="${src.dir}" destdir="${bin.dir}" debug="true">
4955
<classpath refid="compile.classpath"/>
5056
<classpath location="${bin.dir}"/>
51-
</javac>
52-
</target>
57+
</javac>
58+
</target>
5359

54-
<target name="clean">
55-
<delete dir="${bin.dir}"/>
56-
</target>
60+
<target name="clean">
61+
<delete dir="${bin.dir}"/>
62+
</target>
5763

58-
<target name="run" depends="build">
59-
<java classname="org.springframework.ws.samples.airline.client.jaxws.Main" fork="true" failonerror="true">
64+
<target name="run" depends="build">
65+
<java classname="org.springframework.ws.samples.airline.client.jaxws.Main" fork="true" failonerror="true">
6066
<classpath refid="compile.classpath"/>
6167
<classpath refid="runtime.classpath"/>
6268
<classpath location="${bin.dir}"/>
63-
</java>
64-
</target>
69+
</java>
70+
</target>
6571
</project>

0 commit comments

Comments
 (0)