You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Carlos Trigoso <ca...@ntlworld.com> on 2005/05/01 19:23:00 UTC

Using Eclipse (and Mevenide) for ApacheDS...

Hi!

I am new to the list. In order to learn I have decided to develop either a
graphical user interface, or a scripting framework for LDAP administration
on top of ApacheDS.

This will be Eclipse-based (as sadly this is the only development platform I
know...)

Has anybody in the list used Eclipse for ApacheDS development? If yes, could
I have some help with the necessary steps to import the source code as an
Eclipse project? I am having trouble understanding all the dependencies of
the code... and what components/libraries I should have in the environment.

I recently installed the Mevenide Eclipse plugin (a Maven plugin)... perhaps
this will help me to handle the ApacheDS project and do the builds... but I
am pretty unsure about this. Any advice would be greatly appreciated.

Thank you for your help in advance!

Carlos Trigoso
12 Harrow Court
Bath Road
Reading
United Kingdom


-----Original Message-----
From: Alex Karasulu [mailto:aok123@bellsouth.net] 
Sent: 01 May 2005 15:38
To: Apache Directory Developers List
Subject: Re: [kerberos] Adding kerberos to main

Alex Karasulu wrote:

> Enrique,
>
> The KerberosProtocolProvider constructor takes a KdcConfiguration and 
> a PrincipalStore argument.  I was adding support for the Kerberos 
> service to the executable.  This is to get he 0.9 release out with 
> Kerberos.  I was wondering what implementation of PrincipalStore you 
> were using.  I basically got stuck when I was instantiating 
> KerberosProtocolProvider.

Ok I just found PrincipalStoreImpl ... looks really really thin (few 
lines).  Is this sufficient?  What pattern (Command pattern?) did you 
use with this ContextOperation?

>
>
> BTW while going through the code I noticed a few things and had some 
> concerns regarding our upcoming release.
>
>
> There is barely any documentation in most of the Kerberos code.  
> Primarily referring to javadocs and a user guide.  If we are releasing 
> Kerberos we need some documentation.  In general (this goes for me 
> too) this project has to do a better job at getting Javadocs done.   
> Furthermoe we need some sort of user guide similar to the one for the 
> ldap portion of apacheds.  Here's what I'm referring to exactly:
>
>
> http://directory.apache.org/subprojects/apacheds/users/index.html
>
>
> I was asking myself how our users will be able to figure out a means 
> to configure the kerberos server.   There really is no guide at this 
> point and we're about to announce that we have a Kerberos server for 
> them inside ApacheDS.  At a bare minimum before we release we need to 
> describe all the different environment options.  WDYT?
>
> Thanks,
> Alex
>
>




Re: Using Eclipse (and Mevenide) for ApacheDS...

Posted by Emmanuel Lecharny <el...@apache.org>.
Hi !

You have choose Eclipse, and you are not alone (sorry, I've no Idea ;-).

I do use eclipse to develop, so I'm using it on ApacheDS. It works
pretty smoothly, but you'll need to set up your env.

1) you have to use 3.0.X version (I suppose that 3.1.0 M6 works, too,
but for compatibility sake, use the current released version)

2) Do NOT use JDK 1.5 for ApacheDS, because it does not work with some
pieces of code (AOP :[ )

3) Install Mevenide, following the doc.

4) Install subclipse, following the doc.

5) Install Maven 1.0.2 (follow the doc, you'll need to create a
MAVEN_HOME environment variable and a ?maven repository - not sure -)

6) Checkout the lastest sources in a separated directory (let's say
<home>/ApacheDS)

7) cd to <home>/ApacheDS/directory/trunk 

8) Compile the project 
# maven multiproject:install 
This will feed the Maven repo

9) Have a coffee. Or two ;)

10) I will send you the .classpath and .project I'm using, it will be
better, you will spare some time ! (as I have to go, you'll get them in
4 hours ...)

11) Enjoy ! And welcome !!!

On Sun, 2005-05-01 at 18:23 +0100, Carlos Trigoso wrote:
> Hi!
> 
> I am new to the list. In order to learn I have decided to develop either a
> graphical user interface, or a scripting framework for LDAP administration
> on top of ApacheDS.
> 
> This will be Eclipse-based (as sadly this is the only development platform I
> know...)
> 
> Has anybody in the list used Eclipse for ApacheDS development? If yes, could
> I have some help with the necessary steps to import the source code as an
> Eclipse project? I am having trouble understanding all the dependencies of
> the code... and what components/libraries I should have in the environment.
> 
> I recently installed the Mevenide Eclipse plugin (a Maven plugin)... perhaps
> this will help me to handle the ApacheDS project and do the builds... but I
> am pretty unsure about this. Any advice would be greatly appreciated.
> 
> Thank you for your help in advance!
> 
> Carlos Trigoso
> 12 Harrow Court
> Bath Road
> Reading
> United Kingdom
> 
> 
> -----Original Message-----
> From: Alex Karasulu [mailto:aok123@bellsouth.net] 
> Sent: 01 May 2005 15:38
> To: Apache Directory Developers List
> Subject: Re: [kerberos] Adding kerberos to main
> 
> Alex Karasulu wrote:
> 
> > Enrique,
> >
> > The KerberosProtocolProvider constructor takes a KdcConfiguration and 
> > a PrincipalStore argument.  I was adding support for the Kerberos 
> > service to the executable.  This is to get he 0.9 release out with 
> > Kerberos.  I was wondering what implementation of PrincipalStore you 
> > were using.  I basically got stuck when I was instantiating 
> > KerberosProtocolProvider.
> 
> Ok I just found PrincipalStoreImpl ... looks really really thin (few 
> lines).  Is this sufficient?  What pattern (Command pattern?) did you 
> use with this ContextOperation?
> 
> >
> >
> > BTW while going through the code I noticed a few things and had some 
> > concerns regarding our upcoming release.
> >
> >
> > There is barely any documentation in most of the Kerberos code.  
> > Primarily referring to javadocs and a user guide.  If we are releasing 
> > Kerberos we need some documentation.  In general (this goes for me 
> > too) this project has to do a better job at getting Javadocs done.   
> > Furthermoe we need some sort of user guide similar to the one for the 
> > ldap portion of apacheds.  Here's what I'm referring to exactly:
> >
> >
> > http://directory.apache.org/subprojects/apacheds/users/index.html
> >
> >
> > I was asking myself how our users will be able to figure out a means 
> > to configure the kerberos server.   There really is no guide at this 
> > point and we're about to announce that we have a Kerberos server for 
> > them inside ApacheDS.  At a bare minimum before we release we need to 
> > describe all the different environment options.  WDYT?
> >
> > Thanks,
> > Alex
> >
> >
> 
> 
> 
> 
> 
>