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 28729

Summary: Need an AU-specific InstalledFileLocator implementation
Product: platform Reporter: Jesse Glick <jglick>
Component: AutoupdateAssignee: Jiri Rechtacek <jrechtacek>
Status: VERIFIED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 28683    
Bug Blocks:    

Description Jesse Glick 2002-11-13 18:20:52 UTC
I.e. autoupdate should supply an implementation of
this interface.

The core impl will just searches user dir and
install dir(s). But AU could instead be smarter:
if codeNameBase is supplied, check the 
installed_modules/*.xml file to see where the
active (currently installed) version of the module
really is, and look only there. E.g. if there is a
newer version of the NBM unpacked in the home dir
than the user dir, you want to check the home dir
but not the user dir.
Comment 1 Jesse Glick 2002-11-13 18:21:59 UTC
Marking DEFECT not because autoupdate was doing anything wrong, but
other modules were (in rare cases, admittedly) - and the solution can
be implemented in AU.
Comment 2 akemr 2002-11-14 15:45:06 UTC
Not sure, what did you mean by "installed_modules/*.xml".. it should
be system/Modules/*.xml, right?
Comment 3 Jesse Glick 2002-11-14 17:41:36 UTC
No, actually I meant update_tracking/*.xml, sorry.
Comment 4 Marian Mirilovic 2002-12-06 18:50:32 UTC
reassigne to Hrebejk, new owner of autupdate 
Comment 5 Jaromir Uhrik 2003-01-06 11:04:06 UTC
Version changed: 4.0 dev -> S1S 4.2
Comment 6 Marian Mirilovic 2003-12-01 10:49:52 UTC
reassigne to Jirka - new owner of autoupdate
Comment 7 Jiri Rechtacek 2005-02-03 15:28:08 UTC
IMHO It's obsolete since new files layout.
Comment 8 Jesse Glick 2005-04-09 16:33:23 UTC
The new file layout has nothing to do with it, and it's not obsolete, but it
probably doesn't have to be fixed anyway.
Comment 9 Marian Mirilovic 2005-12-20 16:17:37 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. 

Thanks in advance.
Comment 10 Jesse Glick 2009-12-22 17:02:13 UTC
As of the fix for bug #112885 there is an AU-specific IFL impl, but it does not pay attention to the actual owners of files.