On 4/7/2010 3:32 AM, David Gao wrote:
> Hi,
>
> I'm now using JLDAP as my LDAP sdk in my project. It is true that the
> code looks rather obsolete in JLDAP. I have been trying to change the
> code little by little to use JDK 1.5+ features.
>
> I happened to see UnboundID LDAP sdk has quite a few advantages over
> jldap. I'm now browsing your source code before I make a decision to
> migrate from jldap to UnboundID.
>
> My question are:
> * What IDE is used for UnboundID LDAP sdk?
I personally use JetBrains IDEA at the moment, although at times in the
past I did use NetBeans, and even vi for spot-fixes. However, there is
nothing at all in the LDAP SDK source code or build environment that is
specific to any IDE.
> * It would be much appreciated if the code can be configured as a
> Eclipse project.
There should be no reason that this wouldn't work, and it should be
trivial to set up. However, I don't use Eclipse so I can't tell you
exactly what needs to be done to make that happen.
If you're not planning on altering the LDAP SDK itself and just want to
use the source code as a reference when writing your own application,
then all you should need to do is use the src.zip file provided as part
of the LDAP SDK download. This contains all of the source code and
properties files used by the LDAP SDK, and you should be able to
configure your IDE to point to a source zip file for any libraries that
you're using.
If you want to be able to build and/or alter the LDAP SDK for yourself,
then you'll need to check out the source code from the repository. The
important paths you'll need to configure are:
Ant build script:
- trunk/build-se.xml
Main source directories:
- trunk/src
- trunk/gen-src/messages
Source directories for custom Ant tasks used during the build process:
- trunk/build-src/copydocs
- trunk/build-src/digest
- trunk/build-src/messages
- trunk/build-src/sanitycheck
- trunk/build-src/svnversion
Neil Wilson
|