Skip to content

Can't open UML models compiled by alfc in Alf Reference Implementation in Eclipse #100

@alperkocatas

Description

@alperkocatas

I have imported the projects for version 1.1.0k of Alf Reference Implementation in Eclipse Modeling 2021-03 version.

I can use alfc launch configuration within Eclipse to compile org.modeldriven.alf\Models\Hello.alf. Compilation terminates successfully, and Hello.uml is written on file org.modeldriven.alf.eclipse/UML/Hello.uml.

However, when I try to upen Hello.uml file using the UML Model editor in Eclipse, I receive an error immediately after I expand Hello.

Error is as following:
Problems encountered in file "pathmap://ALF_LIBRARIES/Alf.library.uml" MalformedURLException: unknown protocol: pathmap

Apparently, the package imports like the following which use the pathmap ALF_LIBRARIES are not recognized.

<packageImport xmi:id="_HwJHQVNDEeyORr92fNMt-A" visibility="private"> <importedPackage href="pathmap://ALF_LIBRARIES/Alf.library.uml#Alf-Library-PrimitiveTypes"/> </packageImport>

If I am supposed to register ALF_LIBRARIES as a new pathmap into Eclipse environment? I could not find a way to do that, either.

I am attaching a screenshot of the actual error.

image

I am trying this in the following environment:

  • Windows 10 arch: amd64
  • Eclipse Modeling 2021-03, with Papyrus software designer 2.0.0 and Moka 4.1.1 installed using marketplace.
  • java version 11.0.13 (Oracle)
  • default locale: en_US, encoding: cp1254

Note: I am not sure if this is the right place to ask for help about this issue, but since I could not reach a dedicated forum regarding Alf, I am entering it as an issue here. I would gladly carry this to any place which is more appropriate if you can guide me about it.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions