From c976b53f2443f673270d701e0738e27012c3bdc5 Mon Sep 17 00:00:00 2001 From: nash Date: Mon, 22 Feb 2010 05:06:59 +0000 Subject: Refactor conditional logic for better consistency and readability git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@912483 13f79535-47bb-0310-9956-ffa450edef68 --- .../trunk/tutorials/travelsample/antdefs.xml | 100 ++++++++++++--------- 1 file changed, 58 insertions(+), 42 deletions(-) (limited to 'sca-java-1.x/trunk/tutorials') diff --git a/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml b/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml index e305331b5d..caac4c6116 100644 --- a/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml +++ b/sca-java-1.x/trunk/tutorials/travelsample/antdefs.xml @@ -34,7 +34,7 @@ been tested with JUnit version 4.5. JAXWS_HOME (only if using JDK 5) A directory containing the JAX-WS reference implementation. This build file has been tested with - JAX-WS version 2.1.7. + the JAX-WS RI version 2.1.7. This file defines the following targets that can be used on the ant command that invokes the build.xml file: @@ -64,16 +64,13 @@ resource directory, unless the jar file is already up to date. If the build.xml file defines a path with id "package-path", this path is used for the Class-Path manifest entry. - "run" Runs the class specified by the "run-class" property in the - build.xml file if this property is defined. If the build.xml file - contains a element with id "run-path", the contents of this - path are added to the run classpath. "clean" Deletes all the files produced by the build. This file also defines the following targets for invocation by from the build.xml file: - "wsimport" Generates Java code from a WSDL file (unless the Java - code is already up to date) by running the JDK wsimport command. + "wsimport" Generates Java code from a WSDL file (unless the Java code + is already up to date) by running the wsimport command (on JDK 6) + or by calling the equivalent class in the JAX-WS RI (on JDK 5). Requires the following parameters: . the Java package to use for generated code . the filename of the WSDL file @@ -92,8 +89,7 @@ generated by running this target for this IDL file All other targets defined by this file (with names starting with "#") - are for internal use from within this file and are not intended to - be used externally. + are for internal use within this file and should not be used externally. --> @@ -131,15 +127,14 @@ - + - - + - - - + + + @@ -148,7 +143,7 @@ - + + @@ -172,6 +167,9 @@ + + + @@ -247,6 +245,11 @@ + + + + + @@ -255,19 +258,22 @@ - + - + + + + - + @@ -344,19 +350,35 @@ - + - + + + + + + + + + + + + + + + + + - + @@ -387,7 +409,7 @@ - + @@ -402,12 +424,12 @@ - + - - + + @@ -417,7 +439,7 @@ - + @@ -430,35 +452,30 @@ - + + + + - + - + - - - - - - - - - + @@ -467,8 +484,7 @@ - - + -- cgit v1.2.3