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 213274

Summary: Cannot start IDE by tryme target from IDE
Product: platform Reporter: Alexander Simon <alexvsimon>
Component: Launchers&CLIAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED FIXED    
Severity: normal CC: issues
Priority: P1 Keywords: REGRESSION
Version: 7.2   
Hardware: PC   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexander Simon 2012-05-31 07:29:10 UTC
Log:
ant -f /export/home/as204739/cnd-main/nbbuild tryme
tryme-setup-debug-args:
tryme:
/export/home/as204739/cnd-main/nbbuild/netbeans/bin/netbeans: -: does not exist
/export/home/as204739/cnd-main/nbbuild/build.xml:990: exec returned: 1
BUILD FAILED (total time: 0 seconds)
Comment 1 Alexander Simon 2012-05-31 07:31:45 UTC
Root cause of problem is "cd -" in netbeans script.
It does nit work in sh.
Example:
{2} bash-3.00#sh
$ cd -
-: does not exist
Comment 2 Jiri Rechtacek 2012-05-31 12:15:37 UTC
Weird we cannot reproduce it on several platforms (incl. Solaris11) and with several Shells. Anyway, the patch http://hg.netbeans.org/core-main/rev/f14d3d9f4a57 makes it more robust I guess.
Comment 3 Alexander Simon 2012-05-31 12:44:46 UTC
"cd -" does not work on Solaris 10.
Comment 4 Leonid Lenyashin 2012-05-31 15:12:01 UTC
pushd & popd is more ubiquitous alternative to 
cd -
Comment 5 Quality Engineering 2012-06-01 05:28:47 UTC
Integrated into 'main-golden', will be available in build *201206010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/f14d3d9f4a57
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #213274: Cannot start IDE by tryme target from IDE