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 189230 - I18N - Translated "--> Job errors" message is displayed as warning when using with localized Sun Studio
Summary: I18N - Translated "--> Job errors" message is displayed as warning when using...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: I18N (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2010-08-05 01:23 UTC by Keiichi Oono
Modified: 2011-04-28 05:09 UTC (History)
1 user (show)

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 Keiichi Oono 2010-08-05 01:23:21 UTC
to reproduce:
1) Run NetBeans C/C++ in Simplified Chinese or Japanese environment with installed Sun Studio 12.1, or Solaris Studio 12.2
2) Build any C/C++ projects (e.g. Argments in samples)

The translated "--> Job errors" message is displayed as output from stderr (red colored). It seems English "--> Job errors" message is filtered by:

cnd.toolchain/src/org/netbeans/modules/cnd/toolchain/resources/toolchaindefinition/SunStudio_scanner.xml

ko121250@albus[508] $ tail -5 cnd.toolchain/src/org/netbeans/modules/cnd/toolchain/resources/toolchaindefinition/SunStudio_scanner.xml
        <filter_out pattern="^\(.*\).*:"/>
        <filter_out pattern=".* --> Job errors$"/>
        <filter_out pattern=".* --> Job output$"/>
    </scanner>
</toolchaindefinition>

When running NetBeans C/C++ with localized Sun Studio, those are not filtered because localized dmake output translated messaegs.
Comment 1 Thomas Preisler 2010-09-08 19:33:05 UTC
See also CR 6974781
Comment 2 Alexander Simon 2011-04-27 17:41:05 UTC
fixed, change set:
http://hg.netbeans.org/cnd-main/rev/520a8dccd6cf

Scanner filter out output by pattern ".* --> ".
Comment 3 Quality Engineering 2011-04-28 05:09:25 UTC
Integrated into 'main-golden', will be available in build *201104280000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/520a8dccd6cf
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed Bug #189230 - I18N - Translated "--> Job errors" message is displayed as warning when using with localized Sun Studio