gmfgen problem [message #473380] |
Thu, 13 March 2008 17:55 |
Eclipse User |
|
|
|
Originally posted by: holt.treple.com
Hello
I used one of the uml2tools diagram and I regenerated gmfgen. I set
/org.eclipse.uml2.diagram.def/dynamic-templates/codegen at template
directory in the gmfgen file, but I got little files, than in the original
case. (I know that we have the original gmfgen in the uml2tools)
What additional set is needed?
Thanks, Holt
|
|
|
|
Re: gmfgen problem [message #473382 is a reply to message #473381] |
Fri, 14 March 2008 14:18 |
Eclipse User |
|
|
|
Originally posted by: holt.yahoo.com
Hello,
Yes, I have less java files after generate gmfgen, but the previous link
is not available.
(I use web to read the newsgroup)
Holt
|
|
|
Re: gmfgen problem [message #473383 is a reply to message #473382] |
Fri, 14 March 2008 15:13 |
Eclipse User |
|
|
|
Originally posted by: holt.yahoo.com
Hello,
I find it, but how do I understand this:
'${your-workspace}/org.eclipse.uml2.diagram.def/dynamic-temp lates/gmf-graph'
Some no good possibilities:
${workspace}/org.eclipse.uml2.diagram.def/dynamic-templates/ gmf-graph
$workspace/org.eclipse.uml2.diagram.def/dynamic-templates/gm f-graph
$D:/Eclipse/workspace/org.eclipse.uml2.diagram.def/dynamic-t emplates/gmf-graph
platform:/plugin/org.eclipse.uml2.diagram.def/dynamic-templa tes/gmf-graph
Holt
|
|
|
Re: gmfgen problem [message #473384 is a reply to message #473382] |
Fri, 14 March 2008 15:29 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Holt,
Anyway, it was an incorrent link. Sorry for that, the correct one is 'news://news.eclipse.org/fmlptn$p7o$1@build.eclipse.org'.
Try this link, it should work even in web client.
Here is a quotation from that discussion:
"Also, If I check out the code from cvs, I see in DependencyEditHelper.java
(a class for which nothing is generated when I try on my machine) a "@NOT-generated"
comment for the method getConfigureCommand"
Does your situation look like this?
Or are there java files in the repository that weren't generated by your
generator?
Please, give the examples of 'less java files'. It will help you to get an
advice faster.
Best wishes,
Tatiana.
> Hello,
>
> Yes, I have less java files after generate gmfgen, but the previous
> link
> is not available.
> (I use web to read the newsgroup)
> Holt
>
|
|
|
|
Re: gmfgen problem [message #473387 is a reply to message #473385] |
Fri, 14 March 2008 15:54 |
Eclipse User |
|
|
|
Originally posted by: holt.yahoo.com
Hello,
Your solution was:
${your-workspace}/org.eclipse.uml2.diagram.def/dynamic-templ ates/gmf-graph
I used this:
platform:/plugin/org.eclipse.uml2.diagram.def/dynamic-templa tes/gmf-graph
And there is no entry at the template directory in the gmfgen file.
Why do I have to use workspace instead of plugin and how can use the above
string correct?
Sorry for the stupid question, but the answer would be important
Holt
|
|
|
Re: gmfgen problem [message #473389 is a reply to message #473387] |
Mon, 17 March 2008 08:24 |
Eclipse User |
|
|
|
Originally posted by: holt.yahoo.com
Hi
I use e.g. componentDiagram and generate diagram code from the original
componentDiagram.gmfgen
I get 219 files in the src folder
Now I delete componentDiagram.gmfgen and create generator model from the
original componentDiagram.gmfmap using
platform:/plugin/org.eclipse.uml2.diagram.def/dynamic-templa tes/gmf-graph
at the last page of the wizard
I get 210 files in the src folder
if I do not set dynamic-templates I also get 210 files
regards
Holt
|
|
|
|
|
Re: gmfgen problem [message #473395 is a reply to message #473391] |
Fri, 21 March 2008 07:58 |
Eclipse User |
|
|
|
Originally posted by: Holt.yahoo.com
Hello Tatiana,
I have GMF-sdk-2.1M5.zip with GMF-base-2.1M5.zip
I also have mdt-uml2tools-SDK-incubation-0.8.0M5.zip with
mdt-uml2-SDK-2.2.0M5.zip
use the original componentDiagram.gmfgen
got 282 files
use componentDiagram.gmfmap with create genarator model
got 273 files
in the wizard
platform:/plugin/org.eclipse.uml2.diagram.def/dynamic-templa tes/gmf-graph
also 273 files
set org.eclipse.uml2.diagram.def/dynamic-templates/codegen with true
also 273 files
other dependencies or settings is also need?
****
other question:
using 'generate uml2tools diagram'
got:
"errors while generating code
reason - unexpected state came across, have no idea how to deal with that
Unexpected state came across, have no idea how to deal with that
org.eclipse.gmf.internal.xpand.expression.EvaluationExceptio n: No
Definition
xpt::actions::ChangeNotationContributionItemProvider::qualif iedClassName
for GenTopLevelNode could be found!"
also have 282 files in this way, than using simply 'generate diagram code'
****
I tried another verion of gmf and uml2tools too
Best wishes,
Holt
|
|
|
|
Re: gmfgen problem [message #618508 is a reply to message #473381] |
Fri, 14 March 2008 14:18 |
Eclipse User |
|
|
|
Originally posted by: holt.yahoo.com
Hello,
Yes, I have less java files after generate gmfgen, but the previous link
is not available.
(I use web to read the newsgroup)
Holt
|
|
|
Re: gmfgen problem [message #618510 is a reply to message #473382] |
Fri, 14 March 2008 15:13 |
Eclipse User |
|
|
|
Originally posted by: holt.yahoo.com
Hello,
I find it, but how do I understand this:
'${your-workspace}/org.eclipse.uml2.diagram.def/dynamic-temp lates/gmf-graph'
Some no good possibilities:
${workspace}/org.eclipse.uml2.diagram.def/dynamic-templates/ gmf-graph
$workspace/org.eclipse.uml2.diagram.def/dynamic-templates/gm f-graph
$D:/Eclipse/workspace/org.eclipse.uml2.diagram.def/dynamic-t emplates/gmf-graph
platform:/plugin/org.eclipse.uml2.diagram.def/dynamic-templa tes/gmf-graph
Holt
|
|
|
Re: gmfgen problem [message #618631 is a reply to message #473382] |
Fri, 14 March 2008 15:29 |
Tatiana Fesenko Messages: 530 Registered: July 2009 |
Senior Member |
|
|
Holt,
Anyway, it was an incorrent link. Sorry for that, the correct one is 'news://news.eclipse.org/fmlptn$p7o$1@build.eclipse.org'.
Try this link, it should work even in web client.
Here is a quotation from that discussion:
"Also, If I check out the code from cvs, I see in DependencyEditHelper.java
(a class for which nothing is generated when I try on my machine) a "@NOT-generated"
comment for the method getConfigureCommand"
Does your situation look like this?
Or are there java files in the repository that weren't generated by your
generator?
Please, give the examples of 'less java files'. It will help you to get an
advice faster.
Best wishes,
Tatiana.
> Hello,
>
> Yes, I have less java files after generate gmfgen, but the previous
> link
> is not available.
> (I use web to read the newsgroup)
> Holt
>
|
|
|
|
Re: gmfgen problem [message #618636 is a reply to message #473385] |
Fri, 14 March 2008 15:54 |
Eclipse User |
|
|
|
Originally posted by: holt.yahoo.com
Hello,
Your solution was:
${your-workspace}/org.eclipse.uml2.diagram.def/dynamic-templ ates/gmf-graph
I used this:
platform:/plugin/org.eclipse.uml2.diagram.def/dynamic-templa tes/gmf-graph
And there is no entry at the template directory in the gmfgen file.
Why do I have to use workspace instead of plugin and how can use the above
string correct?
Sorry for the stupid question, but the answer would be important
Holt
|
|
|
Re: gmfgen problem [message #618639 is a reply to message #473387] |
Mon, 17 March 2008 08:24 |
Eclipse User |
|
|
|
Originally posted by: holt.yahoo.com
Hi
I use e.g. componentDiagram and generate diagram code from the original
componentDiagram.gmfgen
I get 219 files in the src folder
Now I delete componentDiagram.gmfgen and create generator model from the
original componentDiagram.gmfmap using
platform:/plugin/org.eclipse.uml2.diagram.def/dynamic-templa tes/gmf-graph
at the last page of the wizard
I get 210 files in the src folder
if I do not set dynamic-templates I also get 210 files
regards
Holt
|
|
|
|
|
Re: gmfgen problem [message #618642 is a reply to message #473391] |
Fri, 21 March 2008 07:58 |
Eclipse User |
|
|
|
Originally posted by: Holt.yahoo.com
Hello Tatiana,
I have GMF-sdk-2.1M5.zip with GMF-base-2.1M5.zip
I also have mdt-uml2tools-SDK-incubation-0.8.0M5.zip with
mdt-uml2-SDK-2.2.0M5.zip
use the original componentDiagram.gmfgen
got 282 files
use componentDiagram.gmfmap with create genarator model
got 273 files
in the wizard
platform:/plugin/org.eclipse.uml2.diagram.def/dynamic-templa tes/gmf-graph
also 273 files
set org.eclipse.uml2.diagram.def/dynamic-templates/codegen with true
also 273 files
other dependencies or settings is also need?
****
other question:
using 'generate uml2tools diagram'
got:
"errors while generating code
reason - unexpected state came across, have no idea how to deal with that
Unexpected state came across, have no idea how to deal with that
org.eclipse.gmf.internal.xpand.expression.EvaluationExceptio n: No
Definition
xpt::actions::ChangeNotationContributionItemProvider::qualif iedClassName
for GenTopLevelNode could be found!"
also have 282 files in this way, than using simply 'generate diagram code'
****
I tried another verion of gmf and uml2tools too
Best wishes,
Holt
|
|
|
Powered by
FUDForum. Page generated in 0.06411 seconds