axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5173) JAXB-RI databinding. Parsing XJC compiler options
Date Sat, 29 Oct 2011 17:01:33 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13139365#comment-13139365
] 

Hudson commented on AXIS2-5173:
-------------------------------

Integrated in axis2-1.5 #237 (See [https://builds.apache.org/job/axis2-1.5/237/])
    AXIS2-5173: Merged r835745 to the 1.5 branch.

veithen : 
Files : 
* /axis/axis2/java/core/branches/1_5
* /axis/axis2/java/core/branches/1_5/modules/distribution
* /axis/axis2/java/core/branches/1_5/modules/jaxbri/src/org/apache/axis2/jaxbri/CodeGenerationUtility.java
* /axis/axis2/java/core/branches/1_5/modules/kernel/src/org/apache/axis2/transport/http/util/QueryStringParser.java
* /axis/axis2/java/core/branches/1_5/modules/kernel/test/org/apache/axis2/transport/http/util/QueryStringParserTest.java
* /axis/axis2/java/core/branches/1_5/modules/parent
* /axis/axis2/java/core/branches/1_5/modules/saaj/test/org/apache/axis2/saaj/TestUtils.java
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/pom.xml
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/src/main/java/org/apache/axis2/handlers
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/module/src/main/resources/META-INF/module.xml
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet/src/main/java/org/apache/axis2/soapmonitor/applet
* /axis/axis2/java/core/branches/1_5/modules/soapmonitor/servlet/src/main/java/org/apache/axis2/soapmonitor/servlet
* /axis/axis2/java/core/branches/1_5/modules/tool/axis2-repo-maven-plugin
* /axis/axis2/java/core/branches/1_5/modules/transport/http/pom.xml
* /axis/axis2/java/core/branches/1_5/modules/transport/http/src
* /axis/axis2/java/core/branches/1_5/modules/transport/local
* /axis/axis2/java/core/branches/1_5/modules/webapp/src/main/java/org/apache/axis2/webapp/AdminAgent.java
* /axis/axis2/java/core/branches/1_5/modules/webapp/src/main/java/org/apache/axis2/webapp/AxisAdminServlet.java

                
> JAXB-RI databinding. Parsing XJC compiler options
> -------------------------------------------------
>
>                 Key: AXIS2-5173
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5173
>             Project: Axis2
>          Issue Type: Improvement
>          Components: codegen, databinding, Tools
>    Affects Versions: 1.5
>            Reporter: Andrew Nastyn
>         Attachments: xjc_compiler_properties_support.patch
>
>
> This is supported in Axis2 1.6.x version. Provide the same for Axis 2 1.5.x.
> Example wsdl2code-maven-plugin configuration:
> <plugin> 
>                 <groupId>org.apache.axis2</groupId> 
>                 <artifactId>axis2-wsdl2code-maven-plugin</artifactId> 
>                 <version>1.5.6</version> 
>                 <executions> 
>                     <execution> 
>                         <id>generate service skeleton</id> 
>                         <phase>generate-sources</phase> 
>                         <inherited>false</inherited> 
>                         <goals> 
>                             <goal>wsdl2code</goal> 
>                         </goals> 
>                         <configuration> 
>                             <packageName>...</packageName> 
>                             <generateAllClasses>false</generateAllClasses>

>                             <generateServerSide>true</generateServerSide>

>                             <databindingName>jaxbri</databindingName> 
>                             <generateServerSideInterface>true</generateServerSideInterface>

>                             <generateServicesXml>true</generateServicesXml>

>                             <wsdlFile>SomeService.wsdl</wsdlFile> 
>                             <namespaceURIs> 
>                                 <namespaceURI> 
>                                     <uri>...</uri> 
>                                     <packageName>...</packageName> 
>                                 </namespaceURI> 
>                             </namespaceURIs> 
>                             <options> 
>                                 <property> 
>                                     <name>bindingFileName</name> 
>                                     <value>binding.jxb</value> 
>                                 </property> 
>                                 <!-- generate toString methods --> 
>                                 <property> 
>                                     <name>XtoString</name> 
>                                     <value>someString</value> 
>                                 </property> 
>                                 <!-- generate equals methods --> 
>                                 <property> 
>                                     <name>Xequals</name> 
>                                     <value>someString</value> 
>                                 </property> 
>                                 <!-- generate hashCode methods --> 
>                                 <property> 
>                                     <name>XhashCode</name> 
>                                     <value>someString</value> 
>                                 </property> 
>                             </options> 
>                         </configuration> 
>                     </execution> 
>                 </executions> 
>                 <dependencies> 
>                     <dependency> 
>                         <groupId>org.apache.axis2</groupId> 
>                         <artifactId>axis2-jaxbri</artifactId> 
>                         <version>1.5.6</version> 
>                     </dependency> 
>                     <dependency> 
>                          <groupId>org.apache.axis2</groupId> 
>                          <artifactId>axis2-codegen</artifactId> 
>                          <version>1.5.6</version> 
>                     </dependency> 
>                     <dependency> 
>                         <groupId>org.jvnet.jaxb2_commons</groupId> 
>                         <artifactId>jaxb2-basics</artifactId> 
>                         <version>${jaxb2.basics.version}</version> 
>                     </dependency> 
>                     <dependency> 
>                         <groupId>org.jvnet.jaxb2_commons</groupId> 
>                         <artifactId>jaxb2-basics-annotate</artifactId> 
>                         <version>${jaxb2.basics.annotate.version}</version>

>                     </dependency> 
>                     <dependency> 
>                         <groupId>com.sun.xml.bind</groupId> 
>                         <artifactId>jaxb-impl</artifactId> 
>                         <version>${jaxb.version}</version> 
>                     </dependency> 
>                     <dependency> 
>                         <groupId>com.sun.xml.bind</groupId> 
>                         <artifactId>jaxb-xjc</artifactId> 
>                         <version>${jaxb.version}</version> 
>                     </dependency> 
>                 </dependencies> 
> </plugin> 
> Properties with "X" prefix are not recognized.
> Please find the patch attached (the code from 1.6 version).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org


Mime
View raw message