...
The above command run the Main class to convert the given compact description to a HepRep.
Building org.lcsim with Eclipse
Instead of NetBeans, you can also use the Eclipse IDE to build org.lcsim and write your applications.
Download Eclipse: http://eclipse.org/downloads/index.php
The Mevenide plugin can be installed as follows:
Help->Software Updates->Find and Install...
Select "Search for new features to install", click 'Finish'
Select "New Remote Site"; for Name enter "Mevenide", for Location enter http://mevenide.codehaus.org/release/eclipse/update/site.xml
Select the latest versions of both Maven and the Mevenide plugins, click 'Next'
You will have to agree to a license agreement.
The plugin will then be downloaded.
Confirm the installation with 'Install All'
When finished, you will be asked to restart the workbench.
Click 'Yes'.
Tip | ||
---|---|---|
| ||
You can now install the CVS project by selecting File->New->Project |
You can add the 'Maven nature' and the 'Java Nature' to your project by right clicking on the project and selecting the entry from the context menu.
Note | ||
---|---|---|
| ||
You may have to change the source path of the project, otherwise Java may be inclined to look for packages src.org.lcsim.* instead of org.lcsim.*. This can be done by right-clicking on the project and selecting Properties->Java Build Path. The src/ folder should be selected as the only source folder. |
Note | ||
---|---|---|
| ||
When building the project outside of Eclipse, Maven secretly downloads a plethora of external libraries. If you want to build the project inside of Eclipse, you have to add those libraries to the build path. This can be done by right-clicking on the project and selecting "Properties". The JAS libraries can be used alternatively. |