[jibx-users] precompiled binding problem

2012-02-03 Thread Chris Florian
Hi list,

Using Jibx 1.2.2/jdk 1.6.x. I have a jar of jibx instrumented support 
classes. In a separate jar, I subclass one of the support classes and I 
want to include and extend the mapping for that base class. I added the 
include with precompiled=true and I am including the base jar in the 
classpath of the binding compiler task, but I always seem to get No 
mapping found for class X.

If I only use map-as in the extended binding I get no errors, only if 
I try to use extends in the mapping element.

Is this not allowed or have I completely misunderstood the concept of 
extending a binding?



Thanks.
Chris


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


Re: [jibx-users] precompiled binding problem

2012-02-03 Thread Chris Florian
From the Jibx src it appears as if a mapping can only extend an 
instance of MappingElement and not a PrecompiledMappingElement 
(model/MappingElement.java).



On 02/03/2012 06:40 AM, Chris Florian wrote:

Hi list,

Using Jibx 1.2.2/jdk 1.6.x. I have a jar of jibx instrumented support
classes. In a separate jar, I subclass one of the support classes and I
want to include and extend the mapping for that base class. I added the
include  with precompiled=true and I am including the base jar in the
classpath of the binding compiler task, but I always seem to get No
mapping found for class X.

If I only use map-as in the extended binding I get no errors, only if
I try to use extends in the mapping element.

Is this not allowed or have I completely misunderstood the concept of
extending a binding?



Thanks.
Chris


--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users



--
_ Chris Florian |TXIO Corporation|www.txio.ca http://www.txio.ca | 
1.416.414.6378 _
--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users