|Re: generating RCP application [message #388626 is a reply to message #388623]
||Fri, 15 October 2004 11:13
| Ed Merks
Registered: July 2009
This is a multi-part message in MIME format.|
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Since you talked about *changes *in the plugin.xml, I assumed you were
*re*generating it from a previous version and were expecting it to
change. Once the file plugin.xml exists, the generator will not change
it. (And I'm only talking about this one file, not about anything more
Trying with a new project as you say you have done, I see stuff like
this in the .editor's plugin.xml:
class=" com.example.library.presentation.LibraryEditorAdvisor$Applic ation ">
So I don't really know what you are doing wrong. Perhaps you haven't
deleted the old projects and aren't really creating fresh new projects.
Try removing the plugin.xml and generating again...
>I dont think I understood u correctly. Do you mean that if the generated
>EMF project and its plugins already exists, you can regenarate the
>plugin.xml in that project again. Am I getting it correctly or you are
>talking in terms of the fulkl workspace?
> I created a new EMF project from the library.xsd and when the genmodel
>file was created then selected RCP=true and then did generate ALL.
>WHat am I missing here?Or do I needa latest build of EMF than what I have.?
>Ed Merks wrote:
>>Unfortunately we are not able to regenerate the plugin.xml, so once it
>>exists, it won't ever be modified by the generator. Deleting it will
>>allow you to regenerate it from scratch.
>>>I read the tutorial EMF goes RCP and tried.it out.
>>>I have EMF 2.0 version with eclipse 3.0 and I could set the option
>>>rcp=true in the genmodel file properties but the code generated did not
>>>reflect the changes mentioned in the tutorial. (Changes in the plgin.xml
>>>in editor package)
>>>Here is the plugin.xml from library.editor pacahage
>>> name = "%pluginName"
>>> id = "library rcp.editor"
>>> version = "1.0.0"
>>> provider-name = "%providerName"
>>> class =
>>>" com.example.library.presentation.LibraryEditorPlugin$Impleme ntation ">
>>> <import plugin="org.eclipse.core.runtime" />
>>> <import plugin="library rcp.edit" export="true"/>
>>> <import plugin="org.eclipse.emf.ecore.xmi" export="true"/>
>>> <import plugin="org.eclipse.emf.edit.ui" export="true"/>
>>> <library name="runtime/">
>>> <export name="*"/>
>>> <extension point = "org.eclipse.ui.editors">
>>> id = "com.example.library.presentation.LibraryEditorID"
>>> name = "%_UI_LibraryEditor_label"
>>> icon = "icons/full/obj16/LibraryModelFile.gif"
>>> extensions = "library"
>>> class = "com.example.library.presentation.LibraryEditor"
>>contributorClass=" com.example.library.presentation.LibraryActionBarContributor "
>>>I am using following build for EMF
>>>Eclipse Modeling Framework (EMF)
>>>Build id: 200405200923
>>>Am i not doing smething correctly or do I need a diffrent build?
Content-Type: text/html; charset=ISO-8859-15
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<body bgcolor="#ffffff" text="#000000">
Since you talked about <b>changes </b>in the plugin.xml, I assumed
you were <b>re</b>generating it from a previous version and were
expecting it to change.
Powered by FUDForum
. Page generated in 0.02299 seconds