Werner,

Downloaded 0.9.9 and tried the source generator. Somehow, the generated Java source won't compile. Please see the attached error message. It seems to be related to the fix to the bug I brought up a few weeks ago. See the text from our previous email.


thanks

Bill


Bill,

The change was due to a bug fix for complexType inheritence in which the unmarshal() method signature cannot be overridden when extending a class. The easiest fix was to simply default to java.lang.Object. I checked in a patch that searches for the proper base type if the class extends another one instead of just defaulting to java.lang.Object.

Hopefully this fixes the issue for you. Please try out the CVS version for testing purposes.

Thanks,

--Keith


Werner Guttmann wrote:
Hi,

A copy of the first Castor 0.9.9 milestone build has been placed at the 
Codehaus (http://dist.codehaus.org/castor/0.9.9).
This is a major feature release. For details about the features added and the bugs fixed, please have a look at the project roadmap (http://jira.codehaus.org/browse/CASTOR) and the release notes (http://castor.codehaus.org/release-notes.html). This milestone will be replaced by a second milestone within a week, so please try this version and report any regression issues (where applicable).

Regards
Werner Guttmann






-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

    [javac] 
C:\mtx\gs\src\com\geobot\gs\platform\config\castor\ResourceDesc.java:102: 
unmarshal(java.io.Reader) in com.geobot.gs.platform.config.castor.ResourceDesc 
cannot override unmarshal(java.io.Reader) in 
com.geobot.gs.platform.config.castor.ResourceDescType; attempting to use 
incompatible return type
    [javac] found   : com.geobot.gs.platform.config.castor.ResourceDesc
    [javac] required: com.geobot.gs.platform.config.castor.ResourceDescType
    [javac]     public static com.geobot.gs.platform.config.castor.ResourceDesc 
unmarshal(java.io.Reader reader)
    [javac]                                                                  ^
-------------------------------------------------
If you wish to unsubscribe from this list, please 
send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to