Bug 111701 - Autoupdate should overwrite the existing location while updating modules
Autoupdate should overwrite the existing location while updating modules
Status: RESOLVED FIXED
Product: platform
Classification: Unclassified
Component: Autoupdate
6.x
All All
: P2 (vote)
: 6.x
Assigned To: Jiri Rechtacek
issues@platform
: API_REVIEW_FAST
Depends on:
Blocks: 111384
  Show dependency treegraph
 
Reported: 2007-08-02 09:38 UTC by Jiri Rechtacek
Modified: 2007-08-10 14:05 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Rechtacek 2007-08-02 09:38:28 UTC
Autoupdate will overwrite the existing location of module while updating it. Moreover will utilize 'targetcluster'
attribute in NBM's attributes if installs new modules. By Jesse's suggestion in issue 111384:

------- Additional comments from jglick Tue Jul 31 18:22:43 +0000 2007 -------
Yes, I would think the behavior should be:
1. If an update, overwrite the existing location, wherever that is.
2. Otherwise (new module), if a cluster name is specified in NBM, put it there (creating the cluster if necessary).
3. Otherwise (no cluster name specified), if marked global, maybe put it into an "extra" cluster (to be created on
demand)? (platform* is a bad choice and nothing else makes sense.)
4. Otherwise (global="false" or unspecified), put it in user dir.
Comment 1 Jiri Rechtacek 2007-08-08 16:50:23 UTC
I'm going to fix it tomorrow.
Comment 2 Jiri Rechtacek 2007-08-10 14:04:59 UTC
Checking in src/org/netbeans/modules/autoupdate/services/InstallManager.java;
/shared/data/ccvs/repository/autoupdate/services/src/org/netbeans/modules/autoupdate/services/InstallManager.java,v  <--
 InstallManager.java
new revision: 1.14; previous revision: 1.13
done
Checking in libsrc/org/netbeans/updater/UpdateTracking.java;
/shared/data/ccvs/repository/autoupdate/services/libsrc/org/netbeans/updater/UpdateTracking.java,v  <--  UpdateTracking.java
new revision: 1.8; previous revision: 1.7
done
Checking in test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterTest.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterTest.java,v
 <--  TargetClusterTest.java
initial revision: 1.1
done
RCS file:
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenTargerClusterDeclaredTest.java,v
done
Checking in test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenTargerClusterDeclaredTest.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenTargerClusterDeclaredTest.java,v
 <--  TargetClusterWhenTargerClusterDeclaredTest.java
initial revision: 1.1
done
RCS file:
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenGlobalUndeclaredTest.java,v
done
Checking in test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenGlobalUndeclaredTest.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenGlobalUndeclaredTest.java,v
 <--  TargetClusterWhenGlobalUndeclaredTest.java
initial revision: 1.1
done
RCS file:
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterTestCase.java,v
done
Checking in test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterTestCase.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterTestCase.java,v
 <--  TargetClusterTestCase.java
initial revision: 1.1
done
RCS file:
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenUpdateLocallyTest.java,v
done
Checking in test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenUpdateLocallyTest.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenUpdateLocallyTest.java,v
 <--  TargetClusterWhenUpdateLocallyTest.java
initial revision: 1.1
done
Checking in test/unit/src/org/netbeans/modules/autoupdate/services/NbmAdvancedTestCase.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/NbmAdvancedTestCase.java,v
 <--  NbmAdvancedTestCase.java
new revision: 1.3; previous revision: 1.2
done
RCS file:
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenUpdateGloballyTest.java,v
done
Checking in test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenUpdateGloballyTest.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/TargetClusterWhenUpdateGloballyTest.java,v
 <--  TargetClusterWhenUpdateGloballyTest.java
initial revision: 1.1
done
Checking in test/unit/src/org/netbeans/modules/autoupdate/services/InstallEagerModuleTest.java;
/shared/data/ccvs/repository/autoupdate/services/test/unit/src/org/netbeans/modules/autoupdate/services/InstallEagerModuleTest.java,v
 <--  InstallEagerModuleTest.java
new revision: 1.4; previous revision: 1.3
done


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo