I'm having a related problem...

I want to package a number of base classes and related mappings in an e.g.
xxx-runtime.jar and allow users of this component to derive new classes from
these base types and supply extended mappings for their new types - preferably
referring back to the base bindings for the relevant parts of their structure...

I have a multiproject maven2 build with the runtime in one module (jar) and the
derived types in another. When building with maven2 my test of the marshalling
of a derived type fails with :

org.jibx.runtime.JiBXException: Marshalling not defined for class

However, when I run the same test from eclipse (config generated via 'mvn
eclipse:eclipse') it succeeds... - I have had to copy the contents of various
mapping files forward from the base types to the derived ones, but the base
classes still reside in the xxx-runtime.jar.

I've tried unjarring the runtime jar into the derived target/classes - no joy,
but since eclipse manages to set up a classpath that somehow works, I figure
that there must be someway of setting up a working deployment.

Any help would be much appreciated.


Jules


Satish Kumar <satish.kumar <at> vsoftcorp.com> writes:





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to