This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 35064 - Allow a more customizable message identifying a compiler's activity
Summary: Allow a more customizable message identifying a compiler's activity
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: All All
: P4 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-07-22 19:18 UTC by Petr Jiricka
Modified: 2004-04-19 16:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2003-07-22 19:18:16 UTC
Currently, the compilation engine displays a
message in the output window for every compiler.
This is done in method
org.netbeans.api.compilation.Compiler.logTargetMessage().
This works well for the project build which uses
compilers as build targets, however it is not so
good for compilers which are used by non-build
actions. 

For example, file validation can be done using the
compiler API, but it is not a part of the build.
Here, Compiler should be seen just as an
implementation detail of no interest to the user.
So the message should be suppressed completely
(there is already the message which starts the
whole job, so an additional message is unnecessary).

This could be addressed either by making
logTargetMessage() protected, or by allowing null
as return value in Compiler.getDisplayName(), and
not displaying the message if display name is null. 


The there is a second issue. The compiler job can
provide its own start message, however the final
message is hardcoded to "Compilation
finished....". It would probably be more
appropriate to use "building" by default. And it
should also be override-able, to maintain symmetry
with the ability to override the start message.
The validate action would choose "Validation
finished...."
Comment 1 Vitezslav Stejskal 2003-11-24 14:35:01 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 2 Jan Becicka 2003-11-25 13:46:38 UTC
Marking issue as VERIFIED --->
Comment 3 Jan Becicka 2003-11-25 13:51:15 UTC
---> CLOSED