[ http://jira.codehaus.org/browse/JIBX-83?page=all ]
Dan Allen updated JIBX-83:
--------------------------
Attachment: JIBX-83.txt
Apply this patch to
/jibxeclipse-plugin/src/java/org/jibx/plugins/eclipse/JibxBuilder.java
This patch finds all output folders (folders that contain *.class files
generated by the project), includes the jibx-run.jar in the classpath (if
found, if not informs user to add it to build path), and cleans up the message
output to avoid double printed messages and a more verbose error output by
using e.rootCause() when compile fails.
> Eclipse builder fails to run (classpath issues)
> -----------------------------------------------
>
> Key: JIBX-83
> URL: http://jira.codehaus.org/browse/JIBX-83
> Project: JiBX
> Type: Bug
> Components: Generator Tools
> Versions: CVS
> Environment: eclipse 3.1 on linux
> Reporter: Dan Allen
> Attachments: JIBX-83.txt
>
>
> The JiBX eclipse builder fails to execute because of classpath issues. The
> error that is thrown is that org.jibx.runtime.Utility cannot be located. The
> JiBX compiler does some adhoc classloading which doesn't jive with the
> eclipse plugin context. It is necessary to add jibx-run.jar to the eclipse
> project and have it picked up by the JiBX builder to send to the
> Compile#compile method.
> Additionally, for projects that use alternate output locations, such as WTP
> (.deployables/../classes), it is necessary to ensure that all of these
> folders are included properly. The buildJibxClasspath method should look at
> all "output" folders and referenced jar files (since it needs the runtime
> jar).
--
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
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
jibx-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-devs