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 95755 - IDE do not parse make output and create link to file.
Summary: IDE do not parse make output and create link to file.
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-16 02:06 UTC by Thomas Preisler
Modified: 2007-05-16 20:36 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2007-02-16 02:06:05 UTC
FULL PRODUCT VERSION :
Sun studio 11 build 20050910
IDE/1 spec 3.42.1 impl 20050910
VM: Java 1.5.0_06
IDE install: /opt/SUNWspro11/netbeans/3.5V11
/opt/SUNWspro11/SUNWspro
/opt/SUNWspro11/SUNWspro/prod

ADDITIONAL OS VERSION INFORMATION :
SunOS oxeln 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire-V440

A DESCRIPTION OF THE PROBLEM :
Hi,

I work for Ericsson and we are trying out Sun Studio 11 and can only get file
links in the output window when I run a make command with a target that uses CC
-g (debug option). We have integrated other tools into our make system
(flexlint, cppUnit..) and even though we make sure that the syntax is exactly
the same as the compiler output and matches regular expression under
tools->options->building->make settings->error expression, it doesn't work. Why
do you have to debug compile to get sun studio to create a file link in the
output window? Doesn't sun studio just parse the text from the make command? We
can get this working with Eclipse CDT but not with sun studio 11.

example of flexlint output for which no link is created:
"/vobs/..../src/FMA_List.cc", line 440: Error 84: sizeof object is zero or
object is undefined'ยจ

example of make debug output for which we do get a link:
"/vobs/..../FMA_alarm_record.hh", line 1310: Warning (Anachronism): "static" is
not allowed and is being ignored.

Regards,
Ola

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
See description... for outputs. For some reason we only get file links when we
debug compile code even though the text output is the same as when we run
regular make without debug option.

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
We would like to get file links when ever we follow the regular expression
output format no matter what we do inside make.
ACTUAL -
No file links...

ERROR MESSAGES/STACK TRACES THAT OCCUR :
No error that I know of. It just doesn't work.

REPRODUCIBILITY :
This bug can be reproduced always.

CUSTOMER SUBMITTED WORKAROUND :
Haven't found one. Use another IDE maybe. We would like to run sun studion
because of the DBX support.
Comment 1 Thomas Preisler 2007-05-16 20:36:12 UTC
I believe this one has been fixed. If not, please refile with reproducible testcase.