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 39022

Summary: Auto Update broken for restarting IDE
Product: platform Reporter: Jesse Glick <jglick>
Component: AutoupdateAssignee: Jaroslav Tulach <jtulach>
Status: VERIFIED FIXED    
Severity: blocker CC: jrechtacek, mslama
Priority: P2 Keywords: REGRESSION
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 32053    

Description Jesse Glick 2004-01-20 18:48:07 UTC
It seems that the AU client is currently broken
for updating existing modules. Try running a dev
build and downloading treefs from beta AU -
installs fine in user dir w/o restart. Now run AU
again on alpha AU and get the newer treefs (1.22
-> 1.26) and agree to restart. It is not
installed; treefs.nbm 1.26 stays in
$userdir/update/download/; every time you exit the
IDE it restarts.

Seems to be caused by a mistake in runide.sh (did
not check runide.exe) 1.51, not corrected in 1.52.

do_run_updater() {
    eval "\"$jdkhome/bin/java\"" -classpath
"\"${updatercp}\"" $jargs $updater_class
}

does not pass in the userdir any more, since
$jargs no longer includes
"-J-Dnetbeans.user=$userdir". Probably need to add
that explicitly.
Comment 1 Jaroslav Tulach 2004-01-23 12:54:54 UTC
Unix version fixed. Windows did not have this problem.

/cvs/core/release/bin/runide.sh,v  <--  runide.sh
new revision: 1.53; previous revision: 1.52
Comment 2 Jaroslav Tulach 2004-01-23 12:56:20 UTC
x
Comment 3 Lukas Hasik 2004-02-26 16:47:09 UTC
x