Versions Compared

Key

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

...

  1. Checkout GeomConverter and org.lcsim.
  2. In each project directory, execute this (Unix/Linux) command.
    No Format
    ln -s pom2.xml pom.xml
    .
  3. Build GeomConverter, first, and then org.lcsim with the
    No Format
    mvn
    command.
  4. If it complains about missing lcsim-base, then checkout this project from SLAC CVS and build it, too.
  5. Get an appropriate Eclipse Europa build. (I am using Eclipse 3.3.1.1 on OSX with Java 1.5.)
  6. Unpack and install the Eclipse build and open Eclipse by double-clicking on its icon. (In OSX, this is eclipse.app.)
  7. Go to Help -> Software Updates -> Look for new features to install. Click Next.
  8. Click New Remote Site.
  9. Put q4e in the name and use this URL:
    No Format
    http://q4e.googlecode.com/svn/trunk/updatesite/
    .
  10. Click through the rest of the q4e install (should be pretty brainless).
  11. Select File -> New -> Java Project.
  12. Name the project "LCSim".
  13. Select create project from existing source and select your org.lcsim directory.
  14. Hit Next a couple times and then Finish.
  15. I usually use command-line Maven 2 here:
    No Format
    mvn eclipse:eclipse
  16. It might also work to try right-clicking on the LCSim project and selecting Maven 2 -> Execute Goal. In the command box, put eclipse:eclipse and ok.
  17. Right-click on the LCSim project in the Project Explorer window and click Refresh.
  18. Select Maven 2 -> Reload Maven and let Eclipse think.
  19. Now select Maven 2 -> Enable Maven dependency management.
Info

You can build Maven 2 projects from within eclipse by executing the

No Format
package

a goal with maven.test.skip set to true.

If the last step executes successfully, then all the nasty red errors should go away and command completion should work.