bmaggi / library-training

:mortar_board: :books: The Library Training Material (Incoming Eclipse Papyrus Photon Year 2018-2019)
Eclipse Public License 1.0
12 stars 5 forks source link

Errors in library.architecture #26

Open vlimmerm opened 6 years ago

vlimmerm commented 6 years ago

Hello Benoit,

I am using Oxygen and Papyrus (Nighly update). When I open library.architecture, I get several errors: library architecture_errors

Kind regards,

Marc Van Vlimmeren (Flanders Make)

vlimmerm commented 6 years ago

More details on the IllegalValueException error: library architecture_errors_2

bmaggi commented 6 years ago

Hi,

Not sure why did you closed the issue since it's a fair point.

You got validation issues because you don't have the referenced plug-ins installed in your eclipse. (You should be able to build a local update site with a simple mvn clean install)

The right way would be to have local ref (like ../..) instead of platform ref in the architecture file, but last time I tried it didn't worked.

As a matter of fact the architecture model editor has known issues (like 527664) which render it pretty unusable without referenced plugin already installed in your target platform)

Let's hope this will be fixed in a next version.

Regards,

vlimmerm commented 6 years ago

Hello Benoit,

Thanks for your reply. I did no to intend to close the issue. My mistake.

Kind regards,

Marc

Marc Van Vlimmeren Research engineer Flanders Make vzw Oude Diestersebaan 133 B-3920 Lommel

Tel.: +32 11 79 05 77 Mobile: +32 491 61 18 27 www.flandersmake.behttp://www.flandersmake.be/ Volg ons op LinkedInhttps://www.linkedin.com/company/9277885

From: Benoit Maggi [mailto:notifications@github.com] Sent: woensdag 13 december 2017 11:20 To: bmaggi/library-training library-training@noreply.github.com Cc: Marc Van Vlimmeren marc.vanvlimmeren@flandersmake.be; State change state_change@noreply.github.com Subject: Re: [bmaggi/library-training] Errors in library.architecture (#26)

Hi,

Not sure why did you closed the issue since it's a fair point.

You got validation issues because you don't have the referenced plug-ins installed in your eclipse. (You should be able to build a local update site with a simple mvn clean install)

The right way would be to have local ref (like ../..) instead of platform ref in the architecture file, but last time I tried it didn't worked.

As a matter of fact the architecture model editor has known issues (like 527664https://bugs.eclipse.org/bugs/show_bug.cgi?id=527664) which render it pretty unusable without referenced plugin already installed in your target platform)

Let's hope this will be fixed in a next version.

Regards,

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/bmaggi/library-training/issues/26#issuecomment-351347475, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AekexjflXZ2DeopMYQCwzgDn_rEs3Rf1ks5s_6TPgaJpZM4RAL4v.

bmaggi commented 6 years ago

I tested and it's sill not working :( with the soon to be Papyrus 3.2.0 (in Eclipse Oxygen.2)

I opened this issue to track it in Papyrus bug tracker.

vlimmerm commented 6 years ago

Hello Benoit,

I hope you do not mind that I come with some additional questions / issues.

First issue: I am not able to add element types in the Description Language. When I push the … button at the end of the “Element Types” field, nothing happens. (Screen shot below)

Question: how did you then manage to get the library architecture up and running? I am trying to make an architecture for our own application, but I am not able to get it done with the Architecture Model Editor. Do you think it is possible to edit the XMI directly, taking the library.architecture as example?

Kind regards,

Marc

PS, I am putting Klaas in CC as he is following this up.

[cid:image001.png@01D378B3.C9296A10]

Marc Van Vlimmeren Research engineer Flanders Make vzw Oude Diestersebaan 133 B-3920 Lommel

Tel.: +32 11 79 05 77 Mobile: +32 491 61 18 27 www.flandersmake.behttp://www.flandersmake.be/ Volg ons op LinkedInhttps://www.linkedin.com/company/9277885

From: Benoit Maggi [mailto:notifications@github.com] Sent: woensdag 13 december 2017 11:20 To: bmaggi/library-training library-training@noreply.github.com Cc: Marc Van Vlimmeren marc.vanvlimmeren@flandersmake.be; State change state_change@noreply.github.com Subject: Re: [bmaggi/library-training] Errors in library.architecture (#26)

Hi,

Not sure why did you closed the issue since it's a fair point.

You got validation issues because you don't have the referenced plug-ins installed in your eclipse. (You should be able to build a local update site with a simple mvn clean install)

The right way would be to have local ref (like ../..) instead of platform ref in the architecture file, but last time I tried it didn't worked.

As a matter of fact the architecture model editor has known issues (like 527664https://bugs.eclipse.org/bugs/show_bug.cgi?id=527664) which render it pretty unusable without referenced plugin already installed in your target platform)

Let's hope this will be fixed in a next version.

Regards,

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHubhttps://github.com/bmaggi/library-training/issues/26#issuecomment-351347475, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AekexjflXZ2DeopMYQCwzgDn_rEs3Rf1ks5s_6TPgaJpZM4RAL4v.

bmaggi commented 6 years ago

Yes, you can edit with a textual/xml editor ! (As a matter of fact I edited a lot this file with a simple textual editor, but a the time the emf editor was still on progress)

I would recommend to use meaningful ids.