Hi,

i have tested the ant script for calling the binding caller as
described in the docu, and it works fine.
However, it would be nice if I called loop over a directory and
process each of the binding files, instead of hard code the names in
the ant script, does anyone know how to do this?

cheers,,
RJ

The ant task i got for a single file is this (which works fine, but
got the the binding name binding.xml hard coded in it)

        <target name="bind">
                <echo message="Running JiBX binding compiler"/>
                <taskdef name="bind"
classname="org.jibx.binding.ant.CompileTask">
                        <classpath>
                                <pathelement location="lib/jibx-bind.jar"/>
                        </classpath>
                </taskdef>
                <bind binding="binding.xml">
                        <classpath refid="classpath.jibx"/>
                </bind>
        </target>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to