Local Build

Sapphire build is designed to be easy for developers to run locally on their machines.

  1. Clone Sapphire Git repository. Let's call the Git working directory [root].
  2. Make sure that you have Ant and JDK 5 installed. Both should be on the path.
  3. Set JDK_15_HOME environment variable to point to your JDK 5 install.
  4. Open a shell to [root] and execute "ant clean-start".

Note A: The build requires internet access to pull down dependencies from eclipse.org downloads server. If you are behind a proxy, you will need to invoke build with proxy configuration. If the proxy is properly configured at the operating system level, you should only need add -autoproxy switch to the build command.

Example:   ant clean-start -autoproxy.

Note B: If you are working with multiple Sapphire branches, you may want to share the downloads directory so that every branch does not need to re-download everything it needs from eclipse.org servers. The default downloads folder is [root]/downloads, but you can change it by setting downloads property when invoking the build. Note that the you need to set it to an absolute path.

Example:   ant clean-start -Ddownloads=d:/sapphire/downloads

Once the build completes, you will notice the following key folders added to [root] folder:

  • build/repository : Repository of build artifacts, including runtime bundles, source bundles and the SDK.
  • dev-eclipse : Eclipse with select plugins along with Sapphire SDK from the build. This Eclipse configuration is designed to be appropriate for working on Sapphire.
  • dev-target : Eclipse with select plugins along with all of Sapphire, including source bundles. This Eclipse configuration is designed to make a good target platform.

Incubation

Incubation

Sapphire is in the Incubation Phase.

Community