Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Distribution of custom patches.

Joseph Henry wrote:
> I created a feature patch project
> 
> Name                     = Patch
> Feature ID            = org.eclipse.cdt.platform
> Feature Version = 8.1.2.201302132326
> 
> Included plugins are:
> 
> Org.eclipse.cdt.managedbuilder.core (0.0.0)

That looks good so far and matches what we have (we also patch org.eclipse.cdt.platform for org.eclipse.cdt.managedbuilder.core (and a few more)).

> Now, when I export this feature, and try and update an eclipse install I get this error:
> 
> "Patch" is not applicable to the current configuration and will not be installed.

If I remember correctly that message indicates a version mismatch. Have you double-checked that the Eclipse you're trying to install this into has org.eclipse.cdt.platform 8.1.2.201302132326 installed?

(Note that there are certain bugs related to generating proper version requirements in the feature patch export procedure, but they shouldn't be related to your problem:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=350088
https://bugs.eclipse.org/bugs/show_bug.cgi?id=392142
I have built the patches posted there into a feature patch "p2 Eclipse Publisher Bugfix" in update site http://idev.indel.ch/indel (no guarantees about continued availability, this is an internal thing) and generally use that to build our product.
If in doubt, examine the content.xml inside content.jar of your exported repository for what requirements were actually generated.)

 -Christian



Back to the top