Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » ANT Task Problem(Export task failonerror doesn't work)
ANT Task Problem [message #559944] Mon, 20 September 2010 13:53
Craig Warren is currently offline Craig WarrenFriend
Messages: 2
Registered: September 2010
Junior Member

I recently had a developer check in a mwb file which would not export correctly.

My build process uses the ANT tasks for eclipse link (toplink actually) and the export task had the failonerror set to "false" however the exception still caused the export class to fail and that cause the build to fail rather than handle the error gracefully.

My Task looks like this:
projectfile = "${file}"
property = "export-completed"
failonerror = "false"
classpathref = "toplink.classpath">
<toplink:classpath refid = "mw.classpath" />
<toplink:classpath refid = "mwplatforms.classpath" />
<toplink:ignoreerrorset refid = "ignoreErrors"/>
<!--<toplink:loginspec refid = "loginSpec" />-->

and my error is:
An error occured while exporting project: java.lang.NullPointerException

Can anyone tell me while my task still causes the build process to fail?
Previous Topic:MOXy performance
Next Topic:Just setting a property causes an sql update
Goto Forum:

Current Time: Wed Feb 22 06:16:27 GMT 2017

Powered by FUDForum. Page generated in 0.18882 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software