Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Building From Sources"

(Separate page for how to build from sources.)
 
(Blanking this page, it was accidentally created at the top level instead of in Triquetrum/)
 
Line 1: Line 1:
There are at least two ways to [[Getting Started | get started]] with Triquetrum:
 
# '''Building from sources''', which is for people who will collaborate on Triquetrum
 
# [[Installing From a Prebuilt Image]], which is for people who want to use Triquetrum
 
  
This page is discusses how to build from sources.
 
== Check Out the Repo ==
 
 
Use Eclipse to check out the repo.
 
 
# Install [http://www.eclipse.org/downloads/ Eclipse for RCP and RAP Developers].  Other versions may work.  These instructions were tested using Mars June 2015 under Mac OS X.
 
# Start Eclipse. Create a new workspace.  You may need to close the Welcome tab by clicking on the X.
 
# Window -> Show View -> Other -> Git -> Git Repositories
 
# Click on "Clone a Git repository"
 
# Click on "Clone URI", then Next
 
# Enter the URI <code>https://github.com/eclipse/triquetrum/</code>
 
# In the Branch Selection window, keep the default of the Master branch and click Next.
 
# In the Local Destination window, select Finish.
 
 
== Importing Projects ==
 
In the Git Repositories tab, expand the triquetrum tab, right click on Working Directory and select Import Projects.
 
 
Keep "Import existing Eclipse projects" selected, click Next then Finish.
 
 
== Building ==
 
The build will show lots of errors.  Don't panic.
 
 
1. Expand org.eclipse.triquetrum.target.platform and click on "triq.target"
 
 
[[File:TriquetrumGettingStartedTriqTarget.png]]
 
 
2. The target will build.  See the bottom right for the status.  It may take a minute or two to build.
 
 
3. In trig.target tab, Target Definition pane, click on Set as Target Platform.
 
 
[[File:TriquetrumGettingStartedSetTargetAsPlatform.png]]
 
 
4.  Under org.eclipse.triquetrum.workflow.editor, click on Triquetrum.product
 
 
[[File:TriquetrumGettingStartedTriquetrumProduct.png]]
 
 
5. In the Triquetrum.product tab, click on the validate icon in the upper right.  The icon looks like a lined piece of paper with an check mark.
 
 
[[File:TriquetrumGettingStartedTreeValidate.png]]
 
 
A dialog indicating that no problems were detected should come up.
 
 
6. In the Triquetrum.product pane, Overview tab, under Testing, click on Launch an Eclipse Application.  The application should start up.
 
[https://raw.githubusercontent.com/wiki/eclipse/triquetrum/images/GettingStartedLaunchingTriquetrum.png]
 
 
See [[Getting Started]] for how to use Triquetrum.
 

Latest revision as of 14:40, 11 February 2016

Back to the top