You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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'.

Importing org.lcsim directly from CVS

You can now install the CVS project by selecting File->New->Project
Select "CVS project" and enter the information about server and password from above.
org.lcsim will be downloaded into the workbench.

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.

Source Path

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.

External Dependencies

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.

  • No labels