I am attempting to streamline the build script for a large project that
uses JiBX.  At the moment, the Ant target that does the JiBX binding is
complicating the dependencies for the build because it needs to compile
all related JiBX bindings in one go, even when these are from multiple
modules.

The situation we have at the moment is that there is a module, Module1,
that is self-contained and has a JiBX binding for its classes.  There is
a second module, Module2, that has other classes that refer to classes
in Module1.  This module also gets mapped to XML by JiBX, with its
mapping referencing the mappings for Module1.  So the set up looks
something like this:

Module1
-------
Class A
Class B
Class C

Module2
-------
Class D (references A, B and C)
XML might look something like this:
<D>
  <A/>
  <B/>
  <C/>
</D>

At present, there is a single binding.xml with mappings for all of the
classes in the two modules and this is processed in one go.

What I would like is to have Module1 fully compiled, bound and jarred
before even starting on Module2.  Module1 is oblivious to the existence
of Module2 so should not need to depend on it.

My efforts so far have failed (either at build time or runtime).  Is
this at all possible?

Thanks,

Dan.
This email may be confidential and may also contain proprietary information 
some or all of which may be legally privileged. It is intended only for the 
stated addressee(s) and access to it by any other person is unauthorised. If 
you are not an addressee, you must not disclose, distribute, copy, print, 
circulate or in any other way use or rely on the information contained in this 
email. If you have received it in error, please inform the sender immediately 
and delete all copies.   Any communications made with Chaucer Group or any 
Chaucer Group company (whether personal or business) may be monitored and a 
record kept.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to