Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » deployed my gmf plug-in
deployed my gmf plug-in [message #177316] Fri, 14 March 2008 10:48 Go to next message
Eclipse UserFriend
Originally posted by: pegasobros.tiscali.it

Hi,
I've a big problem. I've created my gmf plug-in and I have to building and
export. I've used File>Export>Deployable plug-ins and fragments and I've
created my .zip file. Then I unzip this file in my eclipse folder "plugin"
but when I open Eclipse nothing is change! why? my plug-in works correctly
if I launch in development mode!!!
Please, help me!!!!
Daniele
Re: deployed my gmf plug-in [message #177324 is a reply to message #177316] Fri, 14 March 2008 12:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: marsha.rohrer.swisscom.com

Hi Daniele,

Did you export and instll all the needed plugins to run your gmf editor?

You need at least the core plugin holding all your models and the Java
representation of your model, the edit plugin which enables editing and
the diagram plugin wich defines your gmf editor.

Marsha
Re: deployed my gmf plug-in [message #177339 is a reply to message #177324] Fri, 14 March 2008 12:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pegasobros.tiscali.it

thanks for you answer!
I've 5 plug-in core, diagram, edit, editor and test but when I export them
I can export only diagram, edit, editor and test! why? It's very strange!!!
Re: deployed my gmf plug-in [message #177347 is a reply to message #177339] Fri, 14 March 2008 12:31 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Daniele,

Please don't cross post the same question to multiple newsgroups. Does
the core plugin have a plugin.xml and a MANIFEST.MF? If you try to
export just that one, it doesn't let you?


Daniele Persechino wrote:
> thanks for you answer!
> I've 5 plug-in core, diagram, edit, editor and test but when I export
> them I can export only diagram, edit, editor and test! why? It's very
> strange!!!
>
Re: deployed my gmf plug-in [message #177354 is a reply to message #177347] Fri, 14 March 2008 12:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pegasobros.tiscali.it

Sorry Ed, but I don't knew in which newsgroup to post my problem!!!
Well, my core plug-in has a manifest.mf and a plugin.xml but when I right
click on it and I select export>Deployable plug-in and fragments, in
"avaliable plug-in" window I've always diagram, edit, editor and test!
Re: deployed my gmf plug-in [message #177368 is a reply to message #177354] Fri, 14 March 2008 14:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Daniele,

Check whether the project is considered a plugin project. I.e., change
the filters... for the explorer/navigator to show ".*" files and look
at the .project file's contents. If it isn't, you should be able to
right click on it and use PDE Tools to convert it to a plugin project.


Daniele Persechino wrote:
> Sorry Ed, but I don't knew in which newsgroup to post my problem!!!
> Well, my core plug-in has a manifest.mf and a plugin.xml but when I
> right click on it and I select export>Deployable plug-in and
> fragments, in "avaliable plug-in" window I've always diagram, edit,
> editor and test!
Re: deployed my gmf plug-in [message #177376 is a reply to message #177368] Fri, 14 March 2008 15:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pegasobros.tiscali.it

If I right click and I select PDE Tools>Update Classpath I see all 5
plug-in with the core plug-in selectioned, but the core plug-in icon has a
symbol 01 on it...is it correct?
Re: deployed my gmf plug-in [message #177393 is a reply to message #177376] Fri, 14 March 2008 15:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Daniele,

It sounds like it's properly a plugin then. I'm not sure why it can't
be exported. Not sure hat the "01" symbol means. What's the ID of your
plugin (from the MANIFEST.MF)?


Daniele Persechino wrote:
> If I right click and I select PDE Tools>Update Classpath I see all 5
> plug-in with the core plug-in selectioned, but the core plug-in icon
> has a symbol 01 on it...is it correct?
>
Re: deployed my gmf plug-in [message #177400 is a reply to message #177393] Fri, 14 March 2008 15:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pegasobros.tiscali.it

This is the MANIFEST.MF of core plugin.

Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: it.unifi.dsi.cows; singleton:=true
Bundle-Version: 1.0.0
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Export-Package: COWS,
COWS.impl,
COWS.util
Require-Bundle: org.eclipse.core.runtime,
org.eclipse.emf.ecore;visibility:=reexport,
org.kermeta.sintaks
Eclipse-LazyStart: true

Can you see some mistake?
I'm hopeless!!
Re: deployed my gmf plug-in [message #177408 is a reply to message #177400] Fri, 14 March 2008 15:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Daniele,

I consulted with Chris and he pointed me to
https://bugs.eclipse.org/bugs/show_bug.cgi?id=67910. I need to run out
right now so I can't follow up until later.


Daniele Persechino wrote:
> This is the MANIFEST.MF of core plugin.
>
> Manifest-Version: 1.0
> Bundle-ManifestVersion: 2
> Bundle-Name: %pluginName
> Bundle-SymbolicName: it.unifi.dsi.cows; singleton:=true
> Bundle-Version: 1.0.0
> Bundle-ClassPath: .
> Bundle-Vendor: %providerName
> Bundle-Localization: plugin
> Bundle-RequiredExecutionEnvironment: JavaSE-1.6
> Export-Package: COWS,
> COWS.impl,
> COWS.util
> Require-Bundle: org.eclipse.core.runtime,
> org.eclipse.emf.ecore;visibility:=reexport,
> org.kermeta.sintaks
> Eclipse-LazyStart: true
>
> Can you see some mistake?
> I'm hopeless!!
>
>
Re: deployed my gmf plug-in [message #177510 is a reply to message #177316] Sun, 16 March 2008 10:35 Go to previous message
Eclipse UserFriend
Originally posted by: jan.koehnlein.web.de

Daniele-

these are typical errors
* Your plug-in has not been extracted to the <eclipse-home>/plugins
folder and not to a subfolder
* You have not specified all important files to be included in the
build.properties (plugin.xml, additional non-source folders, extension
point schemas etc)
* You are running eclipse without the "-clean" command line switch.
Especially if you have changed extensions or extension points.
* You are not running eclipse with the Java-Version defined in the
plug-ins manifest. You'll have a message in the error log, if that's the
cause.
* You haven't installed all dependencies. There will also be a message
in the error log
* Your plug-in does not appear in the PDE Runtime plugins view

Regards
Jan

Daniele Persechino wrote:
> Hi,
> I've a big problem. I've created my gmf plug-in and I have to building
> and export. I've used File>Export>Deployable plug-ins and fragments and
> I've created my .zip file. Then I unzip this file in my eclipse folder
> "plugin" but when I open Eclipse nothing is change! why? my plug-in
> works correctly if I launch in development mode!!! Please, help me!!!!
> Daniele
>
Previous Topic:BorderItem
Next Topic:Two editor for a metamodel
Goto Forum:
  


Current Time: Tue Apr 16 21:55:27 GMT 2024

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

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

Back to the top