- Open a shell in the top level directory where you have checked out the Cargo sources (this directory should have a
build-toolssubdirectory in it and it should contain a pom.xml file).
For Eclipse users
- Type "mvn eclipse:eclipse". This generates Eclipse files automatically.
- Start Eclipse.
- Go to Windows|Preferences|Java|Build Path|Classpath Variables and add a M2_REPO variable to point to your local Maven2 repository (usually in
~user/.m2/repository). See also the documentation on the Maven Eclipse plugin.
- Select "Import|Existing Project into Workspace". Point it to the top level directory of the checked-out Cargo sources. You should see something similar to the following figure: