Home » Modeling » Epsilon » [EUGENIA] Questions about examples.friends
|
Re: [EUGENIA] Questions about examples.friends [message #514727 is a reply to message #514719] |
Tue, 16 February 2010 13:20 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Joaquin,
Could you please try deleting the .gmfgen model and re-generating it? Re
the mirrored.gmfgraph, you can ignore it.
Please let me know if re-generating the .gmfgen fixes the problem. If
not, I'll have a closer look at this.
Cheers,
Dimitris
Joaquín Cañadas wrote:
> Hi Dimitris,
>
> I have a problem with the friends example. I am using the pre-packaged
> Eclipse Galileo Modeling distribution.
> I downloaded the two zip archive(s) of friends example (friends and
> friends.figure) from this page:
> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>
>
> After importing them on Eclipse, I generated ALL and generated Diagram
> Code.
> My first problem was that the generated friends.diagram project had
> errors because it did not find the figures package. I solved it adding
> the friends.figure project to the friends.diagram Java build path.
>
> Afther that, I run other Eclipse instance. When I create a new friends
> diagram, the editor opens but it does not allow to draw a person,
> however it presents a pop-up with this error:
> An error has occurred. See error log for more details.
> figures/PersonFigure
>
> I imagine that I forgot any step of the process... moreover I do not
> know whether the code generator uses the mirrored.gmfgraph file
> in.figure/models folder. What is the aim of that file ?
>
> Thank you in advance.
> Joaquín
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #514980 is a reply to message #514727] |
Wed, 17 February 2010 11:49 |
Joaquin Cañadas Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hi Dimitris,
I tryed deleting the .gmfgen model and re-generating it, but the problem
is not solved.
I also tryed deleting the .genmodel too, and regenerating all again, but
nothing.
The other example , flowchart, works fine. However, I am testing the
friends example because of the use of images.
Regards
Joaquín
Dimitris Kolovos escribió:
> Hi Joaquin,
>
> Could you please try deleting the .gmfgen model and re-generating it?
> Re the mirrored.gmfgraph, you can ignore it.
>
> Please let me know if re-generating the .gmfgen fixes the problem. If
> not, I'll have a closer look at this.
>
> Cheers,
> Dimitris
>
> Joaquín Cañadas wrote:
>> Hi Dimitris,
>>
>> I have a problem with the friends example. I am using the
>> pre-packaged Eclipse Galileo Modeling distribution.
>> I downloaded the two zip archive(s) of friends example (friends and
>> friends.figure) from this page:
>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>
>>
>> After importing them on Eclipse, I generated ALL and generated
>> Diagram Code.
>> My first problem was that the generated friends.diagram project had
>> errors because it did not find the figures package. I solved it
>> adding the friends.figure project to the friends.diagram Java build
>> path.
>>
>> Afther that, I run other Eclipse instance. When I create a new
>> friends diagram, the editor opens but it does not allow to draw a
>> person, however it presents a pop-up with this error:
>> An error has occurred. See error log for more details.
>> figures/PersonFigure
>>
>> I imagine that I forgot any step of the process... moreover I do not
>> know whether the code generator uses the mirrored.gmfgraph file
>> in.figure/models folder. What is the aim of that file ?
>>
>> Thank you in advance.
>> Joaquín
>
>
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #515131 is a reply to message #514980] |
Wed, 17 February 2010 20:33 |
Joaquin Cañadas Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hello again,
I tried downloading the friends example from the SVN repository and it
works fine. But it works only when I also check out the project
generated from the .gmfgen
(org.eclipse.epsilon.eugenia.examples.friends.diagram). I mean, when I
generate the diagram code from the .gmfgen model I have a error in the
generated class friends.diagram.edit.parts.PersonEditPart.java, because
- the import figures cannot be resolved
- PersonFigure cannot be resolved
However, when I check out the diagram project instead of generating it,
the error is not presented. ¿Any suggestion? Adding the friends.figure
project to the friends.diagram Java build path solves the compilation
error, however when the new Eclipse instance is launched and the editor
is used, an error fires because it cannot find the figures/PersonFigure
Thank you in advance
Joaquín
(I am using java1.6)
Joaquín Cañadas escribió:
> Hi Dimitris,
> I tryed deleting the .gmfgen model and re-generating it, but the
> problem is not solved.
> I also tryed deleting the .genmodel too, and regenerating all again,
> but nothing.
>
> The other example , flowchart, works fine. However, I am testing the
> friends example because of the use of images.
> Regards
> Joaquín
>
>
> Dimitris Kolovos escribió:
>> Hi Joaquin,
>>
>> Could you please try deleting the .gmfgen model and re-generating it?
>> Re the mirrored.gmfgraph, you can ignore it.
>>
>> Please let me know if re-generating the .gmfgen fixes the problem. If
>> not, I'll have a closer look at this.
>>
>> Cheers,
>> Dimitris
>>
>> Joaquín Cañadas wrote:
>>> Hi Dimitris,
>>>
>>> I have a problem with the friends example. I am using the
>>> pre-packaged Eclipse Galileo Modeling distribution.
>>> I downloaded the two zip archive(s) of friends example (friends and
>>> friends.figure) from this page:
>>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>>
>>>
>>> After importing them on Eclipse, I generated ALL and generated
>>> Diagram Code.
>>> My first problem was that the generated friends.diagram project had
>>> errors because it did not find the figures package. I solved it
>>> adding the friends.figure project to the friends.diagram Java build
>>> path.
>>>
>>> Afther that, I run other Eclipse instance. When I create a new
>>> friends diagram, the editor opens but it does not allow to draw a
>>> person, however it presents a pop-up with this error:
>>> An error has occurred. See error log for more details.
>>> figures/PersonFigure
>>>
>>> I imagine that I forgot any step of the process... moreover I do not
>>> know whether the code generator uses the mirrored.gmfgraph file
>>> in.figure/models folder. What is the aim of that file ?
>>>
>>> Thank you in advance.
>>> Joaquín
>>
>>
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #515142 is a reply to message #515131] |
Wed, 17 February 2010 21:08 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Joaquin,
I'm afraid I can't reproduce this - and I must admit I'm running low on
suggestions on how to proceed. Perhaps a screen sharing session via
Yuuguu might help...
Cheers,
Dimitris
Joaquín Cañadas wrote:
> Hello again,
> I tried downloading the friends example from the SVN repository and it
> works fine. But it works only when I also check out the project
> generated from the .gmfgen
> (org.eclipse.epsilon.eugenia.examples.friends.diagram). I mean, when I
> generate the diagram code from the .gmfgen model I have a error in the
> generated class friends.diagram.edit.parts.PersonEditPart.java, because
> - the import figures cannot be resolved
> - PersonFigure cannot be resolved
> However, when I check out the diagram project instead of generating it,
> the error is not presented. ¿Any suggestion? Adding the friends.figure
> project to the friends.diagram Java build path solves the compilation
> error, however when the new Eclipse instance is launched and the editor
> is used, an error fires because it cannot find the figures/PersonFigure
>
> Thank you in advance
>
> Joaquín
> (I am using java1.6)
>
>
> Joaquín Cañadas escribió:
>> Hi Dimitris,
>> I tryed deleting the .gmfgen model and re-generating it, but the
>> problem is not solved.
>> I also tryed deleting the .genmodel too, and regenerating all again,
>> but nothing.
>>
>> The other example , flowchart, works fine. However, I am testing the
>> friends example because of the use of images.
>> Regards
>> Joaquín
>>
>>
>> Dimitris Kolovos escribió:
>>> Hi Joaquin,
>>>
>>> Could you please try deleting the .gmfgen model and re-generating it?
>>> Re the mirrored.gmfgraph, you can ignore it.
>>>
>>> Please let me know if re-generating the .gmfgen fixes the problem. If
>>> not, I'll have a closer look at this.
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Joaquín Cañadas wrote:
>>>> Hi Dimitris,
>>>>
>>>> I have a problem with the friends example. I am using the
>>>> pre-packaged Eclipse Galileo Modeling distribution.
>>>> I downloaded the two zip archive(s) of friends example (friends and
>>>> friends.figure) from this page:
>>>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>>>
>>>>
>>>> After importing them on Eclipse, I generated ALL and generated
>>>> Diagram Code.
>>>> My first problem was that the generated friends.diagram project had
>>>> errors because it did not find the figures package. I solved it
>>>> adding the friends.figure project to the friends.diagram Java build
>>>> path.
>>>>
>>>> Afther that, I run other Eclipse instance. When I create a new
>>>> friends diagram, the editor opens but it does not allow to draw a
>>>> person, however it presents a pop-up with this error:
>>>> An error has occurred. See error log for more details.
>>>> figures/PersonFigure
>>>>
>>>> I imagine that I forgot any step of the process... moreover I do not
>>>> know whether the code generator uses the mirrored.gmfgraph file
>>>> in.figure/models folder. What is the aim of that file ?
>>>>
>>>> Thank you in advance.
>>>> Joaquín
>>>
>>>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #515538 is a reply to message #515142] |
Fri, 19 February 2010 10:08 |
Joaquin Cañadas Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hi Dimitris,
I fixed the problem. I added the file FixGMFGen.eol to the
examples.friends project, similarly to the FixGMFGen.eol file of the
examples.flowchart project.
I addapted the code of the file FixGMFGen.eol:
var genPlugin = GmfGen!GenPlugin.all.first();
genPlugin.requiredPlugins.add('org.eclipse.epsilon.eugenia.e xamples.friends.figures');
Now, the diagram project does not have any compilation errors, and the
graphical editor works fine.
Regards
Joaquín
Dimitris Kolovos escribió:
> Hi Joaquin,
>
> I'm afraid I can't reproduce this - and I must admit I'm running low
> on suggestions on how to proceed. Perhaps a screen sharing session via
> Yuuguu might help...
>
> Cheers,
> Dimitris
>
> Joaquín Cañadas wrote:
>> Hello again,
>> I tried downloading the friends example from the SVN repository and
>> it works fine. But it works only when I also check out the project
>> generated from the .gmfgen
>> (org.eclipse.epsilon.eugenia.examples.friends.diagram). I mean, when
>> I generate the diagram code from the .gmfgen model I have a error in
>> the generated class friends.diagram.edit.parts.PersonEditPart.java,
>> because
>> - the import figures cannot be resolved
>> - PersonFigure cannot be resolved
>> However, when I check out the diagram project instead of generating
>> it, the error is not presented. ¿Any suggestion? Adding the
>> friends.figure project to the friends.diagram Java build path solves
>> the compilation error, however when the new Eclipse instance is
>> launched and the editor is used, an error fires because it cannot
>> find the figures/PersonFigure
>>
>> Thank you in advance
>>
>> Joaquín
>> (I am using java1.6)
>>
>>
>> Joaquín Cañadas escribió:
>>> Hi Dimitris,
>>> I tryed deleting the .gmfgen model and re-generating it, but the
>>> problem is not solved.
>>> I also tryed deleting the .genmodel too, and regenerating all again,
>>> but nothing.
>>>
>>> The other example , flowchart, works fine. However, I am testing the
>>> friends example because of the use of images.
>>> Regards
>>> Joaquín
>>>
>>>
>>> Dimitris Kolovos escribió:
>>>> Hi Joaquin,
>>>>
>>>> Could you please try deleting the .gmfgen model and re-generating
>>>> it? Re the mirrored.gmfgraph, you can ignore it.
>>>>
>>>> Please let me know if re-generating the .gmfgen fixes the problem.
>>>> If not, I'll have a closer look at this.
>>>>
>>>> Cheers,
>>>> Dimitris
>>>>
>>>> Joaquín Cañadas wrote:
>>>>> Hi Dimitris,
>>>>>
>>>>> I have a problem with the friends example. I am using the
>>>>> pre-packaged Eclipse Galileo Modeling distribution.
>>>>> I downloaded the two zip archive(s) of friends example (friends
>>>>> and friends.figure) from this page:
>>>>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>>>>
>>>>>
>>>>> After importing them on Eclipse, I generated ALL and generated
>>>>> Diagram Code.
>>>>> My first problem was that the generated friends.diagram project
>>>>> had errors because it did not find the figures package. I solved
>>>>> it adding the friends.figure project to the friends.diagram Java
>>>>> build path.
>>>>>
>>>>> Afther that, I run other Eclipse instance. When I create a new
>>>>> friends diagram, the editor opens but it does not allow to draw a
>>>>> person, however it presents a pop-up with this error:
>>>>> An error has occurred. See error log for more details.
>>>>> figures/PersonFigure
>>>>>
>>>>> I imagine that I forgot any step of the process... moreover I do
>>>>> not know whether the code generator uses the mirrored.gmfgraph
>>>>> file in.figure/models folder. What is the aim of that file ?
>>>>>
>>>>> Thank you in advance.
>>>>> Joaquín
>>>>
>>>>
>
>
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #515549 is a reply to message #515538] |
Fri, 19 February 2010 10:42 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Joaquin,
Glad you got this fixed! However, in principle this should have the same
effect as adding the dependency manually - so I'm still not sure why you
were encountering this behaviour in the first place...
Cheers,
Dimitris
Joaquín Cañadas wrote:
> Hi Dimitris, I fixed the problem. I added the file FixGMFGen.eol to
> the examples.friends project, similarly to the FixGMFGen.eol file of
> the examples.flowchart project. I addapted the code of the file
> FixGMFGen.eol:
>
> var genPlugin = GmfGen!GenPlugin.all.first();
> genPlugin.requiredPlugins.add('org.eclipse.epsilon.eugenia.e xamples.friends.figures');
>
>
>
> Now, the diagram project does not have any compilation errors, and
> the graphical editor works fine. Regards Joaquín
>
>
> Dimitris Kolovos escribió:
>> Hi Joaquin,
>>
>> I'm afraid I can't reproduce this - and I must admit I'm running
>> low on suggestions on how to proceed. Perhaps a screen sharing
>> session via Yuuguu might help...
>>
>> Cheers, Dimitris
>>
>> Joaquín Cañadas wrote:
>>> Hello again, I tried downloading the friends example from the SVN
>>> repository and it works fine. But it works only when I also check
>>> out the project generated from the .gmfgen
>>> (org.eclipse.epsilon.eugenia.examples.friends.diagram). I mean,
>>> when I generate the diagram code from the .gmfgen model I have a
>>> error in the generated class
>>> friends.diagram.edit.parts.PersonEditPart.java, because - the
>>> import figures cannot be resolved - PersonFigure cannot be
>>> resolved However, when I check out the diagram project instead of
>>> generating it, the error is not presented. ¿Any suggestion?
>>> Adding the friends.figure project to the friends.diagram Java
>>> build path solves the compilation error, however when the new
>>> Eclipse instance is launched and the editor is used, an error
>>> fires because it cannot find the figures/PersonFigure
>>>
>>> Thank you in advance
>>>
>>> Joaquín (I am using java1.6)
>>>
>>>
>>> Joaquín Cañadas escribió:
>>>> Hi Dimitris, I tryed deleting the .gmfgen model and
>>>> re-generating it, but the problem is not solved. I also tryed
>>>> deleting the .genmodel too, and regenerating all again, but
>>>> nothing.
>>>>
>>>> The other example , flowchart, works fine. However, I am
>>>> testing the friends example because of the use of images.
>>>> Regards Joaquín
>>>>
>>>>
>>>> Dimitris Kolovos escribió:
>>>>> Hi Joaquin,
>>>>>
>>>>> Could you please try deleting the .gmfgen model and
>>>>> re-generating it? Re the mirrored.gmfgraph, you can ignore
>>>>> it.
>>>>>
>>>>> Please let me know if re-generating the .gmfgen fixes the
>>>>> problem. If not, I'll have a closer look at this.
>>>>>
>>>>> Cheers, Dimitris
>>>>>
>>>>> Joaquín Cañadas wrote:
>>>>>> Hi Dimitris,
>>>>>>
>>>>>> I have a problem with the friends example. I am using the
>>>>>> pre-packaged Eclipse Galileo Modeling distribution. I
>>>>>> downloaded the two zip archive(s) of friends example
>>>>>> (friends and friends.figure) from this page:
>>>>>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>>>>>
>>>>>>
>>>>>>
>>>>>> After importing them on Eclipse, I generated ALL and
>>>>>> generated Diagram Code. My first problem was that the
>>>>>> generated friends.diagram project had errors because it did
>>>>>> not find the figures package. I solved it adding the
>>>>>> friends.figure project to the friends.diagram Java build
>>>>>> path.
>>>>>>
>>>>>> Afther that, I run other Eclipse instance. When I create a
>>>>>> new friends diagram, the editor opens but it does not allow
>>>>>> to draw a person, however it presents a pop-up with this
>>>>>> error: An error has occurred. See error log for more
>>>>>> details. figures/PersonFigure
>>>>>>
>>>>>> I imagine that I forgot any step of the process... moreover
>>>>>> I do not know whether the code generator uses the
>>>>>> mirrored.gmfgraph file in.figure/models folder. What is the
>>>>>> aim of that file ?
>>>>>>
>>>>>> Thank you in advance. Joaquín
>>>>>
>>>>>
>>
>>
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #586334 is a reply to message #514719] |
Tue, 16 February 2010 13:20 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Joaquin,
Could you please try deleting the .gmfgen model and re-generating it? Re
the mirrored.gmfgraph, you can ignore it.
Please let me know if re-generating the .gmfgen fixes the problem. If
not, I'll have a closer look at this.
Cheers,
Dimitris
Joaquín Cañadas wrote:
> Hi Dimitris,
>
> I have a problem with the friends example. I am using the pre-packaged
> Eclipse Galileo Modeling distribution.
> I downloaded the two zip archive(s) of friends example (friends and
> friends.figure) from this page:
> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>
>
> After importing them on Eclipse, I generated ALL and generated Diagram
> Code.
> My first problem was that the generated friends.diagram project had
> errors because it did not find the figures package. I solved it adding
> the friends.figure project to the friends.diagram Java build path.
>
> Afther that, I run other Eclipse instance. When I create a new friends
> diagram, the editor opens but it does not allow to draw a person,
> however it presents a pop-up with this error:
> An error has occurred. See error log for more details.
> figures/PersonFigure
>
> I imagine that I forgot any step of the process... moreover I do not
> know whether the code generator uses the mirrored.gmfgraph file
> in.figure/models folder. What is the aim of that file ?
>
> Thank you in advance.
> Joaquín
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #586363 is a reply to message #514727] |
Wed, 17 February 2010 11:49 |
Joaquin Cañadas Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hi Dimitris,
I tryed deleting the .gmfgen model and re-generating it, but the problem
is not solved.
I also tryed deleting the .genmodel too, and regenerating all again, but
nothing.
The other example , flowchart, works fine. However, I am testing the
friends example because of the use of images.
Regards
Joaquín
Dimitris Kolovos escribió:
> Hi Joaquin,
>
> Could you please try deleting the .gmfgen model and re-generating it?
> Re the mirrored.gmfgraph, you can ignore it.
>
> Please let me know if re-generating the .gmfgen fixes the problem. If
> not, I'll have a closer look at this.
>
> Cheers,
> Dimitris
>
> Joaquín Cañadas wrote:
>> Hi Dimitris,
>>
>> I have a problem with the friends example. I am using the
>> pre-packaged Eclipse Galileo Modeling distribution.
>> I downloaded the two zip archive(s) of friends example (friends and
>> friends.figure) from this page:
>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>
>>
>> After importing them on Eclipse, I generated ALL and generated
>> Diagram Code.
>> My first problem was that the generated friends.diagram project had
>> errors because it did not find the figures package. I solved it
>> adding the friends.figure project to the friends.diagram Java build
>> path.
>>
>> Afther that, I run other Eclipse instance. When I create a new
>> friends diagram, the editor opens but it does not allow to draw a
>> person, however it presents a pop-up with this error:
>> An error has occurred. See error log for more details.
>> figures/PersonFigure
>>
>> I imagine that I forgot any step of the process... moreover I do not
>> know whether the code generator uses the mirrored.gmfgraph file
>> in.figure/models folder. What is the aim of that file ?
>>
>> Thank you in advance.
>> Joaquín
>
>
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #586394 is a reply to message #514980] |
Wed, 17 February 2010 20:33 |
Joaquin Cañadas Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hello again,
I tried downloading the friends example from the SVN repository and it
works fine. But it works only when I also check out the project
generated from the .gmfgen
(org.eclipse.epsilon.eugenia.examples.friends.diagram). I mean, when I
generate the diagram code from the .gmfgen model I have a error in the
generated class friends.diagram.edit.parts.PersonEditPart.java, because
- the import figures cannot be resolved
- PersonFigure cannot be resolved
However, when I check out the diagram project instead of generating it,
the error is not presented. ¿Any suggestion? Adding the friends.figure
project to the friends.diagram Java build path solves the compilation
error, however when the new Eclipse instance is launched and the editor
is used, an error fires because it cannot find the figures/PersonFigure
Thank you in advance
Joaquín
(I am using java1.6)
Joaquín Cañadas escribió:
> Hi Dimitris,
> I tryed deleting the .gmfgen model and re-generating it, but the
> problem is not solved.
> I also tryed deleting the .genmodel too, and regenerating all again,
> but nothing.
>
> The other example , flowchart, works fine. However, I am testing the
> friends example because of the use of images.
> Regards
> Joaquín
>
>
> Dimitris Kolovos escribió:
>> Hi Joaquin,
>>
>> Could you please try deleting the .gmfgen model and re-generating it?
>> Re the mirrored.gmfgraph, you can ignore it.
>>
>> Please let me know if re-generating the .gmfgen fixes the problem. If
>> not, I'll have a closer look at this.
>>
>> Cheers,
>> Dimitris
>>
>> Joaquín Cañadas wrote:
>>> Hi Dimitris,
>>>
>>> I have a problem with the friends example. I am using the
>>> pre-packaged Eclipse Galileo Modeling distribution.
>>> I downloaded the two zip archive(s) of friends example (friends and
>>> friends.figure) from this page:
>>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>>
>>>
>>> After importing them on Eclipse, I generated ALL and generated
>>> Diagram Code.
>>> My first problem was that the generated friends.diagram project had
>>> errors because it did not find the figures package. I solved it
>>> adding the friends.figure project to the friends.diagram Java build
>>> path.
>>>
>>> Afther that, I run other Eclipse instance. When I create a new
>>> friends diagram, the editor opens but it does not allow to draw a
>>> person, however it presents a pop-up with this error:
>>> An error has occurred. See error log for more details.
>>> figures/PersonFigure
>>>
>>> I imagine that I forgot any step of the process... moreover I do not
>>> know whether the code generator uses the mirrored.gmfgraph file
>>> in.figure/models folder. What is the aim of that file ?
>>>
>>> Thank you in advance.
>>> Joaquín
>>
>>
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #586400 is a reply to message #515131] |
Wed, 17 February 2010 21:08 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Joaquin,
I'm afraid I can't reproduce this - and I must admit I'm running low on
suggestions on how to proceed. Perhaps a screen sharing session via
Yuuguu might help...
Cheers,
Dimitris
Joaquín Cañadas wrote:
> Hello again,
> I tried downloading the friends example from the SVN repository and it
> works fine. But it works only when I also check out the project
> generated from the .gmfgen
> (org.eclipse.epsilon.eugenia.examples.friends.diagram). I mean, when I
> generate the diagram code from the .gmfgen model I have a error in the
> generated class friends.diagram.edit.parts.PersonEditPart.java, because
> - the import figures cannot be resolved
> - PersonFigure cannot be resolved
> However, when I check out the diagram project instead of generating it,
> the error is not presented. ¿Any suggestion? Adding the friends.figure
> project to the friends.diagram Java build path solves the compilation
> error, however when the new Eclipse instance is launched and the editor
> is used, an error fires because it cannot find the figures/PersonFigure
>
> Thank you in advance
>
> Joaquín
> (I am using java1.6)
>
>
> Joaquín Cañadas escribió:
>> Hi Dimitris,
>> I tryed deleting the .gmfgen model and re-generating it, but the
>> problem is not solved.
>> I also tryed deleting the .genmodel too, and regenerating all again,
>> but nothing.
>>
>> The other example , flowchart, works fine. However, I am testing the
>> friends example because of the use of images.
>> Regards
>> Joaquín
>>
>>
>> Dimitris Kolovos escribió:
>>> Hi Joaquin,
>>>
>>> Could you please try deleting the .gmfgen model and re-generating it?
>>> Re the mirrored.gmfgraph, you can ignore it.
>>>
>>> Please let me know if re-generating the .gmfgen fixes the problem. If
>>> not, I'll have a closer look at this.
>>>
>>> Cheers,
>>> Dimitris
>>>
>>> Joaquín Cañadas wrote:
>>>> Hi Dimitris,
>>>>
>>>> I have a problem with the friends example. I am using the
>>>> pre-packaged Eclipse Galileo Modeling distribution.
>>>> I downloaded the two zip archive(s) of friends example (friends and
>>>> friends.figure) from this page:
>>>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>>>
>>>>
>>>> After importing them on Eclipse, I generated ALL and generated
>>>> Diagram Code.
>>>> My first problem was that the generated friends.diagram project had
>>>> errors because it did not find the figures package. I solved it
>>>> adding the friends.figure project to the friends.diagram Java build
>>>> path.
>>>>
>>>> Afther that, I run other Eclipse instance. When I create a new
>>>> friends diagram, the editor opens but it does not allow to draw a
>>>> person, however it presents a pop-up with this error:
>>>> An error has occurred. See error log for more details.
>>>> figures/PersonFigure
>>>>
>>>> I imagine that I forgot any step of the process... moreover I do not
>>>> know whether the code generator uses the mirrored.gmfgraph file
>>>> in.figure/models folder. What is the aim of that file ?
>>>>
>>>> Thank you in advance.
>>>> Joaquín
>>>
>>>
--
Spread the word: http://www.eclipse.org/gmt/epsilon/spreadtheword
Follow Epsilon on Twitter: http://twitter.com/epsilonews
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #586453 is a reply to message #515142] |
Fri, 19 February 2010 10:08 |
Joaquin Cañadas Messages: 25 Registered: July 2009 |
Junior Member |
|
|
Hi Dimitris,
I fixed the problem. I added the file FixGMFGen.eol to the
examples.friends project, similarly to the FixGMFGen.eol file of the
examples.flowchart project.
I addapted the code of the file FixGMFGen.eol:
var genPlugin = GmfGen!GenPlugin.all.first();
genPlugin.requiredPlugins.add('org.eclipse.epsilon.eugenia.e xamples.friends.figures');
Now, the diagram project does not have any compilation errors, and the
graphical editor works fine.
Regards
Joaquín
Dimitris Kolovos escribió:
> Hi Joaquin,
>
> I'm afraid I can't reproduce this - and I must admit I'm running low
> on suggestions on how to proceed. Perhaps a screen sharing session via
> Yuuguu might help...
>
> Cheers,
> Dimitris
>
> Joaquín Cañadas wrote:
>> Hello again,
>> I tried downloading the friends example from the SVN repository and
>> it works fine. But it works only when I also check out the project
>> generated from the .gmfgen
>> (org.eclipse.epsilon.eugenia.examples.friends.diagram). I mean, when
>> I generate the diagram code from the .gmfgen model I have a error in
>> the generated class friends.diagram.edit.parts.PersonEditPart.java,
>> because
>> - the import figures cannot be resolved
>> - PersonFigure cannot be resolved
>> However, when I check out the diagram project instead of generating
>> it, the error is not presented. ¿Any suggestion? Adding the
>> friends.figure project to the friends.diagram Java build path solves
>> the compilation error, however when the new Eclipse instance is
>> launched and the editor is used, an error fires because it cannot
>> find the figures/PersonFigure
>>
>> Thank you in advance
>>
>> Joaquín
>> (I am using java1.6)
>>
>>
>> Joaquín Cañadas escribió:
>>> Hi Dimitris,
>>> I tryed deleting the .gmfgen model and re-generating it, but the
>>> problem is not solved.
>>> I also tryed deleting the .genmodel too, and regenerating all again,
>>> but nothing.
>>>
>>> The other example , flowchart, works fine. However, I am testing the
>>> friends example because of the use of images.
>>> Regards
>>> Joaquín
>>>
>>>
>>> Dimitris Kolovos escribió:
>>>> Hi Joaquin,
>>>>
>>>> Could you please try deleting the .gmfgen model and re-generating
>>>> it? Re the mirrored.gmfgraph, you can ignore it.
>>>>
>>>> Please let me know if re-generating the .gmfgen fixes the problem.
>>>> If not, I'll have a closer look at this.
>>>>
>>>> Cheers,
>>>> Dimitris
>>>>
>>>> Joaquín Cañadas wrote:
>>>>> Hi Dimitris,
>>>>>
>>>>> I have a problem with the friends example. I am using the
>>>>> pre-packaged Eclipse Galileo Modeling distribution.
>>>>> I downloaded the two zip archive(s) of friends example (friends
>>>>> and friends.figure) from this page:
>>>>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>>>>
>>>>>
>>>>> After importing them on Eclipse, I generated ALL and generated
>>>>> Diagram Code.
>>>>> My first problem was that the generated friends.diagram project
>>>>> had errors because it did not find the figures package. I solved
>>>>> it adding the friends.figure project to the friends.diagram Java
>>>>> build path.
>>>>>
>>>>> Afther that, I run other Eclipse instance. When I create a new
>>>>> friends diagram, the editor opens but it does not allow to draw a
>>>>> person, however it presents a pop-up with this error:
>>>>> An error has occurred. See error log for more details.
>>>>> figures/PersonFigure
>>>>>
>>>>> I imagine that I forgot any step of the process... moreover I do
>>>>> not know whether the code generator uses the mirrored.gmfgraph
>>>>> file in.figure/models folder. What is the aim of that file ?
>>>>>
>>>>> Thank you in advance.
>>>>> Joaquín
>>>>
>>>>
>
>
|
|
|
Re: [EUGENIA] Questions about examples.friends [message #586461 is a reply to message #515538] |
Fri, 19 February 2010 10:42 |
Dimitrios Kolovos Messages: 1776 Registered: July 2009 |
Senior Member |
|
|
Hi Joaquin,
Glad you got this fixed! However, in principle this should have the same
effect as adding the dependency manually - so I'm still not sure why you
were encountering this behaviour in the first place...
Cheers,
Dimitris
Joaquín Cañadas wrote:
> Hi Dimitris, I fixed the problem. I added the file FixGMFGen.eol to
> the examples.friends project, similarly to the FixGMFGen.eol file of
> the examples.flowchart project. I addapted the code of the file
> FixGMFGen.eol:
>
> var genPlugin = GmfGen!GenPlugin.all.first();
> genPlugin.requiredPlugins.add('org.eclipse.epsilon.eugenia.e xamples.friends.figures');
>
>
>
> Now, the diagram project does not have any compilation errors, and
> the graphical editor works fine. Regards Joaquín
>
>
> Dimitris Kolovos escribió:
>> Hi Joaquin,
>>
>> I'm afraid I can't reproduce this - and I must admit I'm running
>> low on suggestions on how to proceed. Perhaps a screen sharing
>> session via Yuuguu might help...
>>
>> Cheers, Dimitris
>>
>> Joaquín Cañadas wrote:
>>> Hello again, I tried downloading the friends example from the SVN
>>> repository and it works fine. But it works only when I also check
>>> out the project generated from the .gmfgen
>>> (org.eclipse.epsilon.eugenia.examples.friends.diagram). I mean,
>>> when I generate the diagram code from the .gmfgen model I have a
>>> error in the generated class
>>> friends.diagram.edit.parts.PersonEditPart.java, because - the
>>> import figures cannot be resolved - PersonFigure cannot be
>>> resolved However, when I check out the diagram project instead of
>>> generating it, the error is not presented. ¿Any suggestion?
>>> Adding the friends.figure project to the friends.diagram Java
>>> build path solves the compilation error, however when the new
>>> Eclipse instance is launched and the editor is used, an error
>>> fires because it cannot find the figures/PersonFigure
>>>
>>> Thank you in advance
>>>
>>> Joaquín (I am using java1.6)
>>>
>>>
>>> Joaquín Cañadas escribió:
>>>> Hi Dimitris, I tryed deleting the .gmfgen model and
>>>> re-generating it, but the problem is not solved. I also tryed
>>>> deleting the .genmodel too, and regenerating all again, but
>>>> nothing.
>>>>
>>>> The other example , flowchart, works fine. However, I am
>>>> testing the friends example because of the use of images.
>>>> Regards Joaquín
>>>>
>>>>
>>>> Dimitris Kolovos escribió:
>>>>> Hi Joaquin,
>>>>>
>>>>> Could you please try deleting the .gmfgen model and
>>>>> re-generating it? Re the mirrored.gmfgraph, you can ignore
>>>>> it.
>>>>>
>>>>> Please let me know if re-generating the .gmfgen fixes the
>>>>> problem. If not, I'll have a closer look at this.
>>>>>
>>>>> Cheers, Dimitris
>>>>>
>>>>> Joaquín Cañadas wrote:
>>>>>> Hi Dimitris,
>>>>>>
>>>>>> I have a problem with the friends example. I am using the
>>>>>> pre-packaged Eclipse Galileo Modeling distribution. I
>>>>>> downloaded the two zip archive(s) of friends example
>>>>>> (friends and friends.figure) from this page:
>>>>>> http://eclipse.org/gmt/epsilon/examples/index.php?example=or g.eclipse.epsilon.eugenia.examples.friends
>>>>>>
>>>>>>
>>>>>>
>>>>>> After importing them on Eclipse, I generated ALL and
>>>>>> generated Diagram Code. My first problem was that the
>>>>>> generated friends.diagram project had errors because it did
>>>>>> not find the figures package. I solved it adding the
>>>>>> friends.figure project to the friends.diagram Java build
>>>>>> path.
>>>>>>
>>>>>> Afther that, I run other Eclipse instance. When I create a
>>>>>> new friends diagram, the editor opens but it does not allow
>>>>>> to draw a person, however it presents a pop-up with this
>>>>>> error: An error has occurred. See error log for more
>>>>>> details. figures/PersonFigure
>>>>>>
>>>>>> I imagine that I forgot any step of the process... moreover
>>>>>> I do not know whether the code generator uses the
>>>>>> mirrored.gmfgraph file in.figure/models folder. What is the
>>>>>> aim of that file ?
>>>>>>
>>>>>> Thank you in advance. Joaquín
>>>>>
>>>>>
>>
>>
|
|
|
Goto Forum:
Current Time: Thu Sep 26 02:38:29 GMT 2024
Powered by FUDForum. Page generated in 0.04662 seconds
|