[ 
https://jira.codehaus.org/browse/JIBX-419?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Don Corley resolved JIBX-419.
-----------------------------

    Resolution: Fixed
      Assignee: Don Corley  (was: Dennis Sosnoski)

Added patch for 1.2.4 release
                
> Inconsistent classpaths when using a base binding file in CodeGen
> -----------------------------------------------------------------
>
>                 Key: JIBX-419
>                 URL: https://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: Don Corley
>         Attachments: codegen.patch, 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, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs

Reply via email to