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 202161

Summary: Autoupdate must remove old files from correct folder
Product: platform Reporter: Peter Nabbefeld <epdv>
Component: AutoupdateAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 7.1   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description Peter Nabbefeld 2011-09-15 07:52:15 UTC
When location of some module changes, AU cannot correctly update it, because AU tries to remove the old version from the destination folder instead from its current location.

see bug #201232 for a discussion about that problem (update of org.apache.commons.codec and org.apache.commons.lang in that case).
Comment 1 Jiri Rechtacek 2013-07-03 13:21:02 UTC
(In reply to comment #0)
> When location of some module changes, AU cannot correctly update it, because AU
The location of module should not change between updates. The supported use-case is the autoupdate should be able to deliver patches for the one major version of product (patch1 for 7.3), for patches the placement of modules cannot change.

> tries to remove the old version from the destination folder instead from its
> current location.
Right, it makes sense, it is a possible improvement in AU.

> see bug #201232 for a discussion about that problem (update of
> org.apache.commons.codec and org.apache.commons.lang in that case).