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
Create a directory for the source tree:
$ mkdir subgraph
$ cd subgraph
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
Change to the Vega directory
$ cd Vega
Run the ant script
$ ant
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/
2. Create a new Workspace
3. Go to the Workbench
4. Select File => Import
5. Select "Import Existing Projects into Workspace"
6. Select the Vega/ subdirectory
7. Once the import is complete, open (double click) "vega.target" in com.subgraph.vega.application:
8. Stuff will start to happen immediately, when it is complete, click on "Set as Target Platform" in the "vega.target" editor.
9. Close "vega.target" and open "vega.product" in com.subgraph.vega.application
10. Click "Synchronize" in the "vega.product" editor
11. Click "Launch an Eclipse application" to run Vega for the first time
Home > Building-Vega
Have feedback on Vega? Our documentation? Please tell us.