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 - Cannot start IDE by tryme target from IDE
Summary: Cannot start IDE by tryme target from IDE
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Launchers&CLI (show other bugs)
Version: 7.2
Hardware: PC Solaris
: P1 normal (vote)
Assignee: Jiri Rechtacek
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2012-05-31 07:29 UTC by Alexander Simon
Modified: 2012-06-01 05:28 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 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