ANT Task Problem [message #559944] |
Mon, 20 September 2010 13:53 |
Craig Warren 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?
|
|
|
Powered by
FUDForum. Page generated in 0.02632 seconds