| | |
| | | <repository> |
| | | <id>forgerock-staging-repository</id> |
| | | <name>ForgeRock Release Repository</name> |
| | | <url>http://maven.forgerock.org/repo/releases</url> |
| | | <url>${mavenRepoReleases}</url> |
| | | <snapshots> |
| | | <enabled>false</enabled> |
| | | </snapshots> |
| | |
| | | <repository> |
| | | <id>forgerock-snapshots-repository</id> |
| | | <name>ForgeRock Snapshot Repository</name> |
| | | <url>http://maven.forgerock.org/repo/snapshots</url> |
| | | <url>${mavenRepoSnapshots}</url> |
| | | <releases> |
| | | <enabled>false</enabled> |
| | | </releases> |
| | |
| | | |
| | | <dependencies> |
| | | <dependency> |
| | | <groupId>org.forgerock.opendj</groupId> |
| | | <groupId>${project.group}</groupId> |
| | | <artifactId>opendj-ldap-sdk</artifactId> |
| | | <version><?eval ${docTargetVersion}?></version> |
| | | <type>pom</type> |
| | | </dependency> |
| | | </dependencies></programlisting> |
| | | </step> |
| | |
| | | <screen>(Windows) |
| | | C:\>set PATH=\\path\to\opendj-ldap-toolkit-<?eval ${docTargetVersion}?>\bat:%PATH%</screen> |
| | | </step> |
| | | <step> |
| | | <para> Add the OpenDJ LDAP SDK for the APIs, the I18N core library, |
| | | and Grizzly I/O framework for the transport to your CLASSPATH, typically found under |
| | | <filename>opendj-ldap-toolkit-<?eval ${docTargetVersion}?>/lib/</filename>.</para> |
| | | <screen>(UNIX) |
| | | $ export CLASSPATH=/path/to/lib/grizzly-framework-<?eval ${grizzlyFrameworkVersion}?>.jar:$CLASSPATH |
| | | $ export CLASSPATH=/path/to/lib/i18n-core-<?eval ${i18nFrameworkVersion}?>.jar:$CLASSPATH |
| | | $ export CLASSPATH=/path/to/lib/opendj-ldap-sdk-<?eval ${docTargetVersion}?>.jar:$CLASSPATH |
| | | </screen> |
| | | <screen>(Windows) |
| | | C:\>set CLASSPATH=\\path\to\lib\grizzly-framework-<?eval ${grizzlyFrameworkVersion}?>.jar:%CLASSPATH% |
| | | C:\>set CLASSPATH=\\path\to\lib\i18n-core-<?eval ${i18nFrameworkVersion}?>.jar:%CLASSPATH% |
| | | C:\>set CLASSPATH=\\path\to\lib\opendj-ldap-sdk-<?eval ${docTargetVersion}?>.jar:%CLASSPATH%</screen> |
| | | </step> |
| | | </procedure> |
| | | |
| | | <procedure xml:id="proc-roll-your-own-sdk"> |
| | |
| | | </step> |
| | | <step> |
| | | <para>Check out the source code.</para> |
| | | <screen>$ svn co https://svn.forgerock.org/opendj/trunk/opendj3 |
| | | <screen>$ svn co ${project.scm.url} opendj |
| | | ... |
| | | Checked out revision <replaceable>XXXX</replaceable>.</screen> |
| | | </step> |
| | | <step> |
| | | <para>Build the modules and install them in the local repository.</para> |
| | | <screen>$ cd opendj3/ |
| | | <screen>$ cd opendj/ |
| | | $ mvn install |
| | | [INFO] Scanning for projects... |
| | | [INFO] ------------------------------------------------------------------------ |
| | | [INFO] Reactor Build Order: |
| | | [INFO] |
| | | [INFO] |
| | | [INFO] OpenDJ Directory Services Project |
| | | [INFO] OpenDJ LDAP SDK |
| | | [INFO] OpenDJ LDAP Toolkit |
| | | [INFO] OpenDJ LDAP SDK Examples |
| | | [INFO] OpenDJ Commons REST Adapter |
| | | [INFO] OpenDJ Commons REST LDAP Gateway |
| | | [INFO] OpenDJ Server 2.x Adapter |
| | | [INFO] |
| | | [INFO] OpenDJ Core APIs |
| | | [INFO] OpenDJ Grizzly Transport Provider |
| | | [INFO] OpenDJ SDK |
| | | [INFO] OpenDJ SDK Toolkit |
| | | ... |
| | | [INFO] ------------------------------------------------------------------------ |
| | | [INFO] BUILD SUCCESS |
| | |
| | | </step> |
| | | <step> |
| | | <para>Unzip the tools and libraries included in the file, |
| | | <filename>opendj3/opendj-ldap-toolkit/target/opendj-ldap-toolkit-<?eval ${docTargetVersion}?>.zip</filename>.</para> |
| | | <filename>opendj/opendj-ldap-toolkit/target/opendj-ldap-toolkit-<?eval ${docTargetVersion}?>.zip</filename>.</para> |
| | | </step> |
| | | <step> |
| | | <para>Add the <filename>opendj-ldap-toolkit-<?eval ${docTargetVersion}?>/bin</filename> |
| | | (UNIX) or <filename>opendj-ldap-toolkit-<?eval ${docTargetVersion}?>\bat</filename> |
| | | (Windows) directory to your PATH.</para> |
| | | </step> |
| | | <step> |
| | | <para>Set your CLASSPATH to include the OpenDJ LDAP SDK library, |
| | | <filename>opendj-ldap-sdk-<?eval ${docTargetVersion}?>.jar</filename>, |
| | | the I18N core library, |
| | | <filename>i18n-core-<?eval ${i18nFrameworkVersion}?>.jar</filename>, and the |
| | | Grizzly framework, |
| | | <filename>grizzly-framework-<?eval ${grizzlyFrameworkVersion}?>.jar</filename> |
| | | under |
| | | <filename>opendj-ldap-toolkit-<?eval ${docTargetVersion}?>/lib/</filename>.</para> |
| | | </step> |
| | | </procedure> |
| | | |
| | | <para>After you install OpenDJ LDAP SDK and configure your environment as |