code too large doing SDO codegen

2007-05-25 Thread Scott Kurz
I got a code too large compiler error when trying to compile the static SDO generated from a decent size WSDL w/ inline types: My.java:10270: code too large protected void createXSDMetaData(ModelFactoryImpl theModelPackageImpl) When I look at this line, #10270, there are about 15K lines of

Re: code too large doing SDO codegen

2007-05-25 Thread Scott Kurz
Well.. this one method can be easily refactored into two .. so that's at least one option... Scott On 5/25/07, Scott Kurz [EMAIL PROTECTED] wrote: I got a code too large compiler error when trying to compile the static SDO generated from a decent size WSDL w/ inline types: My.java:10270:

Re: code too large doing SDO codegen

2007-05-25 Thread Frank Budinsky
That's right Scott. The only current solution is to manually fix up (split) the generated method. A future possibility is to add a large model option (like EMF has), which will generate a completely different pattern (i.e., the method initializes the metadata by loading it from a file).