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!

Running LSC on Microsoft Windows plateform

Installing dependencies

Java

Download latest Java SDK on the official website: http://java.sun.com/javase/downloads/. For this paper, we use Java SE Development Kit 6 update 13.

Execute the downloaded file, installation is proceed into c:\Program Files\Java using default installation directory (c:\Program Files\Java\jdk1.6.0_13).

Ant

Download latest release of binaries on the official website: http://apache.multidist.com/ant/binaries/. For this paper, we use Apache Ant 1.7.1, and download the corresponding ZIP archive.

Decompress the ZIP archive, then place its content into c:\Program Files\apache-ant-1.7.1.

Maven

Download latest release of binaries on the official website: http://maven.apache.org/download.html. For this paper, we use Apache Maven 2.1.0, and download the corresponding ZIP archive.

Decompress the ZIP archive, then place its content into c:\Program Files\apache-maven-2.1.0.

7-zip

For decompressing LSC archive, you may need to install 7-zip. Download it on the official website: http://7-zip.org/download.html.

Install it, run it and associate it with bz2 and tar extensions.

Fixing Windows environment

We have to add environment variables, with Administrator privileges:

  • JAVA_HOME: c:\Program Files\Java\jdk1.6.0_13
  • ANT_HOME: c:\Program Files\apache-ant-1.7.1
  • MAVEN_HOME: c:\Program Files\apache-maven-2.1.0

And complete the PATH by adding the following at the end:

%ANT_HOME%\bin;%MAVEN_HOME%\bin;%JAVA_HOME%\bin

Open a console, and verify that those commands can be run directly: java, javac, ant and mvn.

Creating connector directory

Download the latest version of LSC, if needed the latest nightly snapshot. Extract its content (for example, with 7-zip) into c:\lsc-myName.

Open a console, then type the following commands:

> cd c:\lsc
> mvn package

The last command will normaly download a lot of maven dependencies through your Internet connexion. Please, be patient… Into your HOME directory, you should now have a .m2 directory (for example c:\Documents and Settings\Administrateur\.m2).

Building the connector

> cd c:\lsc
> ant lsc::generateWizard