Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Problem with architecture configuration

Hi Maged,

Than you for offering to help.

Please see answers to your questions inline below.

Any hints as to where to look would be greatly appreciated!

Regards,

Charles Rivet
Senior Product Manager
charles@xxxxxxxxxxxxx

On 2018-05-23, at 03:33 , Maged Elaasar <melaasar@xxxxxxxxx> wrote:

Hi Charles,

- Can you please indicate which version of Papyrus are you using? is it Oxygen or Photon?
<cr>
Oxygen, 3.3.0
</cr>

- Is your new architecture context an Architecture Description Language or an Architecture Viewpoint? I assume the former since you seem to be creating new diagram types.
<cr>
We are implementing a process-tailored SysML subset, and the client also wants UML class diagram in addition to the SysML subset.
I would think that you are correct in your assumption. I’m not the one who originally implemented this - I’m just tasked with adding the class diagram...
Note that we have four user viewpoints defined but that the not all diagrams are available in all viewpoints (so more copies…).
</cr>

- When you added a Class diagram to your architecture context, did you copy of the one in UML or did you create one that extends it (sets it as a parent)?
<cr>
Copied the class diagram information in its entirety from the Papyrus implementation and pasted into our environment.
</cr>

- Your command class seems to be internal "com.zeligsoft.AB.design.architecture.internal.commands.CreateABSysMLModelCommand". Do you export that package in the manifest? Also, notice that the class must be on the class path of the bundle that provides the architecture model.

- You did not mention when do you get this error. Is it when you specify the architecture model, or when you create diagrams of this type? A stack trace would help.
<cr>
I get the error when I try to build the product (RCP). Everything works fine when I build and launch into a runtime environment.

Here is the log for the build that fails:

[INFO] Scanning for projects...
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.profile.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.profile.feature/AB.m.xml
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/
[INFO] Adding reAB.sitory http://download.eclipse.org/releases/oxygen
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/
[INFO] Fetching p2.index from http://download.eclipse.org/technology/epp/packages/oxygen/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201804111000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201803211000/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/
[INFO] Fetching p2.index from http://download.eclipse.org/releases/oxygen/201712201001/
[INFO] Adding reAB.sitory http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.0.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.0.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.1.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.1.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.2.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.2.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.3.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.3.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.4.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/updates/releases/oxygen/3.4.0/main/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen/
[INFO] Adding reAB.sitory http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen/1.0.0_papyrus-sysml-oxygen_73/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen/1.0.0_papyrus-sysml-oxygen_73/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen/1.1.0_papyrus-sysml-oxygen_85/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen/1.1.0_papyrus-sysml-oxygen_85/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen/1.2.0_papyrus-sysml-oxygen_100/
[INFO] Fetching p2.index from http://download.eclipse.org/modeling/mdt/papyrus/comAB.nents/sysml14/oxygen/1.2.0_papyrus-sysml-oxygen_100/
[INFO] Adding reAB.sitory http://download.eclipse.org/rmf/updates/releases
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops/R20170919201930/reAB.sitory/
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops/R20170919201930/reAB.sitory/
[INFO] Adding reAB.sitory http://download.eclipse.org/tools/orbit/downloads/drops/R20170919201930/reAB.sitory
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops2/R20170919201930/reAB.sitory/
[INFO] Fetching p2.index from http://download.eclipse.org/tools/orbit/downloads/drops2/R20170919201930/reAB.sitory/
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.profile.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.profile.feature/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.profile.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.profile.feature/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.core.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.core.feature/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.core.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.core.feature/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.core.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.core.feature/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.tooling.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.tooling.feature/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.tooling.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.tooling.feature/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.tooling.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.tooling.feature/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.requirements.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.requirements.feature/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.requirements.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.requirements.feature/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.requirements.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.requirements.feature/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.abc.genid.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.abc.genid.feature/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.abc.genid.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.abc.genid.feature/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.abc.genid.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.abc.genid.feature/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.feature/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.feature/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/features/com.zeligsoft.abc.abcsysml.feature/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.dependencies.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.dependencies.feature/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.dependencies.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.dependencies.feature/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.dependencies.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.dependencies.feature/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.p2:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.p2/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.p2:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.p2/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.p2:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.p2/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.rcp:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.rcp/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.rcp:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.rcp/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.rcp:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.rcp/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.rcp.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.rcp.feature/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.rcp.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.rcp.feature/AB.m.xml
[INFO] Resolving class path of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.rcp.feature:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.rcp.feature/AB.m.xml
[INFO] Computing target platform for MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.product:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.product/AB.m.xml
[INFO] Resolving dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.product:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.product/AB.m.xml
[INFO] {osgi.os=win32, osgi.ws=win32, org.eclipse.update.install.features=true, osgi.arch=x86_64}
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: com.zeligsoft.abc.abcsysml.product 3.0.2.qualifier
[ERROR]   Missing requirement: com.zeligsoft.abc.abcsysml.product 3.0.2.qualifier requires 'com.zeligsoft.abc.abcsysml.dependencies.feature.feature.group [3.0.1,3.0.2)' but it could not be found
[ERROR] 
[ERROR] See http://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[ERROR] Cannot resolve dependencies of MavenProject: com.zeligsoft.abc.abcsysml:com.zeligsoft.abc.abcsysml.product:3.0.2-SNAPSHOT @ /Users/crivet/AB.SysML-DevEnv/AB.sysml-oxygen/git/AB.sysml/releng/com.zeligsoft.abc.abcsysml.product/AB.m.xml: See log for details -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and AB.ssible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MavenExecutionException
</cr>

Maged


On Mon, May 21, 2018 at 1:02 PM, charles+zeligsoft.com <charles@xxxxxxxxxxxxx> wrote:
Good day all,

I’m having some problem with an architecture configuration for a customer (“ABC”) model.

The goal is to control the diagram palette based on type of user.

We started with a SysML configuration from which some elements were removed - that worked fine.

I added the Class diagram to this setup (based on customer requirements). However, this is where I started to get the following errors:

        Problems encountered in file:
        "platform:/resource/com/zeligsoft.AB.design.architecture/resources/architecture/ABSysml-expert.architecture

And, when trying to run the result of a build, I get (please be lenient on typos...I could not copy from the dialog...):

        IllegalValueExpression: Value 'com.zeligsoft.AB.design.architecture.internal.commands.CreateABSysMLModelCommand" is not legal. (platform:/resource/com.zeligsoft.AB.design.architecture/resources/architecture/ABSysml-expert.architecture,3, 323)

However, that file does exist as:
        [/com.zeligsoft.AB.design.architecture/src/com/zeligsoft/AB/design/architecture/internal/commands/CreateABSysMLModelCommand.java]
at:
        platform:/resource/com/zeligsoft.AB.design.architecture/resources/architecture/src/com/zeligsoft/AB/design/architecture/internal/commands

and does not show any error.

Would you have any suggestions s to what could be that file “not legal?


If it helps, I do have the architecture file before and after the change as well as the complete console output (which I can easily replicate).

And yes, I did update the architecture file from a runtime instance...


Does anyone have any hints as to where to look to find the problem?

Thank you!

/Charles
_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev

_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev


Back to the top