Apache Directory Project - [jira] Created: (DIRSERVER-1071) CLONE -Outdated doc for

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > September 2007 > [jira] Created: (DIRSERVER-1071) CLONE -Outdated doc for





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Created: (DIRSERVER-1071) CLONE -Outdated doc for
Rune Engseth (JIRA)

2007-09-25, 7:11 am

CLONE -Outdated doc for unittesting version 1.5.1
-------------------------------------------------

Key: DIRSERVER-1071
URL: https://issues.apache.org/jira/browse/DIRSERVER-1071
Project: Directory ApacheDS
Issue Type: Test
Components: doc
Affects Versions: 1.5.1
Environment: Windows XP Professional, Eclipse Europa 3.3, Maven 2.07, Java6
Reporter: Rune Engseth


Hi

I was advised to open an issue for my unittest problems - the doc for "Using ApacheDS for unit tests" is outdated and needs to be updated.

Original post to users-aYN4UCa7k1r1N9kud6OZbmD2FQJk+8+b@public.gmane.org can be found here:
http://mail-archives.apache.org/mod...09.mbox/browser


This is the original post:

> I'm following the description as found here:
> http://directory.apache.org/apached...unit-tests.html
>
> and trying to setup ApacheDS for unit testing.
>
>
> The example uses version 1.0, but I am trying to use the 1.5.1 version.
>
> Everything works fine up to "Adding your own schema"
>
>
>
> When I copy-paste the following:
>
> Set<AbstractBootstrapSchema> schemas = configuration.getBootstrapSchemas();
> schemas.add( new DemoSchema() );
>
> configuration.setBootstrapSchemas(schemas);
>
>
> I get a compilation error.
>
> the configuration.setBootstrapSchemas method is no longer available.
>
>
> I've tried to dig in the javadocs etc, but I'm not able to find solve how
> to create custom schemas. (the javadocs are not commented at all)
>
> Is there anyone who knows how to get around this - i.e refactor this code
> to version 1.5.1 of ApacheDS?
>
> Source code, pom.xml, test-source etc can be posted if necessary.
>




--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com