Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Update CDT installation after small patch - how?

Do you have features as well in the dropins folder?
Features reference particular plugin versions which prevents an automatic upgrade - AFAIK.

Toni

-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Achim Bursian
Sent: Friday, May 27, 2011 13:35
To: CDT General developers list.
Subject: Re: [cdt-dev] Update CDT installation after small patch - how?

I guess that won't help here, as (just to make things complicated) I have to maintain an old legacy system here, which uses the dropins mechanism for installing plugins, not the p2 API.
Actually, the whole CDT is installed in a dropins subdir. I can't remove the original plugin jar, as that would break the running Eclipse instance for those in the team who are currently working with the IDE. 
There is no way to tell all of them to shut down Eclipse, so I have to install an updated jar in parallel.

That works fine with my own plugin, I simply increase the version number and add the new jar to the dropins folder. On the next Eclipse start, the new version is used. Only with CDT this approach does not work.
 -Achim

Marc Khouzam wrote on 2011-05-27 11:49:
> I recently learned about a "Feature Patch" project from the forums
> http://www.eclipse.org/forums/index.php?t=msg&goto=543780&S=23e8b33da3
> e33c6c5a38cbaac3d95888
>
> That allowed me to update an existing eclipse install with a small patch.
>
> Marc
>
> ________________________________________
> From: cdt-dev-bounces@xxxxxxxxxxx [cdt-dev-bounces@xxxxxxxxxxx] On 
> Behalf Of Achim Bursian [abu.aud@xxxxxxxxxxx]
> Sent: May 27, 2011 4:29 AM
> To: CDT Dev Mailinglist
> Subject: [cdt-dev] Update CDT installation after small patch - how?
>
> Hi everybody,
> maybe this is a very dumb question, but:
> I currently have the need to patch the org.eclipse.cdt.ui plugin (only 
> one line added), and deploy that patched jar file to a shared 
> installation which is used by more than 100 developers.
>
> If I do not change anything in the plugin.xml, that works fine, and my 
> patch is active if I replace the original file. But I would like to 
> change the build date in the version string. If I touch the version 
> string (if that matters, this is still 5.1.1.200909110608, and I 
> changed it to 5.1.1.201105261000) the build process still runs fine, 
> but the plugin does not get loaded during Eclipse startup. Don't know why.
>
> I already learned that the setup for a complete CDT build is far from 
> trivial, but that's not what I need. Is there any way to simply change 
> the version string and have the plugin being picked up? That way, I 
> could deploy it to the dropins area, which would make the handling 
> much easier.
>
> Thanks for help
>   Achim
>
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
>
>   
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top