This pages describes how to easily create a new project which uses the org.lcsim analysis/reconstruction framework. This method makes use of a maven2 archetype, which automates the process of creating a new project from scratch. The maven2 archetype can be used either from within Netbeans or from the command line.
Creating a new LCSIM project using Netbeans (6.5 or later)
I assume you have already installed netbeans 6.5 and the maven plugin.
Step 1
- From the Netbeans menu Choose File, New Project. Then select Maven, Maven Project, click Next>
- Click Add... then fill in the "Specify archetype details" dialog as shown:
- and click OK.
- Select "Custom archetype - lcsim-example-archetype", click Next>
- Fill in the form, choosing a project name, and replacing com.mycompany with your own package name (for example org.lcsim.contrib.tony). Click Finish
- Netbeans should open your project. You should be able to build and run it immediately.