Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Specify diagram code generation target source folder
Specify diagram code generation target source folder [message #506550] Thu, 07 January 2010 18:16 Go to next message
Eclipse UserFriend
Originally posted by: jdente.21technologies.com

Hi all,

I have been unable to figure out how to specify the 'Diagram Directory' for
my generated diagram code. Whenever I right-click on my .gmfgen file and
tell it to generate the code, it attempts to use the source folder 'src'
inside my target project. My diagram project already has existing source at
'src/main/java' and so I need the generated diagram source to be placed in
this same location. As you can imagine this causes the following exception:

Unexpected state came across, have no idea how to deal with that:
Cannot nest 'myproject.diagram/src/main/java' inside
'myproject.diagram/src'. To enable the nesting exclude 'main/' from
''myproject.diagram/src'.

When generating the model, edit, and editor code, there are properties on
the genmodel to control the source output ('Editor Directory', 'Edit
Directory' and 'Model Directory). I cannot locate a similar property for the
diagram directory. How can I configure the diagram directory?

Thanks,
Joe
Re: Specify diagram code generation target source folder [message #506891 is a reply to message #506550] Mon, 11 January 2010 09:25 Go to previous message
Stephane Bouchet is currently offline Stephane BouchetFriend
Messages: 280
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------030905080604070505060401
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit

Hi joe,

This is not currently possible.
a bugzilla entry was created for that, please CC and vote for it :

https://bugs.eclipse.org/bugs/show_bug.cgi?id=242150

cheers,

Joe Dente a
Previous Topic:Validation not happening
Next Topic:create connection programmatically
Goto Forum:
  


Current Time: Fri Apr 26 23:57:35 GMT 2024

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

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

Back to the top