Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Feature patch update
Feature patch update [message #327101] Wed, 09 April 2008 15:07
Mike Tabb is currently offline Mike TabbFriend
Messages: 24
Registered: July 2009
Junior Member
Hi ,
If I try to apply a patch to a feature that has previously been patched , I
get a message from the update site search that says no updates could be
found. The previous patch is called myfeature.patch_<some unique qualifier>
, my new patch is called myfeature.patch_<some unique qualifier>. It seems
the update code does not like patches to be applied on top of patches of the
same name , it only looks at their id not version:

This is from UpdateQuery#collectValidHits()
if (hit.isPatch()) {

IFeature patch = job.getFeature();

// Do not add the patch if already installed

IFeature[] sameId = UpdateUtils.getInstalledFeatures(patch, false); <--
It looks here for features of same name

if (sameId.length==0) { <-- Fails here

if (filter.accept(patch))

collector.accept(patch);

}

}

Is this a rule by eclipse to not allow multiple patches of the same name to
be applied? Its hard to find the correct doc on this. I tried renaming the
new patch id to a different name , and it succeeds. Has anyone run into
this before? Thanks in advance.
Previous Topic:FileSystemImportWizard: Problem Openeing Wizard
Next Topic:Context Sensitive help on linux
Goto Forum:
  


Current Time: Tue Jul 16 13:46:10 GMT 2024

Powered by FUDForum. Page generated in 0.02966 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top