[
https://issues.apache.org/jira/browse/AXIS2-5033?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032756#comment-13032756
]
Ankur Avlani commented on AXIS2-5033:
-------------------------------------
I was able to solve this by increasing the ant javac memoryMaximumSize to
"1024m".
> WSDL2Java produces code that causes javac to fail with "code to large" in
> axis2-1.5.4
> -------------------------------------------------------------------------------------
>
> Key: AXIS2-5033
> URL: https://issues.apache.org/jira/browse/AXIS2-5033
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.5.4
> Environment: Windows
> Reporter: Ankur Avlani
> Attachments: vim.wsdl, vimService.wsdl
>
>
> When generating stubs from a large WSDL document using either the ADB or
> XMLBeans databindings, the generated code causes javac to fail with the
> following error
> [javac]
> C:\ankur\axis2-1.5.4-bin\axis2-1.5.4\bin\clientVIMUW\src\com\hds\clientVM\VimServiceStub.java:5944:
> code too large
> [javac] private void populateFaults(){
> [javac] ^
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -Xlint:deprecation for details.
> [javac] Note: Some input files use unchecked or unsafe operations.
> [javac] Note: Recompile with -Xlint:unchecked for details.
> [javac] 1 error
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]