The build is easy to run on a local machine.
- Make sure that you have JDK 8 and Ant installed. Both should be on the path.
JDK_8_HOMEenvironment variable to point to your JDK 8 install.
- Clone the Sapphire Git repository and pick the desired branch.
- Open a shell to the Git workspace and execute
If you are working with multiple Sapphire branches, you may want to share the bundle pool so that
every branch does not need to re-download everything it needs. The default bundle pool folder is
but you can change it by setting the
`SAPPHIRE_BUNDLE_POOL` environment variable or the
property when invoking the build. An absolute path is required in both cases.
ant dev-build -Dbundle.pool=d:\Sapphire\Downloads
Once the build completes, you will notice the following key folders in the Git workspace:
- 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.