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 175830 - !: not found
Summary: !: not found
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: t_h
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-31 00:44 UTC by ivan
Modified: 2009-11-03 10:18 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 ivan 2009-10-31 00:44:05 UTC
Whenever I run Nb from NB I get this in the output tab:

/export/home/gdbgui/dev_install/sparc-S2/SUNWspro/netbeans/platform11/lib/nbexec: !: not found

I'm using NB 6.7 but the above nbexec is from trunk.
It seems benign, but it's annoying in that it stops the output window from scrolling
further.
Comment 1 ivan 2009-10-31 00:45:38 UTC
I added a 
set -x 
at the top of my nbexec to get a shell trace and got this:

+ grep -- -XX:HeapDumpPath= 
+ ! echo -Dnetbeans.home="/export/home/gdbgui/dev_install/sparc-S2/SUNWspro/netbeans/platform11"
'-Dnetbeans.logger.console=true' '-ea' '-Xdebug'
'-Xrunjdwp:transport=dt_socket,suspend=n,server=n,address=djomolungma:40929'
'-Dspro.home=/export/home/gdbgui/toolshg/dbxgui/Dbxtool/../../../dev_install/sparc-S2/SUNWspro' '-Dspro.pwd=/home/ivan'
'-Dspro.dbxtool=on' '-Dcnd.nativedebugger=dbx' '-Dcnd.nativedebugger=gdb' '-Dnetbeans.full.hack=true'
'-Dnetbeans.logger.console=true' '-Dbase.InstallDir.debug=false' '-DGlue.snd=false' '-DGlue.rcv=false'
'-DGlue.master=false' '-DGlue.core=false' '-DGlue.sm=false' '-DGlue.rr=false' '-DGlue.beachhead=false'
'-DGlue.notifier=false' '-DGlue.notifier_impl=false' '-DGlue.tunneler=false' '-DJSch.debug=false'
'-Dcnd.nativedebugger.JSch.debug=false' -XX:+HeapDumpOnOutOfMemoryError 
/export/home/gdbgui/dev_install/sparc-S2/SUNWspro/netbeans/platform11/lib/nbexec: !: not found

The only occurance in nbexec of "! echo" is these lines:

# if heap dump on OOME is supported enable it
if "${jdkhome}/bin/java" -XX:+HeapDumpOnOutOfMemoryError > /dev/null 2>&1 ; then
   jargs="$jargs -XX:+HeapDumpOnOutOfMemoryError"
   if ! echo $jargs | grep -- "-XX:HeapDumpPath=" > /dev/null ; then
      jargs="$jargs -XX:HeapDumpPath=\"${userdir}/var/log/heapdump.hprof\""
   fi
fi
Comment 2 t_h 2009-11-02 13:56:45 UTC
core-main #b591e14bf1a7
Comment 3 Quality Engineering 2009-11-03 10:18:34 UTC
Integrated into 'main-golden', will be available in build *200911030222* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/b591e14bf1a7
User: Tomas Holy <t_h@netbeans.org>
Log: #175830: old shell does not support '!'