JiBX should use the package of the first mapped class by default, but you can override this with the package attribute of the <binding> element.

 - Dennis

Tilman Linden wrote:

Hello all,

as i am new to this list please let me shortly introduce myself. My name
is Tilman and i am working for the "Fraunhofer Institut" based in
Berlin/Germany as a Student worker. I am currently working on a project
in the Context of Grid Computing and we want to use JiBX to store the
state of running Grid Jobs.

My question is, if it is possible to tell JiBX to place the Files it
generates in specific directories. This is a part of my binding
definition "GridJobBinding.xml":

<binding direction="output">

 .... some mappings here ...

<mapping name="arc" class="de.fhrg.jobhandler.petrinet.Arc">
... some attributes here ...
<structure name="transitionRef" get-method="getTransition"
marshaller="de.fhrg.jobhandler.persistence.jibx.TransitionRefMarshaller">
</mapping>
</binding>


For the custom marshaller i am using, JiBX creates a class named
"de.fhrg.jobhandlerJiBX_GridJobBindingTransitionRefMarshaller_4".
To my taste this class is somewhat missplaced in the directory
"de/fhrg". The reason is that this directory is not even a package of
our project and so the jar task included in our build file misses this
class. Well, it is not really a problem to change the build file, but i
would be happy for another solution, placing the generated file in
another directory. It would just make more sense to have it in the
directory the custom marshaller itself is placed in.


Thanks in advance, regards,

Tilman




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
jibx-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to