Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » gmf:GenerateDiagramCode(Problem encountered when trying to generate Diagram code)
gmf:GenerateDiagramCode [message #673583] Tue, 24 May 2011 03:53 Go to next message
Lucian Apetre is currently offline Lucian Apetre
Messages: 8
Registered: May 2011
Junior Member
Hello,
I need some help regarding the gmf:GenerateDiagramCode.
I got this error:
Problem: failed to create task or type http..//ecliptical.ca/gmf/ant:GenerateDiagramCode//:instead of ..

Is there a package I should include or something I'm missing?
I'm using latest release of Eclipse Galileo with win XP pro
The piece of code that I'm using for my project is:
<target name="generateDiagramCode" depends="GenerateJava"
			xmlns:gmf="http..//ecliptical.ca/gmf/ant">//: instead of ..
			<echo message="Generating diagram project"/>
			<gmf:GenerateDiagramCode gmfgenpath="${gmfgen}"/>	</target>


Thank you

[Updated on: Tue, 24 May 2011 04:03]

Report message to a moderator

Re: gmf:GenerateDiagramCode [message #673722 is a reply to message #673583] Tue, 24 May 2011 10:41 Go to previous messageGo to next message
Lucian Apetre is currently offline Lucian Apetre
Messages: 8
Registered: May 2011
Junior Member
To be more detailed:
I have a .gmfgen file, and instead of "right clik" -> "Generate diagram code", I want to do it in a Ant script.
What I found so far, the code I wrote above will do the trick, only that the compiler doesn't know "GenerateDiagramCode" task.
Does anybody encountered such problem?
To mention that I'm new to Ant scripting, any type of hint may work:)
Thank you


Re: gmf:GenerateDiagramCode [message #701143 is a reply to message #673722] Sun, 24 July 2011 14:00 Go to previous message
Aurelien Pupier is currently offline Aurelien Pupier
Messages: 558
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

you need to add a dependency to ecliptical.
Unfortunately, it seems that they don't provide anymore an update site (previously here: http://www.eclipticalsoftware.com/updates/site.xml)
You can take it from the target platform that we are using to build our product: 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_

Regards,


Aurélien Pupier - BonitaSoft S.A.
My blog
My company Eclipse-related blog
Previous Topic:Chang the Color of Compartment Node dynamically
Next Topic:how to set properties for every node?
Goto Forum:
  


Current Time: Thu Jul 31 21:57:17 EDT 2014

Powered by FUDForum. Page generated in 0.01600 seconds