Re: [jibx-users] Precompiled binding problem

2009-12-14 Thread Alison Rosewarne
Hi Dennis,

Can you please let me know if you think the change below would be :
1) a very large piece of work
2) a minor enhancement
3) something in between

Also can you please advise where the code is currently located?
The CVS repository referenced through sourceforge does not seem
to be available and I'd like to investigate this myself...

(I'm Karel's colleague, by the way, and this particular issue is still
preventing us from adopting pre-compiled binaries).

Thanks,
Alison

On 04/19/2009 08:25 PM, Dennis Sosnoski wrote:
 Hi Karel,

 I like the classpath:binding.xml path idea for precompiled bindings, and
 will see if I can easily add that. I'll also take a look at your maven
 precompiled bindings classloading fix for 1.2.2.

 Thanks,

- Dennis

 Dennis M. Sosnoski
 SOA and Web Services in Java
 Training and Consulting
 http://www.sosnoski.com - http://www.sosnoski.co.nz
 Seattle, WA +1-425-939-0576 - Wellington, NZ +64-4-298-6117



 Karel Alfonso wrote:

 Hi everyone,

I'm working on a simple solution where I have two projects and one
 reuses classes already bound (precompiled) in the other project. I'm
 using JiBX version 1.2.1

Let's say I have a precompiled binding in projectA, projecta-binding.xml

binding package=com.projecta
mapping name=a class=...A

/mapping
/binding

Then projectB defines a binding that requires using class A from
 projectA already compiled, projectb-binding.xml

binding
   include path=projecta-binding.xml precompiled=true /

   mapping name=b class=B
 structure  map-as=...A /
   /mapping
/binding

However when I do mvn clean install (using the 1.2.1 JiBX maven
 plugin) I get the following error:

Classloader conflict for binding 'projecta_binding' - factory does not
 implement required interface

The exception is thrown from BindingDirectory.getFactory() method. I've
 checked the binding factory generated by JiBX does implement
 IBindingFactory, so I'm assumming it is really a class loader issue but
 I'm not doing anything fancy, just a mvn clean install.

I'd appreciate any help or advice regarding the use of precompiled
 binding as shown in this example.

Also, as a second suggestion, is it possible to include a precompiled
 binding doinginclude path=classpath:binding.xml/  ? in that way
 other projects don't have to manually copy the precompiled binding
 definition to the project directory.

Thanks in advance,

Karel

 --
 ___
 jibx-users mailing list
 jibx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jibx-users


  
 --
 Stay on top of everything new and different, both inside and
 around Java (TM) technology - register by April 22, and save
 $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
 300 plus technical and hands-on sessions. Register today.
 Use priority code J9JMT32. http://p.sf.net/sfu/p
 ___
 jibx-users mailing list
 jibx-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jibx-users



--
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users


[jibx-users] 1.2.2 release date?

2009-07-27 Thread Alison Rosewarne
Hi guys,

Any news on the jibx 1.2.2 release date?

It seems the issue we are waiting on has been fixed:
http://www.mail-archive.com/jibx-users@lists.sourceforge.net/msg03949.html

Thanks very much for this!

We are keen to roll out jibx 1.2.2 into our production release (code
freeze coming within weeks) and will probably have to consider using an
inhouse release pretty soon

Thanks,
Alison



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users