Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Troubles accessing draw2d/gef plugins
Troubles accessing draw2d/gef plugins [message #147151] Tue, 10 August 2004 22:04 Go to next message
Philip Mayer is currently offline Philip MayerFriend
Messages: 30
Registered: July 2009
Member
Hello everybody,

I'm having trouble correctly installing GEF/Draw2D to be able to use it in
my plugins. I have developed a plugin using Draw2D during the Eclipse 3.0
"RC" phase - and always installing via ZIP file - which worked quite well.
Now I tried the same thing with Eclipse 3.0 and GEF 3.0 and the update
site, with the following results:

* When installing via update site (using the "Eclipse Update Site" which
is already listed in the update manager), the plugins get installed and
show up in the configuration, yet I cannot use them:
"File"/"Import"/"External plugins and fragments"/ does not show the gef or
draw2d plugin at all.

* When installing via ZIP file (and after manually enabling the plugins in
the Product Configuration dialog), importing and using the plugins is no
problem.

Disabling and enabling GEF after installing via update site does not help.

In both cases, exactly the same plugins and features are installed in the
plugins/features folders.

Now for me, this isn't a big problem; however, I would like the users of
my plugin to be able to download GEF via the update site. What exactly is
wrong here?

In order to reproduce my problem, you probably need a completely new
installation of Eclipse, as previously installed GEF plugins seem to
change the situation somehow... I used the Win32 version.

Thanks,

-phil
Re: Troubles accessing draw2d/gef plugins [message #147338 is a reply to message #147151] Wed, 11 August 2004 16:53 Go to previous messageGo to next message
Philip Mayer is currently offline Philip MayerFriend
Messages: 30
Registered: July 2009
Member
Looks like I'll be answering my own post :(.

I narrowed the problem down to the following. I compared the directory
trees of an installation via update site and via ZIP file. It turned out
the update site contains the following directories, which are not
contained within the ZIP file:

Only in tree 2:
d:\java\_testEclipse3.0_6\eclipse\features\org.eclipse.gef.s dk_3.0.0\META-INF
Only in tree 2:
d:\java\_testEclipse3.0_6\eclipse\features\org.eclipse.gef.s ource_3.0.0\META-INF
Only in tree 2:
d:\java\_testEclipse3.0_6\eclipse\features\org.eclipse.gef_3 .0.0\META-INF
Only in tree 2:
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.draw2d .doc.isv_3.0.0\META-INF
Only in tree 2:
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.draw2d _3.0.0\META-INF
Only in tree 2:
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.gef.do c.isv_3.0.0\META-INF
Only in tree 2:
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.gef.so urce_3.0.0\META-INF
Only in tree 2:
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.gef_3. 0.0\META-INF

Now I know this sounds rather weird, but after deleting those directories,
the plugins can be imported using file/import. Somehow I don't trust my
own results here...

If I'm talking nonsense here, please drop me a line.

-phil
Re: Troubles accessing draw2d/gef plugins [message #147346 is a reply to message #147151] Wed, 11 August 2004 17:41 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
I was able to reproduce this problem. I noticed that the GEF plug-ins and
features downloaded from the update site vary slightly from the downloaded
zips in that they all have a META-INF folder. I don't think that's causing
the problem though. The features are being recognized just fine by the
"Import External Features" wizard. All plug-ins are installed properly and
work fine. I'll look into why they are not showing up in the
PDE-Target-Platform list or the Import-External-Plug-ins-and-Fragments list.


"Philip" <eclipse@pmayer.net> wrote in message
news:cfbgou$hqu$1@eclipse.org...
>
> Hello everybody,
>
> I'm having trouble correctly installing GEF/Draw2D to be able to use it in
> my plugins. I have developed a plugin using Draw2D during the Eclipse 3.0
> "RC" phase - and always installing via ZIP file - which worked quite well.
> Now I tried the same thing with Eclipse 3.0 and GEF 3.0 and the update
> site, with the following results:
>
> * When installing via update site (using the "Eclipse Update Site" which
> is already listed in the update manager), the plugins get installed and
> show up in the configuration, yet I cannot use them:
> "File"/"Import"/"External plugins and fragments"/ does not show the gef or
> draw2d plugin at all.
>
> * When installing via ZIP file (and after manually enabling the plugins in
> the Product Configuration dialog), importing and using the plugins is no
> problem.
>
> Disabling and enabling GEF after installing via update site does not help.
>
> In both cases, exactly the same plugins and features are installed in the
> plugins/features folders.
>
> Now for me, this isn't a big problem; however, I would like the users of
> my plugin to be able to download GEF via the update site. What exactly is
> wrong here?
>
> In order to reproduce my problem, you probably need a completely new
> installation of Eclipse, as previously installed GEF plugins seem to
> change the situation somehow... I used the Win32 version.
>
> Thanks,
>
> -phil
>
Re: Troubles accessing draw2d/gef plugins [message #147354 is a reply to message #147338] Wed, 11 August 2004 18:08 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
I didn't see your post earlier. But yes that seems to fix it. We'll get
this fixed on the update site as soon as possible.


"Philip" <eclipse@pmayer.net> wrote in message
news:cfdiub$glf$1@eclipse.org...
>
> Looks like I'll be answering my own post :(.
>
> I narrowed the problem down to the following. I compared the directory
> trees of an installation via update site and via ZIP file. It turned out
> the update site contains the following directories, which are not
> contained within the ZIP file:
>
> Only in tree 2:
>
d:\java\_testEclipse3.0_6\eclipse\features\org.eclipse.gef.s dk_3.0.0\META-IN
F
> Only in tree 2:
>
d:\java\_testEclipse3.0_6\eclipse\features\org.eclipse.gef.s ource_3.0.0\META
-INF
> Only in tree 2:
> d:\java\_testEclipse3.0_6\eclipse\features\org.eclipse.gef_3 .0.0\META-INF
> Only in tree 2:
>
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.draw2d .doc.isv_3.0.0\M
ETA-INF
> Only in tree 2:
>
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.draw2d _3.0.0\META-INF
> Only in tree 2:
>
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.gef.do c.isv_3.0.0\META
-INF
> Only in tree 2:
>
d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.gef.so urce_3.0.0\META-
INF
> Only in tree 2:
> d:\java\_testEclipse3.0_6\eclipse\plugins\org.eclipse.gef_3. 0.0\META-INF
>
> Now I know this sounds rather weird, but after deleting those directories,
> the plugins can be imported using file/import. Somehow I don't trust my
> own results here...
>
> If I'm talking nonsense here, please drop me a line.
>
> -phil
>
Re: Troubles accessing draw2d/gef plugins [message #147361 is a reply to message #147354] Wed, 11 August 2004 18:44 Go to previous messageGo to next message
Philip Mayer is currently offline Philip MayerFriend
Messages: 30
Registered: July 2009
Member
Pratik Shah wrote:
> I didn't see your post earlier. But yes that seems to fix it. We'll get
> this fixed on the update site as soon as possible.

Cool! Thanks a lot! :)

Philip
Re: Troubles accessing draw2d/gef plugins [message #147368 is a reply to message #147361] Wed, 11 August 2004 20:58 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=71823

"Philip" <eclipse@pmayer.net> wrote in message
news:cfdpe0$qa2$1@eclipse.org...
> Pratik Shah wrote:
> > I didn't see your post earlier. But yes that seems to fix it. We'll
get
> > this fixed on the update site as soon as possible.
>
> Cool! Thanks a lot! :)
>
> Philip
>
Previous Topic:creating mutliple edit parts
Next Topic:delete popup menu item in Outline page
Goto Forum:
  


Current Time: Thu Sep 26 05:39:59 GMT 2024

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

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

Back to the top