axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aj...@apache.org
Subject svn commit: r397954 - in /webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse: CodeGenWizard.java ui/JavaWSDLOptionsPage.java
Date Fri, 28 Apr 2006 16:56:14 GMT
Author: ajith
Date: Fri Apr 28 09:56:13 2006
New Revision: 397954

URL: http://svn.apache.org/viewcvs?rev=397954&view=rev
Log:
Fixing some minor issues in the Java2WSDL side

Modified:
    webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/CodeGenWizard.java
    webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java

Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/CodeGenWizard.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/CodeGenWizard.java?rev=397954&r1=397953&r2=397954&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/CodeGenWizard.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/CodeGenWizard.java
Fri Apr 28 09:56:13 2006
@@ -14,9 +14,9 @@
 import org.apache.axis2.tool.codegen.eclipse.util.SettingsConstants;
 import org.apache.axis2.wsdl.codegen.CodeGenConfiguration;
 import org.apache.axis2.wsdl.codegen.CodeGenerationEngine;
-import org.apache.axis2.wsdl.util.CommandLineOption;
 import org.apache.axis2.wsdl.util.CommandLineOptionConstants;
 import org.apache.ws.java2wsdl.Java2WSDLCodegenEngine;
+import org.apache.ws.java2wsdl.utils.Java2WSDLCommandLineOption;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IProgressMonitor;
 import org.eclipse.core.runtime.NullProgressMonitor;
@@ -276,39 +276,39 @@
                     monitor.worked(1);
                     //fill the option map
                     Map optionsMap = new HashMap();
-                    CommandLineOption option = new CommandLineOption(
+                    Java2WSDLCommandLineOption option = new Java2WSDLCommandLineOption(
                     		CLASSNAME_OPTION,new String[]{javaSourceSelectionPage.getClassName()});
                     optionsMap.put(CLASSNAME_OPTION,option);
                     
-                    option = new CommandLineOption(
+                    option = new Java2WSDLCommandLineOption(
                     		CLASSPATH_OPTION,javaSourceSelectionPage.getClassPathList());
                     optionsMap.put(CLASSPATH_OPTION,option);
                     
-                    option = new CommandLineOption(
+                    option = new Java2WSDLCommandLineOption(
                     		TARGET_NAMESPACE_OPTION,
                     		new String[]{java2wsdlOptionsPage.getTargetNamespace()});
                     optionsMap.put(TARGET_NAMESPACE_OPTION,option);
                     
-                    option = new CommandLineOption(
+                    option = new Java2WSDLCommandLineOption(
                     		TARGET_NAMESPACE_PREFIX_OPTION,
                     		new String[]{java2wsdlOptionsPage.getTargetNamespacePrefix()});
                     optionsMap.put(TARGET_NAMESPACE_PREFIX_OPTION,option);
                     
-                    option = new CommandLineOption(
+                    option = new Java2WSDLCommandLineOption(
                     		SCHEMA_TARGET_NAMESPACE_OPTION,
                     		new String[]{java2wsdlOptionsPage.getSchemaTargetNamespace()});
                     optionsMap.put(SCHEMA_TARGET_NAMESPACE_OPTION,option);
                     
-                    option = new CommandLineOption(
+                    option = new Java2WSDLCommandLineOption(
                     		SCHEMA_TARGET_NAMESPACE_PREFIX_OPTION,
                     		new String[]{java2wsdlOptionsPage.getSchemaTargetNamespacePrefix()});
                     optionsMap.put(SCHEMA_TARGET_NAMESPACE_PREFIX_OPTION,option);
                     
-                    option = new CommandLineOption(
+                    option = new Java2WSDLCommandLineOption(
                     		OUTPUT_LOCATION_OPTION,new String[]{java2wsdlOutputLocationPage.getOutputLocation()});
                     optionsMap.put(OUTPUT_LOCATION_OPTION,option);
                     
-                    option = new CommandLineOption(
+                    option = new Java2WSDLCommandLineOption(
                     		OUTPUT_FILENAME_OPTION,new String[]{java2wsdlOutputLocationPage.getOutputWSDLName()});
                     optionsMap.put(OUTPUT_FILENAME_OPTION,option);
                     
@@ -321,6 +321,7 @@
                     
                     
                 } catch (Throwable e) {
+                	
                 	    throw new RuntimeException(e);
                 }
 

Modified: webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java?rev=397954&r1=397953&r2=397954&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java
(original)
+++ webservices/axis2/trunk/java/modules/tool/src/org/apache/axis2/tool/codegen/eclipse/ui/JavaWSDLOptionsPage.java
Fri Apr 28 09:56:13 2006
@@ -194,11 +194,11 @@
 	}
 
 	public String getTargetNamespace() {
-		return this.targetNamespacePrefixText.getText();
+		return this.targetNamespaceText.getText();
 	}
 
 	public String getTargetNamespacePrefix() {
-		return this.targetNamespaceText.getText();
+		return this.targetNamespacePrefixText.getText();
 	}
 
 	public String getSchemaTargetNamespace() {



Mime
View raw message