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 31828 - error messages from runide.sh don't appear on stderr
Summary: error messages from runide.sh don't appear on stderr
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords: SIMPLEFIX
Depends on:
Blocks:
 
Reported: 2003-03-10 15:50 UTC by Marian Mirilovic
Modified: 2008-12-22 19:02 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 Marian Mirilovic 2003-03-10 15:50:22 UTC
Issue has been transferred from BugTraq:
http://developer.java.sun.com/developer/bugParade/bugs/4742309.html
---------------------------------------------

Description: 
When runide.sh is executed error messages are published on stdout, not stderr -
this contradicts the standard shell conventions.

To duplicate:
Assume that the directory /foobar/jdk doesn't exist on the system:

bash-2.00$ ffj -jdkhome /foobar/jdk 1>/dev/null
bash-2.00$ 


Work Around: 
Dont redirect the (copious!!!!) output on stdout to some non-visible stream

Suggested Fix: 
Modify runide.sh to put error messages onto stderr

A comment.
Comment 1 Jesse Glick 2003-03-11 19:11:44 UTC
committed   * Up-To-Date  1.48        core/release/bin/runide.sh
committed   * Up-To-Date  1.97       
core/src/org/netbeans/core/NonGui.java
Comment 2 Marian Mirilovic 2003-03-18 20:18:46 UTC
verified in source code