You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <di...@incubator.apache.org> on 2004/11/07 05:16:33 UTC

[jira] Commented: (DIREVE-79) Request: build/start/test instructions

     [ http://nagoya.apache.org/jira/browse/DIREVE-79?page=comments#action_55166 ]
     
Alex Karasulu commented on DIREVE-79:
-------------------------------------

Hi Mark,

You know I've been trying to grok some integration work with the rest of the crew to get working servers up for  both Eve and the Kerberos server.  One of the major items on the list right after this is done is some solid documetnation.  The only thing I can recommend for now is to do this:

checkout eve/trunk
cd into ${checkoutdir}/jndi-provider
do a 'maven test'
make sure the tests work
start looking at those tests for inspiration

Btw a quick note to get Eve up and running (no inet service yet though) is to just use the JNDI provider like so:

        Hashtable env = new Hashtable();
        env.put( Context.PROVIDER_URL, "ou=system" );
        env.put( EveContextFactory.WKDIR_ENV, "target" + File.separator + "eve" );
        env.put( Context.INITIAL_CONTEXT_FACTORY, "org.apache.eve.jndi.EveContextFactory" );
        InitialContext initialContext = new InitialContext( env );
        return sysRoot = ( LdapContext ) initialContext.lookup( "" );

That will start the entire backend subsystem and you can use the JNDI as if it was the SUN JNDI provider.  It just stores and recalls from a database on disk.

In about a week or two we should have the frontend integrated with this backend.  Then you can use some extra properties in the JNDI environment to fire up or suppress the actually network server portion of the server.

Hope this helps,
Alex


> Request: build/start/test instructions
> --------------------------------------
>
>          Key: DIREVE-79
>          URL: http://nagoya.apache.org/jira/browse/DIREVE-79
>      Project: Directory Eve
>         Type: Bug
>  Environment: Java 5, Maven 1.0, Tomcat 5.0.27
>     Reporter: Mark Swanson
>     Assignee: Alex Karasulu

>
> I went through all of the open issues, used Subversion to download directory/**, used Maven-1.0 to build several eve-related projects, but am missing a few lines about where the configuration files for eve are, how to start eve, and how/where to run a test.
> If someone would be so kind as to type this out I'll go through it and polish it up based on what I encounter.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (DIREVE-79) Request: build/start/test instructions

Posted by Mark Swanson <ma...@ScheduleWorld.com>.
>
> Hope this helps,

Sure does. Thanks for taking the time. I'm  really interested in Eve.

Cheers.

-- 
Free SyncML-capable J2ME & J2SE replacement for Exchange and Outlook
http://www.ScheduleWorld.com/
WAP: http://www.ScheduleWorld.com/sw/WAPToday?id=4000&tz=EST
WebDAV: http://www.ScheduleWorld.com/sw/webDAVDir/4000.ics
VFREEBUSY: http://www.ScheduleWorld.com/sw/freebusy/4000.ifb