Building Vega

Vega can either be built at the command-line (easier) or within Eclipse. This page contains instructions for both.

Obtaining the source code

To build Vega you must first obtain the latest source code. To download it from the Subgraph github repository, perform the following steps:

Linux / OS X

  1. Create a directory for the source tree:

    $ mkdir subgraph

    $ cd subgraph

  2. Use git to fetch the most recent source:

    $ git clone git://github.com/subgraph/Vega.git

Bleeding edge

If you want to try some of the newest features, check out the development branch before building:

$ cd Vega

$ git checkout develop

Building from the command line

Linux / OS X

  1. Change to the Vega directory

    $ cd Vega

  2. Run the ant script

    $ ant

  3. The builds will be in:

    $ ls build/stage/I.VegaBuild/

    compilelogs/

    VegaBuild-linux.gtk.x86.zip

    VegaBuild-macosx.cocoa.x86_64.zip

    VegaBuild-linux.gtk.x86_64.zip

    VegaBuild-win32.win32.x86.zip

    VegaBuild-macosx.cocoa.x86.zip

    VegaBuild-win32.win32.x86_64.zip

Building within Eclipse

1. Download Eclipse for RCP and RAP Developers

https://www.eclipse.org/downloads/

Download
Eclipse

2. Create a new Workspace

Create Workspace

3. Go to the Workbench

Open Workbench

4. Select File => Import

Import

5. Select "Import Existing Projects into Workspace"

Import Existing Projects into
Workspace

6. Select the Vega/ subdirectory

Select Vega
subdirectory

7. Once the import is complete, open (double click) "vega.target" in com.subgraph.vega.application:

Target

8. Stuff will start to happen immediately, when it is complete, click on "Set as Target Platform" in the "vega.target" editor.

Set as Target
Platform

9. Close "vega.target" and open "vega.product" in com.subgraph.vega.application

Vega Product

10. Click "Synchronize" in the "vega.product" editor

Synchronize

11. Click "Launch an Eclipse application" to run Vega for the first time

Launch Eclipse
Application

Home > Building-Vega

Have feedback on Vega? Our documentation? Please tell us.