Skip to content
Tania Tudorache edited this page Dec 4, 2015 · 21 revisions

This page describes how to setup Protege in Eclipse for development. This page is most useful for Protege developers who work on the core system. If you are interested in developing a plugin, please visit the Develop a Plugin page.

Prerequisites

Get and build the source code

This guide will assume that you will get the source code in a directory called protege.

    1. Clone Protege source code from github. Type in a console:

git clone https://github.com/protegeproject/protege.git protege

    1. Change to the protege directory. Type in the console:

cd protege

    1. Build Protege. Type in a console:

mvn clean package

After the build completes, a Protege Desktop distribution will be available in the following directory: protege/protege-distribution/target/protege-${version}-platform-independent-bin/Protege-${version}

for example, protege-distribution/target/protege-5.0.0-beta-18-SNAPSHOT-platform-independent/Protege-5.0.0-beta-18-SNAPSHOT

In the end, you will get a structure for the protege folder, similar to this:

protege
   + protege-common
   + protege-desktop
   + protege-editor-core   
   + protege-editor-owl
   + protege-launcher
   license.txt
   pom.xml
   README.md