Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note
titleExternal Dependencies

When working with external libraries such as org.lcsim, you have to add those libraries to the build path. This can be done by right-clicking on the project and selecting "Properties->Java Build Path->External Libraries". Select add external jar and choose the Jars from your JAS3 installation path. They are in the subdirectories extensions and libs as well as in $HOME/.JAS3/extensions

Brief Instructions with Europa

Maven 2 is well-supported by Europa with the Q for Eclipse plugin.

  1. Get an appropriate Eclipse Europa build. (I am using Eclipse 3.3.1.1 on OSX with Java 1.5.)
  2. Go to Help -> Software Updates -> Select for new features to install. Click Next.
  3. Click New Remote Site.
  4. Put qte in the name paste this into the URL field:
    No Format
    http://q4e.googlecode.com/svn/trunk/updatesite/
    .
  5. Click through the rest of the q4e install (should be pretty brainless).
  6. Select File -> New -> Java Project.
  7. Name the project "LCSim".
  8. Select create project from existing source and locate an existing LCSim installation or check one out.
  9. Hit Next a couple times and then Finish.
  10. Now, for this next step, you must have command-line Maven 2 installed!
  11. Go to your LCSim directory and type
    No Format
    mvn eclipse:eclipse
  12. Right-click on the LCSim project in the Project Explorer window.
  13. Click Refresh.
  14. Select Maven 2 -> Reload Maven and let Eclipse think.
  15. Now select Maven 2 -> Enable Maven dependency management.

All the nasty red errors should go away in your source code window, and command completion should work.More advanced users may want to install the Mevenide plugin and build org.lcsim from source