Line 11: | Line 11: | ||
# '''Findbugs'''<br>We strongly recommend to install and use the Findbugs plugin. Instructions can be found on the [http://findbugs.cs.umd.edu/eclipse/ Findbugs Website]. | # '''Findbugs'''<br>We strongly recommend to install and use the Findbugs plugin. Instructions can be found on the [http://findbugs.cs.umd.edu/eclipse/ Findbugs Website]. | ||
Also you can tweak the eclipse.ini file to improve performance. In particular you should increase the size of heap space! You should not use a value | Also you can tweak the eclipse.ini file to improve performance. In particular you should increase the size of heap space! You should not use a value greater than your physical memory. | ||
-XX:MaxPermSize=256m | -XX:MaxPermSize=256m | ||
Line 17: | Line 17: | ||
-Xmx2048m | -Xmx2048m | ||
I use the following additional parameters (no guarantee that | I use the following additional parameters (no guarantee that they actually help): | ||
-Xss1M | -Xss1M | ||
-server | -server |
This page describes how to set up a development environment for ProB.
Please download a fresh Eclipse Helios (3.6) for RCP Developer. We will assume that you work with a fresh copy of Eclipse in the following description. After downloading unzip it to a folder of your choice (just in case: avoid spaces inside the path).
Beside the default Eclipse, we require some additional plug-ins for Development:
Also you can tweak the eclipse.ini file to improve performance. In particular you should increase the size of heap space! You should not use a value greater than your physical memory.
-XX:MaxPermSize=256m -Xms512m -Xmx2048m
I use the following additional parameters (no guarantee that they actually help):
-Xss1M -server -XX:+DoEscapeAnalysis -XX:+UseConcMarkSweepGC -XX:PermSize=256M -XX:MaxPermSize=512M
We have prepared an Eclipse Team Set that contains all subprojects, i.e. ProB core, B-Motion Studio, AnimationScript, Disprover and the standalone Version. It also includes the Rodin release used for ProB.
You can also use a prebuild binary of Rodin as the target platform. However in this case you need to install GEF inside Rodin and set the installation as the target platform in Preferences | Plug-in Development | Target Platform.
We aim to have zero warnings in ProB. Rodin however has warnings, therefor we have to create a filter for the Problems View (click on the triangle in the problems view and select: Configure Contents
Create a new Content as shown in the Screenshot (everything except Scope is the default value)