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:Getting Results and Count from NamedQuery
Next Topic:Clustering Jboss with Eclipselink
Goto Forum:

Current Time: Tue Mar 28 19:47:55 GMT 2017

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

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