First of all, check out all needed projects into eclipse:
- The different Silecs components are located on a Git-Server. So either you can use the git in the command-line, or install the Git -Eclipse-plugin
- The silecs eclipse-plugin can be found here:
- Everything eles is located here here:
- After cloning the 2 repositories, add each sub-project to your eclipse-workspace (file --> import --> existing project into workspace )
- If you are using the git-plugin, you can directly select on cloning which branch to select and which projects to import into eclipse
- On each project pick the branch you want to build:
- In eclipse: team --> switch to
- Via console: git checkout
Now lets build all of them:
silecs-codegen
Nothing to do here
silecs-model
Nothing to do here
snap7
start the script "build.sh". It will download the snap7 package, untar it and trigger make for the right architecture
silecs-communication-cpp
make clean
make CPU=x86_64 -j4 (or just press the related make-targets in eclipse)
silecs-diagnostic-cpp
make clean
make CPU=x86_64 -j1 LOCAL=TRUE (or just press the related make-targets in eclipse)
When using multiple cores (-jX) make has to be pressed twice
silecs-eclipse-plugin
There is separate page for the plugin:
How to build the plugin
silecs-eclipse-plugin-feature
Nothing to do here
silecs-eclipse-plugin-update-site
Nothing to do here
The jenkins build server
Whenever the SVN changes(Jenkins currently uses the SVN-sources), the jenkins build server automatically builds all silecs-projects and runs all available test-cases.
You can check/configure the jenkins-server here:
http://builder.acc.gsi.de/jenkins/job/silecs/
If you have problems on building one of the silecs-components, check how jenkins does the job ! ( configure --> Read the section "Execute Shell" )