Bug 253881 - Invalid user settings file error is not reported to the user
Summary: Invalid user settings file error is not reported to the user
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: IAM (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2008-11-05 04:25 EST by Abel Muiño CLA
Modified: 2012-01-05 13:10 EST (History)
1 user (show)

See Also:


Attachments
Stacktrace in Error View (1.08 KB, text/plain)
2008-11-05 04:25 EST, Abel Muiño CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Abel Muiño CLA 2008-11-05 04:25:59 EST
Created attachment 117046 [details]
Stacktrace in Error View

(Using maven.core 0.8.0.200808231203)

When a user settings file is specified and it contains errors, the problem is not reported to the end user.

The message is available on the Error View:
"The user settings file is invalid, will not be used."
Comment 1 Allan CLA 2008-11-24 03:19:43 EST
I added checking that if the settings.xml set in maven preference page is invalid, ok button is disabled.

Would that be sufficient?
Comment 2 Abel Muiño CLA 2008-11-24 03:44:11 EST
That would be OK if the user is editing the settings from within eclipse. Thanks!

However, if there is any problem when running maven, it is reported on the eclipse error view (probably wrapped in a CoreException), which is not the plae where a user would look. It should be more visible to the end user (error dialog, maybe?).