You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (Resolved) (JIRA)" <ji...@apache.org> on 2011/10/29 19:37:32 UTC

[jira] [Resolved] (AXIS2-5173) JAXB-RI databinding. Parsing XJC compiler options

     [ https://issues.apache.org/jira/browse/AXIS2-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-5173.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.7
         Assignee: Andreas Veithen
    
> 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
>            Assignee: Andreas Veithen
>             Fix For: 1.5.7
>
>         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