|
Re: Sirius viewpoint unavailable after eclipse restart [message #1702706 is a reply to message #1702667] |
Fri, 24 July 2015 08:31 |
|
Hi Robert,
Le 24/07/2015 01:58, Robert Scott a écrit :
> I have a similar problem to message #398154
> Anytime I restart eclipse I can no longer enable the viewpoint for the
> project. If I remove and then add the modeling project nature then the
> viewpoint is available again. This is a problem for my users.
> detail:
> From eclipse run-time workspace I created an emf genmodel from based on
> an XSD then generate-all and and export as deployable plugins and
> fragments. I deployed these to eclipse plugin directory. I also
> created a Sirius diagram description.
>
> Next I create a modeling project and a model using the new example
> wizard for my model. I can enable the my Sirius viewpoint for the
> project until I close the project and re-open it or until I restart
> eclipse.
> When I restart eclipse the model explorer will show the model as
> expandable but when I try to expand it, another window shows "...loading
> models: loading referenced models of representations.aird" after which
> the model is no longer displayed as expandable in the explorer. Also
> the viewpoint is not listed to enable for the project.
> To fix the problem I can simply use project->configure to remove and
> then add the modeling project nature to the project. Then everything
> works as it should.
> This is a serious inconvenience to my users to do everythime they
> restart Eclipse.
Which version of Sirius do you use ?
Bug 432133 [1] has been corrected for Sirius 3.0.0 (released with Mars).
The reproduction scenario described in the issue is very close to yours.
>
> Any help would be greatly apreciated. I've been looking into this for
> some time with no luck.
>
> Thanks
Regards
--
Maxime - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
--
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=432133
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
Re: Sirius viewpoint unavailable after eclipse restart [message #1702952 is a reply to message #1702667] |
Mon, 27 July 2015 14:37 |
|
On 24/07/2015 01:58, Robert Scott wrote:
> I have a similar problem to message #398154
> Anytime I restart eclipse I can no longer enable the viewpoint for the
> project. If I remove and then add the modeling project nature then the
> viewpoint is available again. This is a problem for my users.
> detail:
> From eclipse run-time workspace I created an emf genmodel from based on
> an XSD then generate-all and and export as deployable plugins and
> fragments. I deployed these to eclipse plugin directory. I also
> created a Sirius diagram description.
>
> Next I create a modeling project and a model using the new example
> wizard for my model. I can enable the my Sirius viewpoint for the
> project until I close the project and re-open it or until I restart
> eclipse.
> When I restart eclipse the model explorer will show the model as
> expandable but when I try to expand it, another window shows "...loading
> models: loading referenced models of representations.aird" after which
> the model is no longer displayed as expandable in the explorer. Also
> the viewpoint is not listed to enable for the project.
> To fix the problem I can simply use project->configure to remove and
> then add the modeling project nature to the project. Then everything
> works as it should.
> This is a serious inconvenience to my users to do everythime they
> restart Eclipse.
>
> Any help would be greatly apreciated. I've been looking into this for
> some time with no luck.
>
> Thanks
Hi
this looks like similar to
https://www.eclipse.org/forums/index.php/t/1059921/ and in my case, even
with Sirius 3.0.0 I still now and then experience the same problem...
Lorenzo
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book
HOME: http://www.lorenzobettini.it
TDD Book: https://leanpub.com/tdd-buildautomation-ci
Xtext Book: https://www.packtpub.com/application-development/implementing-domain-specific-languages-xtext-and-xtend-second-edition
|
|
|
Re: Sirius viewpoint unavailable after eclipse restart [message #1702960 is a reply to message #1702952] |
Mon, 27 July 2015 14:58 |
|
Hi Lorenzo,
Le 27/07/2015 16:37, Lorenzo Bettini a écrit :
> On 24/07/2015 01:58, Robert Scott wrote:
>> I have a similar problem to message #398154
>> Anytime I restart eclipse I can no longer enable the viewpoint for the
>> project. If I remove and then add the modeling project nature then the
>> viewpoint is available again. This is a problem for my users.
>> detail:
>> From eclipse run-time workspace I created an emf genmodel from based on
>> an XSD then generate-all and and export as deployable plugins and
>> fragments. I deployed these to eclipse plugin directory. I also
>> created a Sirius diagram description.
>>
>> Next I create a modeling project and a model using the new example
>> wizard for my model. I can enable the my Sirius viewpoint for the
>> project until I close the project and re-open it or until I restart
>> eclipse.
>> When I restart eclipse the model explorer will show the model as
>> expandable but when I try to expand it, another window shows "...loading
>> models: loading referenced models of representations.aird" after which
>> the model is no longer displayed as expandable in the explorer. Also
>> the viewpoint is not listed to enable for the project.
>> To fix the problem I can simply use project->configure to remove and
>> then add the modeling project nature to the project. Then everything
>> works as it should.
>> This is a serious inconvenience to my users to do everythime they
>> restart Eclipse.
>>
>> Any help would be greatly apreciated. I've been looking into this for
>> some time with no luck.
>>
>> Thanks
>
> Hi
>
> this looks like similar to
> https://www.eclipse.org/forums/index.php/t/1059921/ and in my case, even
> with Sirius 3.0.0 I still now and then experience the same problem...
>
> Lorenzo
>
Robert's issue seems to come from the XSD based metamodel is supposed to
be corrected Bug 432133 [1].
For your forum message, you told us a few month ago that you would like
to do some experiments before filling a bug: did you find something ?
Regards
--
Maxime - Obeo
Need professional services for Sirius?
http://www.obeodesigner.com/sirius
--
[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=432133
[2] https://www.eclipse.org/forums/index.php/t/1059921/
Maxime Porhel - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02672 seconds