Hi guys,
I have just attached a patch to CASTOR-2041 that adds the 'sortedmap'
value to the enumeration in mapping.xsd. This way, I am able to generate
the Java classes for the mapping more than once.
Please bear in mind that I am working on Windows, as as such it looks
like I am not capable of reproducing your first problem (missing
castorbuilder.properties).
Werner
Tom van den Berge wrote:
> In the meantime I figured out that I can get it working by adding the
> castor-1.1.2.1-codegen.jar to the classpath (e.g. by adding it to the
> lib dir). However, for some reason this only works once. When I run
> gen.mapping a second time, it fails with the message
> "java.lang.NoSuchFieldError: SORTEDMAP".
>
> This seems to have something to do with the fact that generated source
> for FieldMappingCollection type currently has a SORTEDMAP constant, but
> this is not the case when the sources are re-generated.
>
> I'll add this info to the jira issue, too.
>
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email