Difference between revisions of "CompileProtege4InEclipse"

From Protege Wiki

Jump to: navigation, search
m
(incremental save of new content)
Line 1: Line 1:
<div class="orangeBox">
+
<span style="font-size:22px; font-weight:bold; color:#DC7317;">Compile and Run Protege 4.0 Alpha from Eclipse</span>
<span class="orangeBoxTitle">Compile and Run Protege 4.0 Alpha from Eclipse</span><br />
+
<br /><br />
</div><br />
+
  
 
To follow is some documentation for compiling and running Protege 4.0 alpha from the [http://www.eclipse.org/ Eclipse development environment].  This documentation takes the approach of creating a '''separate Eclipse project for each OSGi bundle''' in the Protege 4 source tree.
 
To follow is some documentation for compiling and running Protege 4.0 alpha from the [http://www.eclipse.org/ Eclipse development environment].  This documentation takes the approach of creating a '''separate Eclipse project for each OSGi bundle''' in the Protege 4 source tree.
Line 7: Line 6:
 
Please note that:
 
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].
+
* These instructions are only valid for the 4.0 alpha version of Protege. If you want 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 />
 
* 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 />
  
Line 23: Line 22:
 
[[Image:New-project-dialog.jpg]]<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 />
+
In the "New Plug-in Project" dialog, type <code>org.protege.common</code> in the Project name text box.  Leave the default settings in the Project Settings and Target Platform sections.  For this documentation, we will also use the default location for the project.  Click the Next > button.<br /><br />
  
 
[[Image:New-plugin-project-dialog.jpg]]<br /><br />
 
[[Image:New-plugin-project-dialog.jpg]]<br /><br />
  
 +
For the Plug-in Content section, uncheck both of the checkboxes in the Plug-in Options section and leave all other default settings.<br /><br />
  
 +
[[Image:Plugin-Content-dialog.jpg]]<br /><br />
 +
 +
If you are curious about what any of these settings mean, you can click the question mark (help) icon in the lower-left corner of the New Project Plug-in dialog and browse the Eclipse documentation.
  
 
== 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 15:22, October 18, 2007

Compile and Run Protege 4.0 Alpha from Eclipse

To follow is some documentation for compiling and running Protege 4.0 alpha from the Eclipse development environment. This documentation 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 want 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.

Contents


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 the default settings in the Project Settings and Target Platform sections. For this documentation, we will also use the default location for the project. Click the Next > button.

New-plugin-project-dialog.jpg

For the Plug-in Content section, uncheck both of the checkboxes in the Plug-in Options section and leave all other default settings.

File:Plugin-Content-dialog.jpg

If you are curious about what any of these settings mean, you can click the question mark (help) icon in the lower-left corner of the New Project Plug-in dialog and browse the Eclipse documentation.

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

Create the org.semanticweb.owl.owlapi project

Create the org.protege.editor.owl project

Personal tools