[ http://jira.codehaus.org/browse/JIBX-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Sosnoski closed JIBX-287. -------------------------------- > Error during generate binding for class from other jar (added as dependency) > ---------------------------------------------------------------------------- > > Key: JIBX-287 > URL: http://jira.codehaus.org/browse/JIBX-287 > Project: JiBX > Issue Type: Bug > Components: maven plugin > Affects Versions: JiBX 1.1.6, JiBX 1.2.1 > Environment: jdk 1.6_12, windows > Reporter: Dariusz Skrudlik > Assignee: Dennis Sosnoski > Fix For: JiBX 1.2.2 > > Attachments: dsk-binding.zip, dsk-model.zip > > > I have two project: dsk-model and dsk-binding. In dsk-model is only one > tested class. In dsk-binding is mapping file for it (have dependency to > dsk-model). > When I try compile dsk-binding then get error > D:\Workspaces\maven\DSK\dsk-binding>set > JAVA_HOME=C:\Progra~1\Java\jdk1.6.0_12\ > Scanning for projects... > ------------------------------------------------------------------------ > Building dsk-binding > task-segment: [clean, install] > ------------------------------------------------------------------------ > [clean:clean] > [resources:resources] > Using default encoding to copy filtered resources. > snapshot dsk:dsk-model:0.1-SNAPSHOT: checking for updates from snapshots-skg > snapshot dsk:dsk-model:0.1-SNAPSHOT: checking for updates from > snapshots-mirror-in-skg > [compiler:compile] > Nothing to compile - all classes are up to date > [jibx:bind {execution: default}] > Running JiBX binding compiler (single-module mode) on 1 binding file(s) > Running binding compiler version jibx_1_2_1 > binding Simple_binding: > context (mp#=1) (cv#=0) (fm#=0) > mapping class com.dsk.test.Simple to element Simple > context (ns#=1) (cv#=0) (fm#=0) > namespace http://rep.xmlstandards.eu/dsk/Simple.xsd (default elements) > element wrapper Simple > object binding for com.dsk.test.Simple create class com.dsk.test.Simple > structure ordered > element wrapper Header > ------------------------------------------------------------------------ > [ERROR]BUILD ERROR > ------------------------------------------------------------------------ > *** Error during code generation for file > 'D:\Workspaces\maven\DSK\dsk-binding\src\main\resources\bindings\Simple-binding.xml' > - please enter a bug report for this error in Jira if the problem is not > listed as fixed on the online status page *** > ------------------------------------------------------------------------ > For more information, run Maven with the -e switch > ------------------------------------------------------------------------ > Total time: 3 seconds > Finished at: Tue Mar 31 21:23:07 CEST 2009 > Final Memory: 6M/12M > ------------------------------------------------------------------------ > From other side when I move class from dsk-model to dsk-binding then all > works fine. -- 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 ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ jibx-devs mailing list jibx-devs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-devs