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 - Auto Update broken for restarting IDE
Summary: Auto Update broken for restarting IDE
Alias: None
Product: platform
Classification: Unclassified
Component: Autoupdate (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Jaroslav Tulach
Depends on:
Blocks: 32053
  Show dependency tree
Reported: 2004-01-20 18:48 UTC by Jesse Glick
Modified: 2004-02-26 16:47 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 (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/,v  <--
new revision: 1.53; previous revision: 1.52
Comment 2 Jaroslav Tulach 2004-01-23 12:56:20 UTC
Comment 3 Lukas Hasik 2004-02-26 16:47:09 UTC