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.
Summary: | !: not found | ||
---|---|---|---|
Product: | platform | Reporter: | ivan <ivan> |
Component: | Launchers&CLI | Assignee: | t_h <t_h> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
ivan
2009-10-31 00:44:05 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 core-main #b591e14bf1a7 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 '!' |