Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup of translation page UML -> Common Logic #5

Open
tillmo opened this issue Mar 8, 2015 · 1 comment
Open

setup of translation page UML -> Common Logic #5

tillmo opened this issue Mar 8, 2015 · 1 comment
Assignees

Comments

@tillmo
Copy link
Member

tillmo commented Mar 8, 2015

please set up a web page (e.g. using a simple PHP script or whatever) that read in an xmi file (containing some UML class diagram) and calls hets (branch UML) to translate it to Common Logic, and outputs the translation.

@tillmo
Copy link
Member Author

tillmo commented Mar 24, 2015

A test file can be obtained at http://develop.ontohub.org/uml/simplelibrary.xmi
Hets needs to be called this way:

hets -v2 -t UML2CommonLogic -o clif simplelibrary.xmi 
### Warning: set HETS_MAGIC to a proper magic file
Reading file simplelibrary.xmi
Analyzing library simplelibrary
logic UML
Analyzing spec <simplelibrary?simplelibrary>
### Warning:
signature difference could not be computed using full one
Translated using comorphism UML2CommonLogic : UML -> CommonLogic
Writing file: ./simplelibrary_simplelibrary.clif

The last line of the output indicates where the translation to CLIF is stored. This file should be displayed.
The Hets version to be used is that of the UML branch, here is a binary for 64bit Linux: http://iws.cs.uni-magdeburg.de/~mossakow/hets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants