Author: alessio.soldano(a)jboss.com
Date: 2009-01-21 08:20:02 -0500 (Wed, 21 Jan 2009)
New Revision: 9080
Modified:
stack/native/branches/jaxws21/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java
Log:
Reverting changes to SunRIConsumerImpl erroneously committed along with other stuff
Modified:
stack/native/branches/jaxws21/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java
===================================================================
---
stack/native/branches/jaxws21/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java 2009-01-21
13:07:24 UTC (rev 9079)
+++
stack/native/branches/jaxws21/modules/core/src/main/java/org/jboss/ws/tools/jaxws/impl/SunRIConsumerImpl.java 2009-01-21
13:20:02 UTC (rev 9080)
@@ -51,7 +51,7 @@
private PrintStream messageStream;
private String wsdlLocation;
private List<String> additionalCompilerClassPath = new
ArrayList<String>();
- private String target = "2.1";
+ private String target = "2.0";
@Override
public void setBindingFiles(List<File> bindingFiles)
@@ -198,8 +198,8 @@
args.add(outputDir.getAbsolutePath());
// Always set the target
- if(!target.equals("2.0") && !target.equals("2.1"))
- throw new IllegalArgumentException("WSConsume (native) only supports JAX-WS
2.0 and 2.1");
+ if(!target.equals("2.0"))
+ throw new IllegalArgumentException("WSConsume (native) only supports JAX-WS
2.0");
args.add("-target");
args.add(target);