Difference between revisions of "DF NetBeans IDE Setup"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | These instructions are for installing the NetBeans IDE and setting it up for clas12-offline-software development. | + | These instructions are for installing the NetBeans IDE and setting it up for clas12-offline-software development. Version numbers may vary from this particular installation. |
− | |||
=NetBeans= | =NetBeans= | ||
If your on Ubuntu, netbeans can be gotten by: <code>sudo apt-get install netbeans</code>. Otherwise, it can be found [https://netbeans.org/downloads here]. | If your on Ubuntu, netbeans can be gotten by: <code>sudo apt-get install netbeans</code>. Otherwise, it can be found [https://netbeans.org/downloads here]. | ||
− | Once NetBeans is installed | + | Once NetBeans is installed, a local git repository has been created, and <code>build-coatjava</code> has been run, launch NetBeans. Then: |
*File -> Open Project -> Open clas12-offline-software/reconstruction/dc | *File -> Open Project -> Open clas12-offline-software/reconstruction/dc | ||
*In the projects tab, right click on "clas12detector-dc" -> Properties | *In the projects tab, right click on "clas12detector-dc" -> Properties | ||
Line 12: | Line 11: | ||
**In the Actions section: | **In the Actions section: | ||
***Under Actions, select "Run project" | ***Under Actions, select "Run project" | ||
− | ****Add the environmental variable | + | ****Add the environmental variable <code>TORUSMAP=clas12-fieldmap-torus.dat</code> |
− | ****Add the environmental variable | + | ****Add the environmental variable <code>SOLENDOIDMAP=clas12-fieldmap-solenoid.dat</code> |
+ | *Tools -> Libraries | ||
+ | **Add the following JARs | ||
+ | ***<code>/path/to/clas12-offline-software/coatjava/lib/clas/coat-libs-5.1-SNAPSHOT.jar</code> | ||
+ | ***<code>/path/to/clas12-offline-software/coatjava/lib/clas/JEventViewer-1.1.jar</code> | ||
+ | ***<code>/path/to/clas12-offline-software/coatjava/lib/clas/vecmath-1.3.1-2.jar</code> | ||
+ | ***<code>/path/to/clas12-offline-software/coatjava/lib/utils/jclara-4.3-SNAPSHOT.jar</code> | ||
+ | ***<code>/path/to/clas12-offline-software/coatjava/lib/services/clas12detector-dc-1.0-SNAPSHOT.jar</code> |
Revision as of 23:21, 21 May 2018
These instructions are for installing the NetBeans IDE and setting it up for clas12-offline-software development. Version numbers may vary from this particular installation.
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, a local git repository has been created, and build-coatjava
has been run, 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
TORUSMAP=clas12-fieldmap-torus.dat
- Add the environmental variable
SOLENDOIDMAP=clas12-fieldmap-solenoid.dat
- Add the environmental variable
- Under Actions, select "Run project"
- In the Run section:
- Tools -> Libraries
- Add the following JARs
/path/to/clas12-offline-software/coatjava/lib/clas/coat-libs-5.1-SNAPSHOT.jar
/path/to/clas12-offline-software/coatjava/lib/clas/JEventViewer-1.1.jar
/path/to/clas12-offline-software/coatjava/lib/clas/vecmath-1.3.1-2.jar
/path/to/clas12-offline-software/coatjava/lib/utils/jclara-4.3-SNAPSHOT.jar
/path/to/clas12-offline-software/coatjava/lib/services/clas12detector-dc-1.0-SNAPSHOT.jar
- Add the following JARs