-
Notifications
You must be signed in to change notification settings - Fork 0
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
I can not run the program rightly! ! ! #5
Comments
It looks like your Ecore file has some unsupported syntax. Is it possible to attach it here (or a subset of it) so I can debug this? |
I think your catalog entries are very narrow. Please use a wider mapping like with: Also, you did not specify what dependencies you declared in your project. In order to be able to resolve rdf-schema, you need to have the core-vocabularies mappable from the catalog. One way to ensure that is to declare a dependency on core-vocabularies from your gradle script. For example: https://github.com/opencaesar/eclipse-vocabularies/blob/70ba689a9037b4b8ff16fa0ff7e3f062bf00ada5/build.gradle#L29, and then have a task that downloads those dependencies to a folder in your prooject (e.g., build/oml) that is mapped from the catalog.xml. For example: https://github.com/opencaesar/eclipse-vocabularies/blob/master/eclipse-uml2/build.gradle#L12-L15. I think you can follow the organization of the https://github.com/opencaesar/eclipse-vocabularies/eclipse-uml2 as an example. You do not have to use gradle subprojects though. You can merge its gradle.build with that of the root project. |
Description
I got an exception when I use this tool. I want to know what happened.
Additional Context
The parameter of the command is "-i E:/demo -w E:/owldemo/owl.oml -o E:/owldemo"
The exception information is:
Exception in thread "main" java.lang.IllegalArgumentException: Unhandled parameter types: [null]
at io.opencaesar.ecore2oml.EcoreToOml.getIri(EcoreToOml.java:444)
at io.opencaesar.ecore2oml.EcoreToOml._getIri(EcoreToOml.java:281)
at io.opencaesar.ecore2oml.EcoreToOml.getIri(EcoreToOml.java:437)
at io.opencaesar.ecore2oml.EcoreToOml._addToVocabulary(EcoreToOml.java:219)
at io.opencaesar.ecore2oml.EcoreToOml.addToVocabulary(EcoreToOml.java:416)
at io.opencaesar.ecore2oml.EcoreToOml.run(EcoreToOml.java:88)
at io.opencaesar.ecore2oml.App.run(App.java:145)
at io.opencaesar.ecore2oml.App.main(App.java:98)
Relevant screenshots
The text was updated successfully, but these errors were encountered: