Author: ajith
Date: Wed Dec 21 04:51:23 2005
New Revision: 358279
URL: http://svn.apache.org/viewcvs?rev=358279&view=rev
Log:
A last minute change broke the build. Added a new commandline option to fix it
and updated the security maven.xml
Modified:
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenConfiguration.java
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOption.java
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOptionConstants.java
webservices/axis2/trunk/java/modules/security/maven.xml
Modified:
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenConfiguration.java
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenConfiguration.java?rev=358279&r1=358278&r2=358279&view=diff
==============================================================================
---
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenConfiguration.java
(original)
+++
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CodeGenConfiguration.java
Wed Dec 21 04:51:23 2005
@@ -264,6 +264,12 @@
if(wrapClassesOption != null){
wrapClasses = true;
}
+
+ CommandLineOption generateAllOption = (CommandLineOption)
optionMap.get(
+ GENERATE_ALL_OPTION);
+ if(generateAllOption != null){
+ generateAll = true;
+ }
}
Modified:
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOption.java
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOption.java?rev=358279&r1=358278&r2=358279&view=diff
==============================================================================
---
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOption.java
(original)
+++
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOption.java
Wed Dec 21 04:51:23 2005
@@ -97,7 +97,8 @@
(GENERATE_TEST_CASE_OPTION).equalsIgnoreCase(optionType) ||
(STUB_LANGUAGE_OPTION).equalsIgnoreCase(optionType) ||
(DATA_BINDING_TYPE_OPTION).equalsIgnoreCase(optionType)||
- (WRAP_CLASSES_OPTION).equalsIgnoreCase(optionType))
+ (WRAP_CLASSES_OPTION).equalsIgnoreCase(optionType) ||
+ (GENERATE_ALL_OPTION).equalsIgnoreCase(optionType))
;
}
}
Modified:
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOptionConstants.java
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOptionConstants.java?rev=358279&r1=358278&r2=358279&view=diff
==============================================================================
---
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOptionConstants.java
(original)
+++
webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/codegen/CommandLineOptionConstants.java
Wed Dec 21 04:51:23 2005
@@ -31,6 +31,7 @@
public static final String GENERATE_TEST_CASE_OPTION = "t";
public static final String DATA_BINDING_TYPE_OPTION = "d";
public static final String WRAP_CLASSES_OPTION = "w";
+ public static final String GENERATE_ALL_OPTION = "g";
public static final String INVALID_OPTION = "INVALID_OPTION";
Modified: webservices/axis2/trunk/java/modules/security/maven.xml
URL:
http://svn.apache.org/viewcvs/webservices/axis2/trunk/java/modules/security/maven.xml?rev=358279&r1=358278&r2=358279&view=diff
==============================================================================
--- webservices/axis2/trunk/java/modules/security/maven.xml (original)
+++ webservices/axis2/trunk/java/modules/security/maven.xml Wed Dec 21 04:51:23
2005
@@ -63,6 +63,7 @@
<arg value="org.apache.axis2.oasis.ping"/>
<arg value="-d"/>
<arg value="xmlbeans"/>
+ <arg value="-g"/>
</java>
<!-- move/copy schema stuff into class.dir -->