[
https://issues.apache.org/jira/browse/AXIS2-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12505540
]
Ajith Harshana Ranabahu commented on AXIS2-2450:
------------------------------------------------
Here is the issue in this case. The xbeans.jar packs the .xsb files and during
the compilation this jar is used in the classpath. However the client jar also
includes the xsb files so that the user can use just a single jar in his
classpath rather than two jars.
If this is a confusion we can remove the xbeans-packaged.jar after compiling
and packaging the client jars. Others are welcome to say what would be the
desirable outcome in this case but IMHO we can just leave it as it is.
Note that the xbeans-packaged.jar is used during the server side aar
generation where it is included inside the lib directory of the generated aar.
> Building generated code (xmlbeans based databinding) creates jars with
> duplicate content
> ----------------------------------------------------------------------------------------
>
> Key: AXIS2-2450
> URL: https://issues.apache.org/jira/browse/AXIS2-2450
> Project: Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.1
> Reporter: Gul Onural
> Assignee: Ajith Harshana Ranabahu
> Priority: Blocker
> Attachments: test2.zip
>
>
> Attached zip file contains xmlbeans based stubs generated using
> StockQuoteService.wsdl file comes with Axis2 distro.
> To produce the issue :
> - I first generated the stubs, using following command :
> wsdl2java -uri StockQuoteService.wsdl -p com.mycompany -d xmlbeans
> - Then I build build.xml with ant.
> Check StockQuoteService-test-client.jar and XBeans-packaged.jar files. You
> will see the same set of .xsb
> files are packaged into both jar files.
> Entire directory with generated jar files mentioned above is attached.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]