Setup up Eclipse
- Install a JDK 1.6 or 1.7
- Be sure that Eclipse really uses the JDK!
- Install a fresh Eclipse
- Install the following PlugIns
- GIT
Cloning
Clone the following repositories. Import the projects and (best) create working sets for each project.
Note: Clone the repositories into the same base directory and keep the ".git" extension in your local repository name. Choose the "1.0" branch for current development.
Repository | Branch |
---|---|
git://git.openscada.org/org.openscada.builder.git | 1.0 |
git://git.openscada.org/org.openscada.external.git | 1.0 |
git://git.openscada.org/org.openscada.aurora.git | 1.0 |
git://git.openscada.org/org.openscada.oxygen.git | 1.0 |
git://git.openscada.org/org.openscada.utgard.git | 1.0 |
Close the project "org.openscada.da.server.simulation". It is broken for the moment.
The target environment
Create a new Target Environment (start with an empty one):
- Add either "{eclipse_build}" or better a clean Eclipse directory with type "Installation"
Add a "Directory" with the value of "
${project_loc:builder_external}/builder/lib
"- Add a "Directory" with the value of "
${project_loc:builder_external}/builder/lib
/spring" - Add via "Software Site":
Activate the target platform!
Compile XMLBeans
Run the "build.xml" ant script from "builder_global".
Run the "bootstrap.ant" ant script from "builder_atlantis".
Run the "schema_build.xml" ant scripts in the following projects (in that order):
- org.openscada.da.server.common
Refresh the projects after each build.
Win32: If the ant script complains that it can't find "javac.exe" you are running the ant script with a JRE instead of a JDK. Choose a JDK for running the ant script.