2013-01-05 01:02:12 +00:00
{% extends "global/layout.html" %}
2013-01-23 13:33:10 +00:00
{% block title %}{{ _('Using an IDE with I2P') }}{% endblock %}
2013-01-05 01:02:12 +00:00
{% block content %}
2013-01-23 13:33:10 +00:00
< p > {% trans -%}
2013-01-16 03:57:26 +00:00
The main I2P development branch (< code > i2p.i2p< / code > ) has been set up to enable developers to easily set up two of the commonly-used IDEs for Java development: Eclipse and NetBeans.
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / p >
2013-01-05 01:02:12 +00:00
< h1 > Eclipse< / h1 >
2013-01-23 13:33:10 +00:00
< p > {% trans -%}
2013-01-16 03:57:26 +00:00
The main I2P development branches (< code > i2p.i2p< / code > and branches from it) contain .project and .classpath Eclipse files, to enable the branch to be easily set up in Eclipse.
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / p >
2013-01-05 01:02:12 +00:00
< ol >
2013-01-23 13:33:10 +00:00
< li > {% trans -%}
2013-01-16 03:57:26 +00:00
Check out the I2P branch into some directory (e.g. < code > $HOME/dev/i2p.i2p< / code > ).
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / li >
2013-01-05 01:02:12 +00:00
2013-01-23 13:33:10 +00:00
< li > {% trans -%}
2013-01-05 01:02:12 +00:00
Open Eclipse and create a new Workspace, based in the directory that the I2P branch was checked out to.
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / li >
2013-01-05 01:02:12 +00:00
2013-01-23 13:33:10 +00:00
< li > {% trans -%}
2013-01-05 01:02:12 +00:00
Select "File - Import..." and then under "General" select "Existing Projects into Workspace".
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / li >
2013-01-05 01:02:12 +00:00
2013-01-23 13:33:10 +00:00
< li > {% trans -%}
2013-01-05 01:02:12 +00:00
For "Select root directory:" choose the directory that the I2P branch was checked out to.
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / li >
2013-01-05 01:02:12 +00:00
2013-01-23 13:33:10 +00:00
< li > {% trans -%}
2013-01-05 01:02:12 +00:00
If necessary, click "Refresh" to refresh the list of projects.
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / li >
2013-01-05 01:02:12 +00:00
2013-01-23 13:33:10 +00:00
< li > {% trans -%}
2013-01-05 01:02:12 +00:00
Select every project in the list, and click "Finish".
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / li >
2013-01-05 01:02:12 +00:00
2013-01-23 13:33:10 +00:00
< li > {% trans -%}
2013-01-05 01:02:12 +00:00
Done! Your workspace should now contain all projects within the I2P branch, and their build dependencies should be correctly set up.
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / li >
2013-01-05 01:02:12 +00:00
< / ol >
< h1 > NetBeans< / h1 >
2013-01-23 13:33:10 +00:00
< p > {% trans -%}
2013-01-16 03:57:26 +00:00
The main I2P development branches (< code > i2p.i2p< / code > and branches from it) contain NetBeans project files.
2013-01-23 13:33:10 +00:00
{%- endtrans %}< / p >
2013-01-05 01:02:12 +00:00
{% endblock %}