Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 3 Next »

This tutorial explains how to import Cargo sources from Subversion into your IDE (Eclipse and IntelliJ IDEA are covered).

  1. Start by checking out the Cargo sources from Subversion. You can do that using the Subversion command line, TortoiseSVN (recommended for Windows users), your IDE Subversion feature (for Eclipse you'll need the Subclipse plugin) or any subversion client tool.
  1. Install the latest version Maven2. Make sure it's installed properly by typing mvn --version.
  1. Open a shell in the top level directory where you have checked out the Cargo sources (this directory should have a build-tools subdirectory in it and it should contain a [[pom.xml}} file).

For Eclipse users

  1. Type "mvn eclipse:eclipse". This generates Eclipse files automatically.
  2. Start Eclipse.
  3. 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:

For IntelliJ IDEA users

  1. Type "mvn idea:idea". This generates IDEA project files automatically.
  1. Start Eclipse. your IDE and import the project generated by Maven in the previous step. For Eclipse this means selecting "Import|Existing Project into Workspace" and then pointing the root to the top level directory of the checked-out Cargo sources.
  • No labels