{% extends "global/layout.html" %} {% block title %}{{ _('Using an IDE with I2P') }}{% endblock %} {% block content %}

{% trans -%} 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. {%- endtrans %}

Eclipse

{% trans -%} 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. {%- endtrans %}

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

NetBeans

{% trans -%} The main I2P development branches (i2p.i2p and branches from it) contain NetBeans project files. {%- endtrans %}

{% endblock %}