Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » gmf:GenerateDiagramCode(Running "Code diagram code" from build scripts (Ant))
gmf:GenerateDiagramCode [message #1403971] Mon, 28 July 2014 20:01 Go to next message
Weiqi Gao is currently offline Weiqi GaoFriend
Messages: 3
Registered: July 2014
Junior Member
Hi,

I inherited a EMF+GMF project that was done in the Galileo time frame. My goal is to bring the development environment from Galileo to something more modern like Luna.

The README.dev file of the project mentioned something about:

to run a scripted build from the command line, add a new update site for

http www.eclipticalsoftware.com/updates (I'm too new here to post outside links)

and install their feature:

Ant Support for GMF

The update site is no longer operational. I searched the forum for "gmf:GenerateDiagramCode" and several hits, including this one:

https://www.eclipse.org/forums/index.php/m/673722/?srch=GenerateDiagramCode#msg_673722

from 2011, which contains a pointer to this github repository:

http www.bonitasoft.org/websvn/listing.php?repname=Bonita+Open+Solution&path=%2Fbonita-studio%2Ftags%2Fbonita-studio-5.5%2Freleng%2Forg.bonitasoft.studio-platform%2F#path_bonita-studio_tags_bonita-studio-5.5_releng_org.bonitasoft.studio-platform_

I did find a subdirectory called patched-plugins/ca.ecliptical.gmf.ant

https github.com/bonitasoft/bonita-studio/tree/master/patched-plugins/ca.ecliptical.gmf.ant

in the bonitasoft/bonita-studio project. However I'm not sure what I need to do to make my Ant build scripts functional again. Right now it complains about not being able to create the task http ecliptical.ca/gmf/ant:GenerateDiagramCode.

Any help would be appreciated.

--
Weiqi Gao
Re: gmf:GenerateDiagramCode [message #1404163 is a reply to message #1403971] Wed, 30 July 2014 07:17 Go to previous messageGo to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

effectively the update site from ecliptical is down. The correct precise github repository url is https://github.com/bonitasoft/bonita-studio

In 2011, the Bonita build was based on PDE build. You need to build the ca.ecliptical.gmf.ant plugin and then include it in your target platform.

We migrated to Tycho. You might consider migrating too as Tycho is now the mainstream build and you will be able to take inspiratin from what we are doing on our current project: https://github.com/bonitasoft/bonita-studio/tree/bos-studio-6.3.2-201407041700/patched-plugins/ca.ecliptical.gmf.ant . The plugin is no more inside the TP but set as dependency of the tycho-eclipserun-plugins as you can see here: https://github.com/bonitasoft/bonita-studio/blob/bos-studio-6.3.2-201407041700/bundles/plugins/org.bonitasoft.studio-models/pom.xml

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team

[Updated on: Wed, 30 July 2014 07:17]

Report message to a moderator

Re: gmf:GenerateDiagramCode [message #1404222 is a reply to message #1404163] Wed, 30 July 2014 14:31 Go to previous messageGo to next message
Weiqi Gao is currently offline Weiqi GaoFriend
Messages: 3
Registered: July 2014
Junior Member
Thank you Aurélien. I'll give it a try. Making the Ant build functioning is my first priority. Did the behavior of your patched plug in change from when it was hosted at ecliptical?

--
Weiqi
Re: gmf:GenerateDiagramCode [message #1404224 is a reply to message #1404222] Wed, 30 July 2014 14:33 Go to previous messageGo to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

As far as I remember, nothing has changed on this plugin.

Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: gmf:GenerateDiagramCode [message #1404363 is a reply to message #1404224] Thu, 31 July 2014 14:27 Go to previous message
Weiqi Gao is currently offline Weiqi GaoFriend
Messages: 3
Registered: July 2014
Junior Member
I am able to get past the "gmf:GenerateDiagramCode" part of my build process by creating the jar file for the ca.ecliptical.gmf.ant Eclipse plugin using the "Export Wizard", and then putting the resulting jar file into my $ECLIPSE_HOME/dropins directory.

--
Weiqi
Previous Topic:xtext.gmf.glue package on LUNA
Next Topic:How can Edit the properties of the gmf model
Goto Forum:
  


Current Time: Tue Apr 23 17:45:54 GMT 2024

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

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

Back to the top