The main I2P development branch (i2p.i2p) has been set up to enable developers to easily set up two of the commonly-used IDEs for Java development: Eclipse and NetBeans.

Eclipse

The main I2P development branches (i2p.i2p and branches from it) contain .project and .classpath Eclipse files, to enable the branch to be easily set up in Eclipse.

  1. Check out the I2P branch into some directory (e.g. $HOME/dev/i2p.i2p).
  2. Open Eclipse and create a new Workspace, based in the directory that the I2P branch was checked out to.
  3. Select "File - Import..." and then under "General" select "Existing Projects into Workspace".
  4. For "Select root directory:" choose the directory that the I2P branch was checked out to.
  5. If necessary, click "Refresh" to refresh the list of projects.
  6. Select every project in the list, and click "Finish".
  7. Done! Your workspace should now contain all projects within the I2P branch, and their build dependencies should be correctly set up.

NetBeans

The main I2P development branches (i2p.i2p and branches from it) contain NetBeans project files.