Inconsistent classpaths when using a base binding file in CodeGen
-----------------------------------------------------------------

                 Key: JIBX-419
                 URL: http://jira.codehaus.org/browse/JIBX-419
             Project: JiBX
          Issue Type: Bug
          Components: CodeGen
    Affects Versions: JiBX 1.2.2
         Environment: Java 1.6
            Reporter: Don Corley
            Assignee: Dennis Sosnoski
         Attachments: test.zip

Dennis,
I'm having a problem using codegen with based binding (which I need for the 
schema-library).
Since I'm calling codegen from java, I can't change the classpath or my current 
directory and I can only specify relative paths.
I have to use -t (target dir) which specifies the source and binding file 
location. -i requires a path from my working location, but the generated 
binding file ends up specifying the this link to the base binding file as 
relative to the compile root.
Just unzip this file, change line 1 to point to your core/lib and run it... it 
fails on the third codegen.
Take a look at the <include path="..."> in person-binding.xml
Thanks,
Don
My test schema looks like this
person.xsd <- address.xsd <- company.xsd

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to