Skip to main content

Notice: This Wiki is now read only and edits are no longer possible. Please see: for the plan.

Jump to: navigation, search

Triquetrum/Building From Sources

< Triquetrum
Revision as of 15:46, 23 September 2020 by Unnamed Poltroon (Talk) (Check Out the Repo: Testing Eclipse 2020-09)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

There are at least two ways to get started with Triquetrum:

  1. Building from sources, which is for people who will collaborate on Triquetrum by recompiling and submitting changes.
  2. Downloads, which is for people who want to use Triquetrum without recompiling.

This page discusses how to build from sources and how to prepare for contributing to Triquetrum.

Current version info

(August 2020): We are in the process of updating to Eclipse 2020-06, Java 14 under macOS Mojave 10.14.4 (October 2019): Triquetrum 0.3.0 works with Eclipse 2019-09 and Java 13 under macOS Mojave 10.14.4 and Windows 10.

Using the Triquetrum development Oomph setup

This approach allows you to start almost from scratch (with a JDK 1.8 and a Git client installed already), and to obtain a ready-for-use Triquetrum development environment including :

This involves following steps :

1. Download and start the Eclipse Installer

2. In the Eclipse Installer, click on the menu icon with the exclamation point in the upper right and select Advanced Mode.


Under macOS, if the menu is not active, see Bug 521439 - Eclipse Installer: Mac OS X: Exclamation point menu is not always active

3. In the Product window, select your desired Eclipse installation package (typically Eclipse for RCP and RAP developers but also Eclipse Modeling tools can be used) and click Next.


4. In the Projects window, click on the green plus (+) sign to the right of the entry widget at top. The Add User Projects window will appear. In that window, in Catalog, select "Eclipse Projects". Then, in the Resource URIs field, enter the URL of the setup file:

Click on OK. (TODO : we need to add our setup to the standard list at Eclipse).


If you get a window about an invalid URI, then it could be that you clicked on the green plus (+) in the Product window instead of the Projects window. See Bug #252 Triquetrum Eclipse installer: Error Adding Products

5. Select the "Triquetrum development" setup and click Next


6. Check and adapt the setup variables for e.g. root installation folder, git clone location, github account info. Remark that the git SSH repository URL may cause issues on Windows 10 when using Plink/Pageant, blocking until a timeout of 15 minutes. Using the HTTPS URL should work fine and immediately. Click Next and then Finish to let the installer do its thing to download the Eclipse RCP package and extra plugins and to start your new Eclipse instance.


7. Accept any unsigned content:


See Bug #70 Signing the build artifacts.

8. When Eclipse is starting, you will see a progress indication at the bottom right for the startup tasks of the Oomph setup for Triquetrum. This will clone the Triquetrum repository, apply default Java code formatting preferences, set the target platform and prepare a Mylyn tasks-query on our Github issues.


9. Wait some minutes (resolving and setting the target can take some time) and your workspace should be error-free and ready to run/debug/develop Triquetrum. You're all set to start contributing to Triquetrum! See Running, below.

Manual setup

Check Out the Repo

Use Eclipse to check out the repo.

  1. Install Eclipse for RCP and RAP Developers. Other versions may work. These instructions were tested using Neon under Windows 10 and Eclipse 2020-06 under macOS 10.14.4 (Mojave) and JDK 13. September 2020: we are testing Eclipse 2020-09, Java 14, macOS 10.14.4
  2. Start Eclipse. Create a new workspace. You may need to close the Welcome tab by clicking on the X.
  3. Window -> Show View -> Other -> Git -> Git Repositories
  4. Click on "Clone a Git repository"
  5. Click on "Clone URI", then Next
  6. Enter the URI
  7. In the Branch Selection window, keep the defaults that include the Master branch and other branches, then click Next.
  8. In the Local Destination window, select Finish.

Importing Projects

In the Git Repositories tab, expand the triquetrum tab, right click on Working Tree and select Import Projects.

1. Keep "Import existing Eclipse projects" selected, click Next.

2. Then click Finish.


The build will show lots of errors. Don't panic.

1. In the Project pane, expand releng,then and double click on ""


2. The target will build. See the bottom right for the status. It may take a minute or two to build.

3. In tab, Target Definition pane, click on Set as Target Platform.


4. You should have a workspace without errors now.

Note that is created from the file. The first time Triquetrum is built it is typically not necessary to update the .target or .tpd files. However, if you later want to update the .target file, see Target Platform Definition.


1. Under org.eclipse.triquetrum.repository, open Triquetrum.product in the Product Configuration Editor

Triquetrum RunFromProduct.JPG

2. In the Overview tab, under Testing or at the top right mini-toolbar, click on Launch an Eclipse Application.

Triquetrum RunFromProduct2.JPG

The application should start up.

3. See Triquetrum/Getting Started for how to use Triquetrum.

Back to the top