Hi Greg,

this is not a MercurialEclipse plugin issue...

It is just "usual" learning process for plugin developers, that Eclipse  
"update/install" framework "p2" is not so nice as it always advertised [1].

You should NEVER install things via GUI and uninstall them manually. This  
simply doesn't work, because it is not designed this way.

If you have used ANY GUI to install the plugin, you should use GUI to  
uninstall it.
If you like to control things to have a predictable state, you have to  
installe plugins manually (copy) and uninstall them manually too (remove +  
"-clean" startup afterwards). But you can't mix.

1) In your case, you should NOE manually copy all the deleted jars back to  
the previous place and uninstall them properly via "update" GUI.

2) Then, features anre not needed for the plugin itself, they are just a  
tribute to the p2 framework. So if you install your plugins *manually*,  
you can live fine without features (like me).

3) It is not clear for me, *HOW* you have "installed" your plugin version,  
so I can't help with this one. My personal way to work is NEVER use GUI,  
export deployable plugin via File->Export->Deployable Plugins->Directory,  
then copy the plugin to the Eclipse plugins (3.4) or dropins (3.5) dir,  
and restart Eclipse with -clean argument.

4) Give Eclipse 3.5 a try - it has much less p2 issues, and more PDT  
goodies for plugin developers.


[1] http://www.jroller.com/andyl/entry/why_p2_sucks

On Wed, 26 Aug 2009 22:24:01 +0200, Greg Ward <[email protected]> wrote:

>
> Hi all --
>
> I'm brand-new to MercurialEclipse and Eclipse plugin development, so
> please go easy on me.  I spent some time with the current stable
> version of MercurialEclipse today and found enough problems that I
> wanted to try the latest version.  So I followed the steps in the wiki
> (http://bitbucket.org/mercurialeclipse/main/wiki/Hackers) with minor
> difficulty.  (Specifically, the wiki said nothing about needing the
> PDE, so I had 9,000 compile errors when I first loaded the
> MercurialEclipse source.  I updated the wiki page to mention the PDE,
> but I'm not sure how complete my change is.)
>
> Anyways, I did manage to compile and install the plugin.  (I set the
> version to "1.3.1233.gw" -- figured having my initials in there would
> clarify things.)  However, the installation did not entirely work: it
> added plugins/com.vectrace.MercurialEclipse_1.3.1233.gw.jar to my
> Eclipse installation, but put nothing in features/.  (Installing via
> Help->Software Updates *does* add something to features/.)
>
> So after installing the development version, I had
>
>   features/com.vectrace.MercurialEclipse_1.3.1019/
>   plugins/com.vectrace.MercurialEclipse_1.3.1019.jar
>   plugins/com.vectrace.MercurialEclipse_1.3.1233.gw.jar
>
> and Eclipse said I still had 1.3.1019 installed.  (Oh yeah, I'm using
> Eclipse 3.4.1.)
>
> Just to make things worse, I manually removed the above three from the
> filesystem.  Now Eclipse reports no MercurialEclipse installed, but it
> won't let me install it because it's already installed.  ;-(
> Specifically, in Help->About Eclipse Platform->Plug-in Details, I see
> no trace of MercurialEclipse.  But if I go to Help->Software
> Updates->Available Software and select com.vectrace.MercurialEclipse
> 1.3.1019, I get this error message:
>
>   Cannot complete the request.  See the details.
>   com.vectrace.MercurialEclipse will be ignored because it is already  
> installed.
>   OK
>
> (The message "See the details" is misleading because that paragraph
> *is* the details.)
>
> Any help with either problem would be appreciated!
>
> Greg
>
> 


-- 
Kind regards,
Mit freundlichen Grüßen
Andrei Loskutov

@Home: http://andrei.gmxhome.de/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"MercurialEclipse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/mercurialeclipse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to