Skip to main content


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
Hi,

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:
<toplink:mappings.export
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" />-->
</toplink:mappings.export>

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: Fri May 10 17:30:15 GMT 2024

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

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

Back to the top