-
Notifications
You must be signed in to change notification settings - Fork 233
Building from Source
Details the steps necessary to download the Protege Desktop source code, and build a distribution from those sources.
To follow this step-by-step guide, you must have Java JDK 11, Maven, and Git installed.
- Clone Protege source code from Github. Type in a console:
git clone https://github.com/protegeproject/protege.git
- Change to the protege directory. Type in the console:
cd protege
- Build Protege. Type in a console:
mvn clean package
After the build completes, Protégé Desktop packages will be available in the protege/protege-desktop/target
directory. There will be four distinct packages, a platform-independent one (that does not include a Java Runtime Environment) and one for each of the following operating systems: GNU/Linux, macOS, and Windows.
The “Protégé Distribution” is a version of Protégé that comes with a set of third-party plugins bundled with Protégé itself. To build it, you must first build Protégé Desktop as per the instructions above. Then, follow the supplementary steps below.
- Install the Protégé Desktop packages. From the same directory as above, run:
mvn install
This will install the freshly built packages for Protégé Desktop in your local Maven repository.
- Clone the Protégé Distribution's repository from GitHub and move to the newly cloned repository. Run:
git clone https://github.com/protegeproject/protege-distribution.git
cd protege-distribution
- Build Protégé Distribution. Run:
mvn clean package
After the build completes, packages for Protégé Distribution will be available in the protege-distribution/target
directory.