Difference between revisions of "CompileProtege4InEclipse"

From Protege Wiki
Jump to: navigation, search
(incremental save of new content)
(incremental save of new content)
Line 5: Line 5:
 
To follow is some documentation on how one would go about compiling and running Protege 4.0 alpha from the [http://www.eclipse.org/ Eclipse development environment].  This documentation also takes the approach of creating a '''separate Eclipse project for each OSGi bundle''' in the Protege 4 source tree.
 
To follow is some documentation on how one would go about compiling and running Protege 4.0 alpha from the [http://www.eclipse.org/ Eclipse development environment].  This documentation also takes the approach of creating a '''separate Eclipse project for each OSGi bundle''' in the Protege 4 source tree.
  
Please note that these instructions are only valid for the 4.0 alpha version of Protege. If you are trying to compile and run the 3.x versions of Protege, we have separate instructions [http://protege.cim3.net/cgi-bin/wiki.pl?CompileProtegeSourcesInIDE#nid9EM available elsewhere].
+
Please note that:
 +
 
 +
* These instructions are only valid for the 4.0 alpha version of Protege. If you are trying to compile and run the 3.x versions of Protege, we have separate instructions [http://protege.cim3.net/cgi-bin/wiki.pl?CompileProtegeSourcesInIDE#nid9EM available elsewhere].
 +
* This is only one of several possible ways of compiling and running Protege 4 from Eclipse.  This particular page is not meant to be exhaustive.<br /><br />
  
 
__TOC__
 
__TOC__
Line 14: Line 17:
 
Right-click on the <code>org.protege.common</code> folder and choose Checkout...  In the resulting "Checkout from SVN" dialog, leave all of the default settings (as shown below) and click Finish.<br /><br />
 
Right-click on the <code>org.protege.common</code> folder and choose Checkout...  In the resulting "Checkout from SVN" dialog, leave all of the default settings (as shown below) and click Finish.<br /><br />
  
[[Image:Checkout-dialog.jpg]]
+
[[Image:Checkout-dialog.jpg]]<br /><br />
 +
 
 +
In the "New Project" dialog, choose Plug-in Project and click Next >.<br /><br />
 +
 
 +
[[Image:New-project-dialog.jpg]]<br /><br />
 +
 
 +
In the "New Plug-in Project" dialog, type <code>org.protege.common</code> in the Project name text box.  Leave all other default settings and click Next >.<br /><br />
 +
 
 +
[[Image:New-plugin-project-dialog.jpg]]<br /><br />
 +
 
 +
 
  
 
== Create the <code>org.protege.editor.core.application</code> project ==
 
== Create the <code>org.protege.editor.core.application</code> project ==
 
== Create the <code>org.semanticweb.owl.owlapi</code> project ==
 
== Create the <code>org.semanticweb.owl.owlapi</code> project ==
 
== Create the <code>org.protege.editor.owl</code> project ==
 
== Create the <code>org.protege.editor.owl</code> project ==

Revision as of 14:54, October 17, 2007

Compile and Run Protege 4.0 Alpha from Eclipse


To follow is some documentation on how one would go about compiling and running Protege 4.0 alpha from the Eclipse development environment. This documentation also takes the approach of creating a separate Eclipse project for each OSGi bundle in the Protege 4 source tree.

Please note that:

  • These instructions are only valid for the 4.0 alpha version of Protege. If you are trying to compile and run the 3.x versions of Protege, we have separate instructions available elsewhere.
  • This is only one of several possible ways of compiling and running Protege 4 from Eclipse. This particular page is not meant to be exhaustive.

Create the org.protege.common project

Go to the SVN Repository Exploring perspective and navigate to protege4/protege-standalone/trunk/plugins/org.protege.common. This step assumes that you have Subversion support installed for the Eclipse IDE and that you have already connected to the Protege Subversion repository. If you have not done this, we have instructions for doing so on our Wiki.

Right-click on the org.protege.common folder and choose Checkout... In the resulting "Checkout from SVN" dialog, leave all of the default settings (as shown below) and click Finish.

Checkout-dialog.jpg

In the "New Project" dialog, choose Plug-in Project and click Next >.

New-project-dialog.jpg

In the "New Plug-in Project" dialog, type org.protege.common in the Project name text box. Leave all other default settings and click Next >.

New-plugin-project-dialog.jpg


Create the org.protege.editor.core.application project

Create the org.semanticweb.owl.owlapi project

Create the org.protege.editor.owl project