Home Contact Download
LSC logo
Open source connector to synchronize identities to a LDAP directory from any data source including any database with a JDBC connector, another LDAP server or flat files ...
Download  |  Read more...  |  Get started!

Integrated Development Environment Integration

In order to develop your code in the project, you may want to integrate it directly in a IDE like Eclipse, IDEA or Netbeans. Please contribute your own method if it is not present here :)

Eclipse

Installing the Maven 2 plugin

The Ldap Synchronization Connector is built in top of Maven 2, so you need to install the Maven 2 plugin for Eclipse:

  • If you haven't already, download a fresh copy of Eclipse with the Java Development Tool (JDT)
  • Open the menu item HelpSoftware Updates
  • Select the “Available software” tab
  • Click on Add Site… and enter the Maven2 Update site URL: http://m2eclipse.sonatype.org/update/ and press OK.
  • Check that the new remote site has been added and double-click on it
  • Select the Maven IntegrationMaven Integration for Eclipse plugin
  • Click on the Install… button, and confirm the next screen by clicking on Finish
  • Restart Eclipse as requested

Getting the source code

You have two options to obtain the LSC-sample source code:

  1. Download a release or a daily snapshot from the download area. Untar the archive in your workspace directory for example.
  2. Take the SVN version (if you want to check for new features, etc…):
    1. We recommend using the Subclipse SVN plugin for Eclipse. Installation instructions are available on their website (it's the same way you installed the Maven 2 plugin)
    2. Create a new project from SVN: go to FileNewProject…
    3. Scroll down to SVN and select Checkout Projects from SVN, then click on Next
    4. Select Create a new repository location and click on Next
    5. In the URL field enter the SVN repository location: https://lsc-project.org/svn/ and click on Next
    6. Scroll down and select the lsc-sample project and click on Finish

You should now have the project in Eclipse, with Maven dependencies integrated. If not, you should right click on the project and in the Maven2 menu item, click on Activate.

Netbeans

These steps have been validated against a Simple Java NetBeans IDE 6.0.1. The Ldap Synchronization Connector is built with maven2, so you need to install the plugin:

  • In the Tools menu, choose the Plugins item.
  • Choose the Available plugins (..) tab and find the Maven line. Tick it on the left.
  • Click on the Install button below.
  • A new installation wizard will be opened. Choose Next, accept the license and click on Install.
  • After ending the plugin installation, restart your IDE.
  • Then return to the Tools menu and choose Options item.
  • Click on the Miscellaneous tab and next on the Maven2 tab.
  • On the Maven2 home line, click on Browse button and find the home path of your local Maven2 installation.
  • On the local repository line, click on Browse button and find the home path of your local Maven2 repository (currently ~/.m2/repository).
  • Click on the Index Now button.

You are now ready to open your project. Just go in the File menu and choose Open Project item. Go to the unzipped directory lsc-sample. The IDE will normally find the needed stuff and will include it ready for use.

IDEA

Please feel free to contribute the way to do it or the license :)