You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jordan Stewart (JIRA)" <ji...@codehaus.org> on 2009/09/10 02:35:33 UTC
[jira] Created: (MECLIPSE-600) Exceptions thrown from catch blocks
in EclipsePlugin.writeAdditionalConfig() should include cause
Exceptions thrown from catch blocks in EclipsePlugin.writeAdditionalConfig() should include cause
-------------------------------------------------------------------------------------------------
Key: MECLIPSE-600
URL: http://jira.codehaus.org/browse/MECLIPSE-600
Project: Maven 2.x Eclipse Plugin
Issue Type: Improvement
Affects Versions: 2.7
Environment: N/A
Reporter: Jordan Stewart
Priority: Minor
Attachments: include-cause.patch
The {{MojoExecutionException}}s thrown from the catch blocks in EclipsePlugin.writeAdditionalConfig() do not include the caught exception.
The error message displayed when this occurs indicates that the problem is with the target file, when in fact it may be a problem with the source file:-
The particular problem I ran into was that the source file path was derived using a property which happened to be undefined (as I was setting up the project without reading the instructions, which said to add that property to my settings.xml config file . . .)
Having the actual cause available would speed up resolution of problems like this.
Patch attached.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira