-
Notifications
You must be signed in to change notification settings - Fork 0
BuildSystem
The [wiki:Building] page has various notes on the Eclipse IDE and examples for building from within the IDE.
The following describes the repository and build system that NSLS-II is putting together. Fundamentally, the script
build/build.sh
is supposed to build one of the products from the
products
subdirectory of the repository
- RepositoryLayout -- How the repository is organized
- FeaturesAndPlugins -- How features and plugins are used
- HeadlessBuild -- How the build scripts work and how to add new products
- ContinuousBuild -- How Hudson and SourceForge are used to have automatic builds
There is an automated Hudson setup that builds a COMMON product
To add a new plugin XYZ to the common product:
-
This can be done by simply adding a dependency to the XYZ plugin in the product definition file.
-
The plugin also needs to be added to the plugins.list in the cs-studio/product/COMMON/plugins.list.
-
Make sure that all the plugins required by XYZ are also added to both the product definition and the plugin.lists file.
-
Once this is done you can try to build the product from command line
cd cs-studio/build ./build.sh COMMON
-
Once the build is successful push to the cs-studio repository.
For SNS info, see [wiki:SNS]