Difference between revisions of "DF NetBeans IDE Setup"

From New IAC Wiki
Jump to navigation Jump to search
 
(6 intermediate revisions by the same user not shown)
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 dc reconstruction 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]. Note that if you install via apt-get, you may not have all of the required plugins such as Maven. These can be found under Tools -> Plugins
  
Once NetBeans is installed and a local git repository has been created as, launch NetBeans. Then:
+
Once NetBeans is installed, a local git repository has been created, and <code>build-coatjava</code> has been run, launch NetBeans. After opening the project, NetBeans will likely take some time to find and install any necessary Maven packages.
*File -> Open Project -> Open clas12-offline-software/reconstruction/dc
+
=Main Page=
*In the projects tab, right click on "clas12detector-dc" -> Properties
+
[[User:Friadavi]]
**In the Run section:
 
***Set the working directory to /path/to/clas12-offline-software
 
***Add <code>-DCLAS12DIR=coatjava</code> to VM Options
 
**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
 

Latest revision as of 00:10, 11 December 2018

These instructions are for installing the NetBeans IDE and setting it up for clas12-offline-software dc reconstruction 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. Note that if you install via apt-get, you may not have all of the required plugins such as Maven. These can be found under Tools -> Plugins

Once NetBeans is installed, a local git repository has been created, and build-coatjava has been run, launch NetBeans. After opening the project, NetBeans will likely take some time to find and install any necessary Maven packages.

Main Page

User:Friadavi