Here's my ant task:
<x-tad-bigger> <target name="bind" depends="compile" >
<bind verbose="false" load="true"
binding="jibx${file.separator}ixd_binding.xml">
<classpathset dir="${build}"/>
<classpathset dir="${jibxlibs}"/>
<classpathset dir="${jibxlibs}/jibx-bind.jar"/>
<classpathset dir="libs/xpp3.jar"/>
<classpathset dir="libs/jibx-run.jar"/>
<classpathset dir="libs/hibernate2.jar"/>
</bind>
</target>
</x-tad-bigger>
On Jun 28, 2004, at 1:49 AM, Dennis Sosnoski wrote:
Are you using the Ant task for doing the binding? This could be a side effect of Ant using '/' for file paths, even on Windows. JiBX tries to split off the file name from the directory path, but it has to use the system file separator character to do this. Not sure how to handle this cleanly when running within Ant.Linus Kamb
- Dennis
Guillaume Pothier wrote:
Hi, I have an application that uses two binding definitions, and I use the BindingDirectory.getFactory method that takes a binding name to retrieve the right binding.
One of my bindings is in a file named all-bindings.xml, and the binding name is all_bindings.xml, which works fine.
However my second binding file is in a sub-directory, let's say a/b/c/other.xml. Under windows, the binding name is a_b_c_other.xml, but on linux it is just other.xml.
Is this a known problem, or am I doing something wrong?
Guillaume
-------------------------------------------------------
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
[EMAIL PROTECTED]
(206) 547-0393 x106
