This documentation relates to last stable version of Cipango.
visit the last unstable documentation home.

Use Eclipse

this tutorial is being written and will be available soon

If you're new to Java development, you may not know Eclipse yet. Eclipse is a popular IDE which is widely used to develop Java applications. To install it, please follow the instructions at: http://www.eclipse.org/downloads/. From now on, we assume that you have a working Eclipse installation.

Create the Eclipse project using Maven

Maven has a nice Eclipse plugin which allow to easily create an Eclipse project directly from Maven. This project can then be used out of the box with all the project structure and all the dependencies automatically configured.
To create the Eclipse of your SIP application, just go to the root directory of your application (the one on which the pom.xml resides) and enter:

mvn eclipse:eclipse

Once successfully done, you can import the SIP application project into Eclipse.

Importing the project in Eclipse

You can now start Eclipse if not already done. If this is the first time you're importing a project built using Maven, there is a simple configuration task to perform beforehand. You have to define where is located your local Maven repository. This repository is a folder in which Maven stores a local copy of all the dependencies needed by your projects. By default, this directory is located at ~/.m2/repository.
From the Eclipse menu bar, select Window > Preferences and then Java > Build Path > Classpath Variables. Click on New and define a variable with the following attributes:

  • Name: M2_REPO
  • Value: click on "Folder..." and selects your local Maven repository (located at ~/.m2/repository).
    Click then on Ok to confirm.

This operation should only be done once.

The project can now be imported in Eclipse. To do so, go to File > Import, select General > Existing Projects into Workspace and click Next. Use the Browse button to enter the project path, it should be the root directory of your SIP application. Your project should now appear in the Projects list, select it and click on "Finish".