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: Mon Feb 19 10:03:51 GMT 2018

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

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