Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » how to create a stand alone plugin foom EMF model
how to create a stand alone plugin foom EMF model [message #431458] Sat, 11 July 2009 09:29 Go to next message
Elad is currently offline EladFriend
Messages: 7
Registered: July 2009
Junior Member
Hello.

I have created an EMF plug-in, and I want to move it
to a different Eclipse that users will be able to work with it.
My plug-in name is called "TESTING", so I have 5 folders :
TESTING,TESTING.diagram,TESTING.edit,TESTING.editor,TESTING. tests.

I tried to export all of them to JAR and then move it to the new Eclipse
program
in the "plugins" folder. The Eclipse doesnt seems to recognize the plug-in.

Can someone please tell me how to do it properly or give me a tutorial
link.

Thanks a lot.

Elad
Re: how to create a stand alone plugin foom EMF model [message #431459 is a reply to message #431458] Sat, 11 July 2009 09:46 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6457
Registered: July 2009
Senior Member
Elad,

You need to export the 5 plugin projects with the "Deployable Plugins
and Fragments" wizard.

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Elad schrieb:
> Hello.
>
> I have created an EMF plug-in, and I want to move it
> to a different Eclipse that users will be able to work with it.
> My plug-in name is called "TESTING", so I have 5 folders :
> TESTING,TESTING.diagram,TESTING.edit,TESTING.editor,TESTING. tests.
>
> I tried to export all of them to JAR and then move it to the new
> Eclipse program in the "plugins" folder. The Eclipse doesnt seems to
> recognize the plug-in.
>
> Can someone please tell me how to do it properly or give me a tutorial
> link.
>
> Thanks a lot.
>
> Elad
>


Re: how to create a stand alone plugin foom EMF model [message #431461 is a reply to message #431459] Sat, 11 July 2009 09:58 Go to previous messageGo to next message
Elad is currently offline EladFriend
Messages: 7
Registered: July 2009
Junior Member
Thanks for the quick answer.

Do I need to put the JAR file in a folder inside the plugins? should I add
the plugin.xml to that folder?

Thanks
Re: how to create a stand alone plugin foom EMF model [message #431462 is a reply to message #431461] Sat, 11 July 2009 10:08 Go to previous messageGo to next message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6457
Registered: July 2009
Senior Member
Elad schrieb:
> Thanks for the quick answer.
You're welcome.

> Do I need to put the JAR file in a folder inside the plugins? should I
> add the plugin.xml to that folder?
Sorry, I have no clue what you mean by this ;-(
Maybe you should google a bit. Or start here:
http://agile.csc.ncsu.edu/SEMaterials/tutorials/plugin_dev

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper


Re: how to create a stand alone plugin foom EMF model [message #431463 is a reply to message #431462] Sat, 11 July 2009 10:52 Go to previous messageGo to next message
Elad is currently offline EladFriend
Messages: 7
Registered: July 2009
Junior Member
I export the 5 folders to the plugins directory.
The work environment looks like my plug-in. But when I try to open a new
diagram file ( which is my emf based file ) I only see "Example EMF Model
Creation Wizards" and inside a file type named "Test Model" which
contains only the EMF element and not the graphic model.
How can I see my graphic model when I want to create a new diagram.

Sorry for my bad English.

thanks
Elad

Eike Stepper wrote:

> Elad schrieb:
>> Thanks for the quick answer.
> You're welcome.

>> Do I need to put the JAR file in a folder inside the plugins? should I
>> add the plugin.xml to that folder?
> Sorry, I have no clue what you mean by this ;-(
> Maybe you should google a bit. Or start here:
> http://agile.csc.ncsu.edu/SEMaterials/tutorials/plugin_dev

> Cheers
> /Eike

> ----
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
Re: how to create a stand alone plugin foom EMF model [message #431464 is a reply to message #431463] Sat, 11 July 2009 10:57 Go to previous message
Elad is currently offline EladFriend
Messages: 7
Registered: July 2009
Junior Member
"I only see "Example EMF Model
> Creation Wizards" and inside a file type named "Test Model" which
> contains only the EMF element and not the graphic model."

when choose to create the "Test Model" it tells me to choose a "Model
Object" which is an element from my EMF.
Why is he asking that instead of opening my original diagram file?


Elad wrote:

> I export the 5 folders to the plugins directory.
> The work environment looks like my plug-in. But when I try to open a new
> diagram file ( which is my emf based file ) I only see "Example EMF Model
> Creation Wizards" and inside a file type named "Test Model" which
> contains only the EMF element and not the graphic model.
> How can I see my graphic model when I want to create a new diagram.

> Sorry for my bad English.

> thanks
> Elad

> Eike Stepper wrote:

>> Elad schrieb:
>>> Thanks for the quick answer.
>> You're welcome.

>>> Do I need to put the JAR file in a folder inside the plugins? should I
>>> add the plugin.xml to that folder?
>> Sorry, I have no clue what you mean by this ;-(
>> Maybe you should google a bit. Or start here:
>> http://agile.csc.ncsu.edu/SEMaterials/tutorials/plugin_dev

>> Cheers
>> /Eike

>> ----
>> http://thegordian.blogspot.com
>> http://twitter.com/eikestepper
Previous Topic:[TENEO][EMF] Viewing problems in Linux and Windows
Next Topic:EMF List databinding
Goto Forum:
  


Current Time: Mon Dec 09 20:25:23 GMT 2019

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

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

Back to the top