The ability to reference previously instrumented, jarred classes would be very useful for me as well in terms
of allowing the mappings to scale to a large, layered implementation. For example, the entire set of OAGIS 9.0
Business Object Document (BOD) schemas (which is what I'm trying to do.)
I am getting a different bind-time error about not being able to modify a class. The class can't be modified because
it is a base class contained a previously instrumented jar that I'm trying to extend from in a separate project
that will produce its own jar.
Seems to me that if the binding compiler encounters a class that is 1) in a jar and 2) already appears to have been instrumented
that it should treat the mapping "for reference only" and not try to update the jarred class file and not throw an
exception.
Perhaps this feature could be enabled by a new flag passed to the binding compiler.
To work around this so far I have added a target to my ANT build that unjars the "base" classes to a "binparent" folder
that has been added to the binding compiler's classpath. The base class files are thus there to be (re)instrumented but are
ignored when the "subclass project" is itself jarred.
JiBX is amazing and this ability would make it even better.
- Jon
------------------------------------------------------------------------- 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