Nuno Belo commented on Improvement JIBX-274

Hi Dennis,

I'm experiencing exactly the same issue and I've understood your explanation... my problem here is understanding what you mean by "But it means that if you're using multiple bindings for classes in the same package, you need to compile all those bindings at the same time."... are you saying that all binding code should be in a single file?

the reason I'm asking is because in my Ant script I'm already performing the compilation and binding in one go and I still experience the problem. Help would be extremely appreciated

thank you.
cheers,
Nuno Belo

Note: please find below the build target from the Ant script and in attach the build output for reference; I'm also including the error I'm getting while running a sample test that requires unmarshalling two files (one associated with each of the bindings);

<target depends="clean, init" name="build">
<echo message="${ant.project.name}: ${ant.file}" />

<!-- Compile the Java sources using the standard compiler -->
<javac debug="true"
debuglevel="${debuglevel}"
destdir="bin"
source="${source}"
target="${target}">

<src path="src" />
<classpath refid="compilation.classpath" />
</javac>

<!-- Run the JiBX binding compiler to generate the required binding classes -->
<!-- NOTE: MULTIPLE BINDING FILES @ ONCE DOESN'T WORK PROPERLY -->
<!-- https://jira.codehaus.org/browse/JIBX-274 -->
<bind verbose="true" load="true">

<classpathset dir="./bin"/>
<bindingfileset dir="./bin/org/oretail/monitor/model/jibx">
<include name="*-binding.xml" />
</bindingfileset>
</bind>
</target>

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to