9 Jul 2012 15:03
Re: Protege OWL as Eclipse plugin
Timothy Redmond <tredmond <at> stanford.edu>
2012-07-09 13:03:16 GMT
2012-07-09 13:03:16 GMT
On 07/07/2012 06:34 PM, Congmin Min
wrote:
Hello!
Could anybody point me to some instructions on how to install protege-owl as an Ecliplse plugin so that:
1) I can edit OWL ontology in Eclipse
Here a lot depends on what exactly you mean by the word "in" in the phrase "in Eclipse". If you simply want to start Protege from eclipse then you can simply create a runnable using one of the run scripts (run_protege.sh, run.sh, run.bat) as a guide. When I do this I often make the Protege installation into an eclipse project (not a java project) because this helps me setup the paths.
If you are planning on developing a Protege plugin, then there are pages describing how to set this up here [2] for Protege 4 (recommended) and here [3] for Protege 3.
Alternatively you might intend on integrating Protege into some eclipse plugin. This would seem natural in Protege 4 as it is based on the eclipse plugin framework. But we have never worked on this and you will have the obstacle that Protege 4 uses Swing but Eclipse uses SWT. This means that such an integration will not reliably work on the Macs.
2) I can using OWL api in my Java application developed in Eclipse.
The OWL api sources can be downloaded from [1]. You may have to play with it to set it up just like you want it because there are several sources. I am attaching my .project and .classpath files for your convenience.
-Timothy
[1] https://owlapi.svn.sourceforge.net/svnroot/owlapi/v3/trunk [2] http://protegewiki.stanford.edu/wiki/CompileProtege4InEclipseFromSvn [3] http://protegewiki.stanford.edu/wiki/SetUpEclipseForPlugin
Thank you for any help or tips in advance。
_______________________________________________ protege-owl mailing list protege-owl <at> lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/protege-owl Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
_______________________________________________ protege-owl mailing list protege-owl <at> lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/protege-owl Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
RSS Feed