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 13081 - Change calling mechanism of Updater in IDE launcher - exe
Summary: Change calling mechanism of Updater in IDE launcher - exe
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P2 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-06-22 08:43 UTC by akemr
Modified: 2008-12-22 16:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description akemr 2001-06-22 08:43:47 UTC
1. After finishing IDE, launcher should run updater if there 
 will be in IDEHOME(or IDEUSER)/update/download/ directory:
 1. at least one nbm file
 2. no install_later.xml file

2. Before starting IDE, launcher should run updater if there 
 will be in IDEHOME(or IDEUSER)/update/download/ directory:
 1. install_later.xml file and
 2. at least one nbm file


Reason:
I need some changes in IDE launcher, regarding
one of Autoupdate features for NB3.3:
http://autoupdate.netbeans.org/new/details33.html#2

Briefly, it will be possible on the last page of AU wizard
to choose between "restart immediately" (current behaviour)
and "install later before next IDE start".

There are also known problems with returning code (mainly on Linux
 - see e.g. http://www.netbeans.org/issues/show_bug.cgi?id=10071),
so calling Updater after finishing should be also changed.
Comment 1 akemr 2001-06-22 08:48:34 UTC
There is also #13082 for script launcher.
Comment 2 Vitezslav Stejskal 2001-07-01 17:44:21 UTC
New startup algorithm is implemented, but commented out. I will uncomment it 
when script launchers will be changed and Autoupdate will be ready to use it. 

BTW should the return code 66 still restart IDE?
Comment 3 Vitezslav Stejskal 2001-07-09 17:47:46 UTC
Done, IDE return codes ignored.
Comment 4 Jesse Glick 2001-07-09 19:23:47 UTC
The IDE will now only return 0.
Comment 5 akemr 2001-07-31 13:08:25 UTC
I need to change algorithm this way:

A. for MULTIUSER mode:

A1. After finishing IDE, launcher should run updater if there 
 will be in IDEHOME/update/download/ or IDEUSER/update/download/ 
directory:
 1. at least one nbm file
 2. no install_later.xml file

A2. Before starting IDE, launcher should run updater if there 
 will be in IDEHOME/update/download/ or IDEUSER/update/download/ 
directory:
 1. install_later.xml file and
 2. at least one nbm file


B. for SINGLEUSER mode (current state is OK):

B1. After finishing IDE, launcher should run updater if there 
 will be in IDEHOME/update/download/ directory:
 1. at least one nbm file
 2. no install_later.xml file

B2. Before starting IDE, launcher should run updater if there 
 will be in IDEHOME/update/download/ directory:
 1. install_later.xml file and
 2. at least one nbm file
Comment 6 Vitezslav Stejskal 2001-07-31 14:34:41 UTC
Done in main trunk.
Comment 7 Quality Engineering 2003-07-01 16:08:01 UTC
Resolved for 3.4.x or earlier, no new info since then -> verified.

Comment 8 Quality Engineering 2003-07-01 16:33:43 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.