Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Help with upgrade(One sample EMF Editor plug-in will not install)
Help with upgrade [message #927302] Sat, 29 September 2012 13:51 Go to next message
Doug Orr is currently offline Doug OrrFriend
Messages: 21
Registered: July 2009
Junior Member
I recently upgraded my instance of Eclipse Galileo to version 3.5.1.R35... and Eclipse Modeling Framework 2.5.0... I have been using EMF for a number of years and have created many EMF-based model editor plug-ins. I moved all of these plug-ins to my new Eclipse environment but one of them will not install / start. I cannot find any log information or configuration information that indicates why this one plug-in was ignored at start-up.

I have carefully examined the plugin.xml, manifest, and .properties files but they all match other working plug-ins.

If I launch a test configuration of the Eclipse Application the plug-in works as I expect it to.

I have attached a zipped copy of the EMF-generated projects with .ecore, .genmodel, and source code. I have also attached the three .jar files that I installed in my Ecipse plugins folder.

Can anyone help me understand why this will not install? Is there a log of the Eclipse start-up that would show me why Eclipse is ignoring the plug-in?

Re: Help with upgrade [message #927360 is a reply to message #927302] Sat, 29 September 2012 15:15 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Doug,

What version of Eclipse are you trying? In more recent versions of
Eclipse you should put things in the dropins folder if you want them
added to your installation, not in the plugins or features folders.

On 29/09/2012 3:51 PM, Doug Orr wrote:
> I recently upgraded my instance of Eclipse Galileo to version 3.5.1.R35... and Eclipse Modeling Framework 2.5.0... I have been using EMF for a number of years and have created many EMF-based model editor plug-ins. I moved all of these plug-ins to my new Eclipse environment but one of them will not install / start. I cannot find any log information or configuration information that indicates why this one plug-in was ignored at start-up.
>
> I have carefully examined the plugin.xml, manifest, and .properties files but they all match other working plug-ins.
>
> If I launch a test configuration of the Eclipse Application the plug-in works as I expect it to.
>
> I have attached a zipped copy of the EMF-generated projects with .ecore, .genmodel, and source code. I have also attached the three .jar files that I installed in my Ecipse plugins folder.
>
> Can anyone help me understand why this will not install? Is there a log of the Eclipse start-up that would show me why Eclipse is ignoring the plug-in?
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Help with upgrade [message #934241 is a reply to message #927360] Fri, 05 October 2012 19:40 Go to previous messageGo to next message
Doug Orr is currently offline Doug OrrFriend
Messages: 21
Registered: July 2009
Junior Member
I am using the Galileo version (3.5.1). All of my other plugins work by putting them in the plugins folder. I am not doing anything different with this plugin.

Is there any sort of log file that Eclipse creates to indicate why it is ignoring this plugin on startup?
Re: Help with upgrade [message #934784 is a reply to message #934241] Sat, 06 October 2012 09:41 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
You can use -clean -debug and then look at <workspace>/.metadata/.log ;
you can delete it first so you get a new one.

On 05/10/2012 9:40 PM, Doug Orr wrote:
> I am using the Galileo version (3.5.1). All of my other plugins work
> by putting them in the plugins folder. I am not doing anything
> different with this plugin.
>
> Is there any sort of log file that Eclipse creates to indicate why it
> is ignoring this plugin on startup?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Help with upgrade [message #934957 is a reply to message #934784] Sat, 06 October 2012 13:59 Go to previous messageGo to next message
Doug Orr is currently offline Doug OrrFriend
Messages: 21
Registered: July 2009
Junior Member
Ed,
Thanks. I tried putting my plugins into the dropins folder but none of them installed when I started Eclipse. I moved them back into the plugins folder, erased the .log, added -clean -debug to my start-up command line.

The .log is below. In ithe log I notice that two plugins (mmaogenerator and codmap.edit) are unresolved because they cannot find the codemap plugin. I also notice that mmaogenerator is looking for codemap vesion _1.0.0 but codemap.edit is looking for version _0.0.0.
- The codemap plugin.xml defines verion 1.0.0.
- The mmaogenerator plugin.xml has a dependency on codemap bundle-version="1.0.0"
- The codemap.edit plugin.xml has a dependency on codemap but does not specify a version.

I don't think any of this explains why the com.genasys.codecontrol.codemap_1.0.0.jar is ignored.

Should I add this post to the plugin developer forum?

!SESSION 2012-10-06 09:39:46.889 -----------------------------------------------
eclipse.buildId=M20090917-0800
java.version=1.7.0_07
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
Framework arguments: -product org.eclipse.epp.package.modeling.product -Xmx1024M -XX:MaxPermSize=512M
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.modeling.product -clean -debug -Xmx1024M -XX:MaxPermSize=512M

!ENTRY org.eclipse.equinox.registry 2 0 2012-10-06 09:39:50.945
!MESSAGE The extensions and extension-points from the bundle "org.eclipse.gmf.runtime.common.ui.printing.win32" are ignored. The host bundle "org.eclipse.gmf.runtime.common.ui.printing" is not marked as singleton.

!ENTRY org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
!MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
!MESSAGE Bundle reference:file:plugins/com.genasys.mmaogenerator_1.0.0.201209201724.jar was not resolved.
!SUBENTRY 2 com.genasys.mmaogenerator 2 0 2012-10-06 09:39:54.377
!MESSAGE Missing required bundle com.genasys.codecontrol.codemap_1.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
!MESSAGE Bundle reference:file:plugins/com.genasys.codecontrol.codemap.edit_1.0.0.jar was not resolved.
!SUBENTRY 2 com.genasys.codecontrol.codemap.edit 2 0 2012-10-06 09:39:54.377
!MESSAGE Missing required bundle com.genasys.codecontrol.codemap_0.0.0.

!ENTRY org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
!MESSAGE Bundle com.genasys.codecontrol.codemap.edit_1.0.0 [13] was not resolved.
!SUBENTRY 2 com.genasys.codecontrol.codemap.edit 2 0 2012-10-06 09:39:54.377
!MESSAGE Missing required bundle com.genasys.codecontrol.codemap_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
!MESSAGE Bundle com.genasys.codecontrol.codemap.editor_1.0.0 [14] was not resolved.
!SUBENTRY 2 com.genasys.codecontrol.codemap.editor 2 0 2012-10-06 09:39:54.377
!MESSAGE Missing required bundle com.genasys.codecontrol.codemap.edit_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
!MESSAGE Bundle com.genasys.mmaogenerator_1.0.0.201209201724 [24] was not resolved.
!SUBENTRY 2 com.genasys.mmaogenerator 2 0 2012-10-06 09:39:54.377
!MESSAGE Missing required bundle com.genasys.codecontrol.codemap_1.0.0.


==================
Thanks for your help,
Doug
Re: Help with upgrade [message #934992 is a reply to message #934957] Sat, 06 October 2012 14:50 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Doug,

It doesn't make much sense. It's like
com.genasys.codecontrol.codemap_1.0.0.jar isn't there at all. If you
look in the Help's installation details, you can see the bundle there?


On 06/10/2012 3:59 PM, Doug Orr wrote:
> Ed,
> Thanks. I tried putting my plugins into the dropins folder but none of
> them installed when I started Eclipse. I moved them back into the
> plugins folder, erased the .log, added -clean -debug to my start-up
> command line.
>
> The .log is below. In ithe log I notice that two plugins
> (mmaogenerator and codmap.edit) are unresolved because they cannot
> find the codemap plugin. I also notice that mmaogenerator is looking
> for codemap vesion _1.0.0 but codemap.edit is looking for version
> _0.0.0. - The codemap plugin.xml defines verion 1.0.0. - The
> mmaogenerator plugin.xml has a dependency on codemap
> bundle-version="1.0.0"
> - The codemap.edit plugin.xml has a dependency on codemap but does not
> specify a version.
>
> I don't think any of this explains why the
> com.genasys.codecontrol.codemap_1.0.0.jar is ignored.
>
> Should I add this post to the plugin developer forum?
>
> !SESSION 2012-10-06 09:39:46.889
> -----------------------------------------------
> eclipse.buildId=M20090917-0800
> java.version=1.7.0_07
> java.vendor=Oracle Corporation
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_CA
> Framework arguments: -product
> org.eclipse.epp.package.modeling.product -Xmx1024M -XX:MaxPermSize=512M
> Command-line arguments: -os win32 -ws win32 -arch x86 -product
> org.eclipse.epp.package.modeling.product -clean -debug -Xmx1024M
> -XX:MaxPermSize=512M
>
> !ENTRY org.eclipse.equinox.registry 2 0 2012-10-06 09:39:50.945
> !MESSAGE The extensions and extension-points from the bundle
> "org.eclipse.gmf.runtime.common.ui.printing.win32" are ignored. The
> host bundle "org.eclipse.gmf.runtime.common.ui.printing" is not marked
> as singleton.
> !ENTRY org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
> !MESSAGE One or more bundles are not resolved because the following
> root constraints are not resolved:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
> !MESSAGE Bundle
> reference:file:plugins/com.genasys.mmaogenerator_1.0.0.201209201724.jar was
> not resolved.
> !SUBENTRY 2 com.genasys.mmaogenerator 2 0 2012-10-06 09:39:54.377
> !MESSAGE Missing required bundle com.genasys.codecontrol.codemap_1.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
> !MESSAGE Bundle
> reference:file:plugins/com.genasys.codecontrol.codemap.edit_1.0.0.jar
> was not resolved.
> !SUBENTRY 2 com.genasys.codecontrol.codemap.edit 2 0 2012-10-06
> 09:39:54.377
> !MESSAGE Missing required bundle com.genasys.codecontrol.codemap_0.0.0.
>
> !ENTRY org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
> !MESSAGE The following is a complete list of bundles which are not
> resolved, see the prior log entry for the root cause if it exists:
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
> !MESSAGE Bundle com.genasys.codecontrol.codemap.edit_1.0.0 [13] was
> not resolved.
> !SUBENTRY 2 com.genasys.codecontrol.codemap.edit 2 0 2012-10-06
> 09:39:54.377
> !MESSAGE Missing required bundle com.genasys.codecontrol.codemap_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
> !MESSAGE Bundle com.genasys.codecontrol.codemap.editor_1.0.0 [14] was
> not resolved.
> !SUBENTRY 2 com.genasys.codecontrol.codemap.editor 2 0 2012-10-06
> 09:39:54.377
> !MESSAGE Missing required bundle
> com.genasys.codecontrol.codemap.edit_0.0.0.
> !SUBENTRY 1 org.eclipse.osgi 2 0 2012-10-06 09:39:54.377
> !MESSAGE Bundle com.genasys.mmaogenerator_1.0.0.201209201724 [24] was
> not resolved.
> !SUBENTRY 2 com.genasys.mmaogenerator 2 0 2012-10-06 09:39:54.377
> !MESSAGE Missing required bundle com.genasys.codecontrol.codemap_1.0.0.
>
>
> ==================
> Thanks for your help,
> Doug
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Help with upgrade [message #935044 is a reply to message #934992] Sat, 06 October 2012 16:07 Go to previous messageGo to next message
Doug Orr is currently offline Doug OrrFriend
Messages: 21
Registered: July 2009
Junior Member
I have attached a copy of my configuration details. On line 297 you can see that codemap.edit is installed (but not started) in the plugin details. Codemap is not there. However, at line 1768 you can see that codemap is one of the Installable Units in the profile.

I don't know why this single plugin would be ignored when I have a dozen similar plugins that all install reliably.

Again, thanks for loking at this,
Doug
  • Attachment: Config.txt
    (Size: 568.76KB, Downloaded 579 times)
Re: Help with upgrade [message #935905 is a reply to message #935044] Sun, 07 October 2012 12:53 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Doug,

Note that it also doesn't list com.genasys.codecontrol.codemap as being
in the file system near line 3384

Bundles in the system:

Id: com.genasys.codecontrol.attachments.editor, Version: 1.0.0,
Location:
reference:file:plugins/com.genasys.codecontrol.attachments.editor_1.0.0.jar
Id: com.genasys.codecontrol.codemap.edit, Version: 1.0.0, Location:
reference:file:plugins/com.genasys.codecontrol.codemap.edit_1.0.0.jar


On 06/10/2012 6:07 PM, Doug Orr wrote:
> I have attached a copy of my configuration details. On line 297 you can see that codemap.edit is installed (but not started) in the plugin details. Codemap is not there. However, at line 1768 you can see that codemap is one of the Installable Units in the profile.
>
> I don't know why this single plugin would be ignored when I have a dozen similar plugins that all install reliably.
>
> Again, thanks for loking at this,
> Doug


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:DAWN Codegen tutorial
Next Topic:Problem with the DawnAcoreDiagramEditor Class
Goto Forum:
  


Current Time: Thu Apr 25 11:28:53 GMT 2024

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

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

Back to the top