eclipse-esmf / esmf-aspect-model-editor

Manage Aspect Models visually — create, validate, create artefacts, persist file based
https://eclipse-esmf.github.io/ame-guide/introduction.html
Mozilla Public License 2.0
21 stars 7 forks source link

[Task] Improve model export to serve better as input source for samm-cli #103

Open schabdo opened 11 months ago

schabdo commented 11 months ago

I created a simple Aspect Model with the help of the editor. The model does not have any external references so I used the Export Aspect Model functionality to store the model somewhere on disc as a single file for further processing with samm-cli:

$ java -jar samm-cli-2.3.2.jar aspect Health.ttl to java 

Since the export didn't create namespace and version folder structure I ended-up with a generic error message:

The URN constructed from the input file path is invalid: urn:samm:<parent-dir>:<current-dir>#Health

Since I created this model with the editor I'd have expected to process it without any further ado and knowledge