Talk:CompileProtege4PluginInEclipseOneProject

From Protege Wiki
Jump to: navigation, search

In section building the plug-in it is said to include files:

exampleslib.jar log4j.jar owlapi-bin.jar

If this files are included, one get the following compilation errors:

Severity and Description Path Resource Location Creation Time Id The project was not built since its build path is incomplete. Cannot find the class file for org.protege.editor.owl.model.OWLModelManager. Fix the build path then try building this project org.protege.editor.owl.examples.tab Unknown 1218804501483 391828 The type org.protege.editor.owl.model.OWLModelManager cannot be resolved. It is indirectly referenced from required .class files org.protege.editor.owl.examples.tab/src/org/protege/owl/examples/tab ExampleViewComponent.java line 1 1218804501483 391829

To fix the issue include the following files instead:

exampleslib.jar log4j.jar org.protege.editor.core.application.jar org.protege.editor.owl.jar

The last two can be found in the folder owleditor/build/dist/bundles, where owleditor is the protege 4 project.

Can anybody confirm that this is a good fix? The plugin does run after this.