Thanks for your quick response. 

I have attempted this approach also, but get the same error:

    [bind] Using the following paths:
     [bind] D:\Projects\KAS_Java\build
     [bind] Using the following binding paths:
     [bind] config/mappings/jibx-binding.xml
     [bind] Running binding compiler version jibx-rc1
     [bind] Error: Cannot find information for class de.ava.kas.model.DealHead 
for mapping element at (line 2, col 62, in config/mappings/jibx-binding.xml)
     [bind] Error: Cannot find information for class 
de.ava.kas.model.SAPDocument for mapping element at (line 9, col 68, in 
config/mappings/jibx-binding.xml)
     [bind] Error running binding compiler
     [bind] org.jibx.runtime.JiBXException: Binding 
config/mappings/jibx-binding.xml is unusable because of validation errors
     [bind] at org.jibx.binding.Utility.loadBinding(Utility.java:360)
     [bind] at org.jibx.binding.Utility.loadFileBinding(Utility.java:388)
     [bind] at org.jibx.binding.Compile.compile(Compile.java:296)
     [bind] at org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
     [bind] at 
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
     [bind] at org.apache.tools.ant.Task.perform(Task.java:364)
     [bind] at org.apache.tools.ant.Target.execute(Target.java:341)
     [bind] at org.apache.tools.ant.Target.performTasks(Target.java:369)
     [bind] at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
     [bind] at org.apache.tools.ant.Project.executeTargets(Project.java:1062)
     [bind] at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:383)
     [bind] at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:136)
BUILD FAILED: D:\Projects\KAS_Java\build.xml:527: JiBXException in JiBX binding 
compilation


My jibx target depends on a build target, so the compiled classes should be 
available at this point. I have no idea what's going wrong here.

Thanks and regards,

Michael



-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Auftrag von Mocky
Habeeb
Gesendet: Montag, 12. September 2005 15:10
An: [email protected]
Betreff: RE: [jibx-users] jibx Ant Task: Cannot find information for
class


What you need to provide the CompileTask as a classpath instead of
${application.dir} is the root folder of where your compiled class files
are. The JiBX binding compiler will make modifications directly to your
class files. 

Mocky


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to