- Dennis
Robert Augustyn wrote:
Hi, I seem to have problems when I define multiple binding files in one package.
I have few classes which I package as a jar file. This jar file contains classes which ware bind before where packed. This is my ant task which binds couple of classes:
<target name="bind" depends="init">
<mkdir dir="${compile.outdir}"/>
<copy file="src/binding.xml"
tofile="classes/bindingEvent.xml"/>
<copy file="src/bindingHeartbeat.xml"
tofile="classes/bindingHeartbeat.xml"/>
<java classname="org.jibx.binding.Compile"
classpathref="classpath"
fork="true">
<arg value="classes/bindingEvent.xml"/>
</java>
<java classname="org.jibx.binding.Compile"
classpathref="classpath"
fork="true">
<arg value="classes/bindingHeartbeat.xml"/>
</java>
</target>
After the binding I can bind class which binding is
defined in
bindingHeartbeat but not the class defined in binding.
How do I get it working? It seems like the binding generated following classes:
JiBX_classes_bindingHeartbeatFactory.class JiBX_classes_bindingHeartbeatHeartbeat_access.class
And did not generate anything for the event class? Thanks for any pointers. robert
__________________________________ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25� http://photos.yahoo.com/ph/print_splash
-- Dennis M. Sosnoski Enterprise Java, XML, and Web Services Training and Consulting http://www.sosnoski.com Redmond, WA 425.885.7197
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ jibx-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jibx-users
