-
Notifications
You must be signed in to change notification settings - Fork 2
Building Vega
Vega can either be built at the command-line (easier) or within Eclipse. This page contains instructions for both.
To build Vega you must first obtain the latest source code. To download it from the Subgraph github repository, perform the following steps:
- 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
If you want to try some of the newest features, check out the development branch before building:
` $ cd Vega
$ git checkout develop `
- Change to the Vega directory
$ cd Vega
- Run the ant script
$ ant
- The builds will be in:
$ ls build/stage/I.VegaBuild/
VegaBuild-linux.gtk.x86.zip VegaBuild-macosx.cocoa.x86_64.zip compilelogs/
VegaBuild-linux.gtk.x86_64.zip VegaBuild-win32.win32.x86.zip
VegaBuild-macosx.cocoa.x86.zip VegaBuild-win32.win32.x86_64.zip
- Download Eclipse for RCP and RAP Developers
http://www.eclipse.org/downloads/
- Create a new workspace
- Go to the workbench
- Select File => Import
- Select "Import Existing Projects into Workspace"
- Select the Vega/ subdirectory
- Once the import is complete, open (double click) "vega.target" in com.subgraph.vega.application:
- Stuff will start to happen immediately, when it is complete, click on "Set as Target Platform" in the "vega.target" editor.
- Close "vega.target" and open "vega.product" in com.subgraph.vega.application
- Click "Synchronize" in the "vega.product" editor
- Click "Launch an Eclipse application" to run Vega for the first time