Hi,

I am using Castor SourceGenerator (version 1.0.2) to
generate some java files and get an error when trying
to compile the generated java files:

"The code for the static initializer is exceeding the
65535 bytes limit"

I have tried version 1.0.5 but jira-1659 is preventing
me from moving forward on this version.

The .xsd defintions are very very large which seems to
be the cause of the error.  The xsd is located at:
http://www.it.ojp.gov/jxdm/3.0.3/index.html
if you want to look at it.

There are a few other errors generated but they are
easily tracked down and repaired, one was the wrong
return type and the others where imports.  The imports
are with GyearDescriptor, GMonthDescriptor,
DurationDescriptor, DateDescriptor using String vs
java.lang.String.

There are 11102 static types defined by the generator 
plus the init() method, which is to large to be
initialized.

Does anyone have any suggestions or ideas on a good
way to resolve the compile error?

I have tried moving the init() to be called from an
intance vs static initialization but it still
complains.


Thanks
Quince









 
____________________________________________________________________________________
Yahoo! Music Unlimited
Access over 1 million songs.
http://music.yahoo.com/unlimited

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to