Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » GMF deploying problems --Please help--
GMF deploying problems --Please help-- [message #843901] Fri, 13 April 2012 13:30 Go to next message
vanessa vanessa is currently offline vanessa vanessaFriend
Messages: 4
Registered: April 2012
Junior Member
Hello,

I'm new to GMF , till now i've created my own diagram editor
successfully .I tested it in an eclipse instance and it works fine.
When trying to deploy the plugin (via the menu item export)
my plugin is generated with errors.This errors are caused by assert statements.
I'm actually working with eclipse indigo ,Jre7 is running .
what shall I do ??I have to use the jar files of the plug-in deployed.
Thank you very much in advance
Kind regards.
Re: GMF deploying problems --Please help-- [message #851037 is a reply to message #843901] Fri, 20 April 2012 15:30 Go to previous messageGo to next message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello,

Can you provide more details about the errors and what exactly are you doing to get them.

Regards,
Michael


Re: GMF deploying problems --Please help-- [message #851294 is a reply to message #851037] Fri, 20 April 2012 21:12 Go to previous messageGo to next message
vanessa vanessa is currently offline vanessa vanessaFriend
Messages: 4
Registered: April 2012
Junior Member
After creating my GMF diagram editor , I select the File menu->Export->deployable plug-ins and fragments and i select the projects i want to export to the jar files which are the projects with extension : .diagram,.edit and .editor .

Now after the build operation i get this message:Problem during export
Errors occured during the export operation.The ant tasks generated log files
which can be found at *****\logs.zip

when I open the log file I guess that almost all the errors are caused by assert
statements which are not recognised .

Here are some of the genrated errors :
ERROR in C:\*******\DiagramActionBarContributor.java (at line 37)
assert fileMenu != null;
^^
Syntax error on token "!=", = expected
assert diagramRoot != null : "Doagram root element must be specified"; //$NON-NLS-1$
assert editingDomain != null : "Editing domain must be specified"; //$NON-NLS-1$
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Syntax error on tokens, delete these tokens
----------
I don't know if I have to use the jre6 or not .I prefer to solve the problem using eclipse indigo .
Note that i tested the plug-in and it works perfectly in the second instance of eclipse.
Thanks a lot for your help.
Best regards
Re: GMF deploying problems --Please help-- [message #853953 is a reply to message #851294] Mon, 23 April 2012 14:00 Go to previous message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello,

It looks like an export script by some reason uses the old java for compilation and fails on asserts.

I was unable to reproduce it myself, may be the logs.zip mentioned in the output will help.

However, I would suggest you to export the diagram in the form of locally built update site as described (not specifically for GMF) at http://wiki.eclipse.org/FAQ_How_do_I_create_an_update_site_%28site.xml%29%3F.

Regards,
Michael "Borlander" Golubev
at Montages Think Tank, Prague, Czech Republic
Montages AG, Zürich, Switzerland

Previous Topic:drag and drop with link and attributes
Next Topic:How can I add nodes with the CreateElementRequest
Goto Forum:
  


Current Time: Fri Apr 19 10:47:12 GMT 2024

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

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

Back to the top