Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Unable to install GEF/Draw2D/Zest in 3.5.1
Unable to install GEF/Draw2D/Zest in 3.5.1 [message #495457] Wed, 04 November 2009 23:05 Go to next message
No real name is currently offline No real nameFriend
Messages: 38
Registered: July 2009
Member
I developed an application using GEF/Draw2D in Eclipse 3.2.2 (!) and now
I'm upgrading to 3.5.1.

I'm almost done with my application upgrade, except for the GEF/Draw2D
feature. I have been trying for a day to get GEF/Draw2D to install, all
with no success. How do I determine success? If the plugin(s) show up
in the Plug-in Development/Target Platform preferences. I hit Reload...
as well, to refresh the entries, but nothing.

I've successfully installed other plugins with some of the methods
below, but not GEF/Draw2D.

Attempts:

1) downloaded the GEF-SDK-3.5.1.zip and unzipped it in the
eclipse/plugins (n eclipse/features) directories. Restarted eclipse
with '-clean -refresh' options. Failed.

2) unzipped GEF-SDK-3.5.1.zip in 'eclipse/dropins/gef'. Restarted
Eclipse with '-clean -refresh' options. Failed.

3) Tried the 'Install new Software...' route. Went to the main Galileo
release site, unchecked the 'Group Items by category' at the bottom,
typed 'graphical' in the search box, and then selected the 3.5.1 GEF and
Draw2D items and the three Zest 1.1.1 items. Clicked next, then Finish.
It does something, but then fails with the following message.

I definitely have write access to the main 'eclipse' installation'
directory, but no plugins/feature files are downloaded.


An error occurred during the
org.eclipse.equinox.internal.provisional.p2.engine.phases.Ch eckTrust phase.
session context was:(profile=SDKProfile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.CheckTrust,
operand=, action=).
Error reading signed content.
The file
" /usr/share/eclipse-SDK-3.5.1/plugins/org.eclipse.draw2d_3.5. 1.v20090813-1341.jar "
does not exist


I'm stuck.
Re: Unable to install GEF/Draw2D/Zest in 3.5.1 [message #495641 is a reply to message #495457] Thu, 05 November 2009 15:20 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 38
Registered: July 2009
Member
More notes:

When I drop the draw2d plugins into the main eclipse/plugins directory
and restart eclipse, I see the following in the workspace/.metadata/.log
file (I'm running on Linux, FC10):

!SESSION 2009-11-05 09:12:26.604
-----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.6.0_12
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Framework arguments: -refresh
Command-line arguments: -os linux -ws gtk -arch x86 -clean -refresh -debug

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-11-05 09:12:32.350
!MESSAGE The installable unit
org.eclipse.equinox.executable_root.gtk.linux.x86 is missing the
filename property.

!ENTRY org.eclipse.equinox.p2.directorywatcher 4 0 2009-11-05 09:12:32.350
!MESSAGE The installable unit
org.eclipse.equinox.executable_root.motif.hpux.ia64_32 is missing the
filename property.

And then at the bottom:

!ENTRY org.eclipse.equinox.p2.engine 4 4 2009-11-05 09:12:33.015
!MESSAGE An error occurred while installing the items
!SUBENTRY 1 org.eclipse.equinox.p2.engine 4 0 2009-11-05 09:12:33.015
!MESSAGE session context was:(profile=SDKProfile,
phase=org.eclipse.equinox.internal.provisional.p2.engine.pha ses.Install,
operand=null --> [R]org.eclipse.equinox.executable_root
3.3.200.R35x_v20090724-7M-FneFF9aMTyz0pw04ONXn,
action=org.eclipse.equinox.internal.p2.touchpoint.natives.ac tions.UnzipAction).
!SUBENTRY 1 org.eclipse.equinox.p2.touchpoint.natives 4 0 2009-11-05
09:12:33.015
!MESSAGE The artifact for
binary,org.eclipse.equinox.executable_root,3.3.200.R35x_v200 90724-7M-FneFF9aMTyz0pw04ONXn
is not available.

???

RacerNewbie wrote:
> I developed an application using GEF/Draw2D in Eclipse 3.2.2 (!) and now
> I'm upgrading to 3.5.1.
>
> I'm almost done with my application upgrade, except for the GEF/Draw2D
> feature. I have been trying for a day to get GEF/Draw2D to install, all
> with no success. How do I determine success? If the plugin(s) show up
> in the Plug-in Development/Target Platform preferences. I hit Reload...
> as well, to refresh the entries, but nothing.
>
> I've successfully installed other plugins with some of the methods
> below, but not GEF/Draw2D.
Re: [RESOLVED] Unable to install GEF/Draw2D/Zest in 3.5.1 [message #495662 is a reply to message #495641] Thu, 05 November 2009 16:33 Go to previous message
No real name is currently offline No real nameFriend
Messages: 38
Registered: July 2009
Member
Ok, this is resolved.....

The problem was due to these bugs:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=248578
https://bugs.eclipse.org/bugs/show_bug.cgi?id=278086

I had, indeed, dropped the delta pack into my installation as we develop
on various platforms and release on various platforms. Sort of nice to
be able to cross-build.

Anyway, more notes:

1) I reinstalled Eclipse but connected to my existing (3.5.1-based)
workspace and tried to download the GEF/Draw2D packs via the software
update process. This also failed. The packs seemed to download but
were not recognized by the platform (Preference -> Plug-in Devo ->
Target Platform). I hit Reload... which complained about being out of
date and to restart. Which I did. Again. Again. Again. Each time
the Target Platform did not have the packs and complained about being
out of sync.

2) I also found the plugins were downloaded into my
$HOME/.eclipse/org.eclipse_3.5.0/... directory which seemed to cause
problems.

In the end, in order to get this to work, I:

a) reinstalled Eclipse 3.5.1 (and no delta pack...)
b) deleted my existing 3.5.1-based workspace and recreated it.
c) deleted the .eclipse/org.eclipse-3.5.0... directory.
d) dropped the GEF/Draw2D package into the 'dropins/gef' directory.

It worked! Whew.....

RacerNewbie wrote:
> More notes:
>
> When I drop the draw2d plugins into the main eclipse/plugins directory
> and restart eclipse, I see the following in the workspace/.metadata/.log
> file (I'm running on Linux, FC10):
>
Previous Topic:[Draw2D]Howto comsume mouse event inside a Figure on top of a Canvas
Next Topic:MarqueeSelectionTool selection behavior
Goto Forum:
  


Current Time: Sun Dec 21 05:40:31 GMT 2014

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

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