Difference between revisions of "DF DCTrackVisualizer Install and Run Instruction"

From New IAC Wiki
Jump to navigation Jump to search
Line 15: Line 15:
 
Simply run <code><install directory>/clas12-offline-software/coatjava/bin/dctrackviz</code>. Note that it may be necessary to use <code>bash</code> instead of <code>./</code> as the script may not source <code>env.sh</code> otherwise.
 
Simply run <code><install directory>/clas12-offline-software/coatjava/bin/dctrackviz</code>. Note that it may be necessary to use <code>bash</code> instead of <code>./</code> as the script may not source <code>env.sh</code> otherwise.
  
=Editing=
+
=Install within Netbeans=
 
To open the project in NetBeans:
 
To open the project in NetBeans:
 
*Open NetBeans
 
*Open NetBeans
Line 22: Line 22:
 
*Open the project clas-viz under clas12-offline-software > common-tools.
 
*Open the project clas-viz under clas12-offline-software > common-tools.
 
*Edit to your heart's delight.
 
*Edit to your heart's delight.
 +
Set the Main Class to JLab
 +
*org.jlab.clas.viz.DcVisualizer
 
You may need to change the default run directory:
 
You may need to change the default run directory:
 
*In the projects pane, right click on clas-viz
 
*In the projects pane, right click on clas-viz

Revision as of 22:13, 14 December 2018

These instruction are specifically for installing and running the DCTrackVisualizer program.

Install

  • If you intend to work on the code, install NetBeans if you haven't already. See here for details.
  • Move to or create you're preferred directory. I would suggest NetBeansProjects as a default.
  • Clone the following Github repository:
  • Checkout the dcVisualizer branch
    • git checkout dcVisualizer
  • Execute build-coatjava.sh
    • I recommend appending --nounittests and --nospotbugs so that the build doesn't take forever.
  • The software should now be installed.

Running

Simply run <install directory>/clas12-offline-software/coatjava/bin/dctrackviz. Note that it may be necessary to use bash instead of ./ as the script may not source env.sh otherwise.

Install within Netbeans

To open the project in NetBeans:

  • Open NetBeans
  • Click on File > Open Project
  • Go to the install directory
  • Open the project clas-viz under clas12-offline-software > common-tools.
  • Edit to your heart's delight.
Set the Main Class to JLab
*org.jlab.clas.viz.DcVisualizer

You may need to change the default run directory:

  • In the projects pane, right click on clas-viz
  • Click on properties
  • Click on "Run" in the Categories pane
  • Change the working directory to point to your clas12-offline-software directory.

Main Page

User:Friadavi