Difference between revisions of "DF NetBeans IDE Setup"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
*In the projects tab, right click on "clas12detector-dc" -> Properties | *In the projects tab, right click on "clas12detector-dc" -> Properties | ||
**In the Run section: | **In the Run section: | ||
− | ***Set the working directory to /path/to/clas12-offline-software | + | ***Set the working directory to <code>/path/to/clas12-offline-software</code> |
***Add <code>-DCLAS12DIR=coatjava</code> to VM Options | ***Add <code>-DCLAS12DIR=coatjava</code> to VM Options | ||
**In the Actions section: | **In the Actions section: |
Revision as of 23:08, 21 May 2018
These instructions are for installing the NetBeans IDE and setting it up for clas12-offline-software development.
NetBeans
If your on Ubuntu, netbeans can be gotten by: sudo apt-get install netbeans
. Otherwise, it can be found here.
Once NetBeans is installed and a local git repository has been created as, launch NetBeans. Then:
- File -> Open Project -> Open clas12-offline-software/reconstruction/dc
- In the projects tab, right click on "clas12detector-dc" -> Properties
- In the Run section:
- Set the working directory to
/path/to/clas12-offline-software
- Add
-DCLAS12DIR=coatjava
to VM Options
- Set the working directory to
- In the Actions section:
- Under Actions, select "Run project"
- Add the environmental variable Env.TORUSMAP=clas12-fieldmap-torus.dat
- Add the environmental variable Env.SOLENDOIDMAP=clas12-fieldmap-solenoid.dat
- Under Actions, select "Run project"
- In the Run section: