Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330220 - Investigate on a way to disable "debug" error messages.
Summary: Investigate on a way to disable "debug" error messages.
Status: CLOSED FIXED
Alias: None
Product: Acceleo
Classification: Modeling
Component: Core (show other bugs)
Version: 3.0.0   Edit
Hardware: PC Windows 7
: P3 enhancement
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 04:57 EST by Laurent Goubet CLA
Modified: 2011-05-05 05:10 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laurent Goubet CLA 2010-11-15 04:57:50 EST
Users may _want_ to return "invalid" from a query ... yet in such cases we log a warning for "undefined result from query ...". We might want to provide a way to disable these non-blocking, potentially wanted "errors".

Maybe only activate them when launching the generation in debug?
Comment 1 Stephane Begaudeau CLA 2011-05-05 05:10:44 EDT
AcceleoPreference now contains a preference entry in order to deactivate two error messages:
1- no generation has occurred...
2- the query has return null...

This preference is also accessible in the Acceleo preference menu.

The fix has been contributed on HEAD. It will be available in Acceleo 3.1.0 RC1.