You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Rune Engseth (JIRA)" <ji...@apache.org> on 2007/09/24 11:57:50 UTC
[jira] Created: (DIRSERVER-1069) Outdated doc for unittesting
version 1.5.1
Outdated doc for unittesting version 1.5.1
------------------------------------------
Key: DIRSERVER-1069
URL: https://issues.apache.org/jira/browse/DIRSERVER-1069
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@directory.apache.org can be found here:
http://mail-archives.apache.org/mod_mbox/directory-users/200709.mbox/browser
This is the original post:
> I'm following the description as found here:
> http://directory.apache.org/apacheds/1.5/using-apacheds-for-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.
[jira] Commented: (DIRSERVER-1069) Outdated doc for unittesting
version 1.5.1
Posted by "Akram BEN AISSI (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12783605#action_12783605 ]
Akram BEN AISSI commented on DIRSERVER-1069:
--------------------------------------------
The documentation is partially fixed for 1.5.5, thanks a lot !
But, there is a missing link with the "how to create partition" for unit tests.
This is really discouraging for people who wants to run unit tests :(
> Outdated doc for unittesting version 1.5.1
> ------------------------------------------
>
> Key: DIRSERVER-1069
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1069
> 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
> Fix For: 2.0.0
>
>
> 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@directory.apache.org can be found here:
> http://mail-archives.apache.org/mod_mbox/directory-users/200709.mbox/browser
> This is the original post:
> > I'm following the description as found here:
> > http://directory.apache.org/apacheds/1.5/using-apacheds-for-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.
[jira] Updated: (DIRSERVER-1069) Outdated doc for unittesting
version 1.5.1
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1069:
-----------------------------------------
Fix Version/s: 2.0.0
Definitively something we must fix for 2.O
> Outdated doc for unittesting version 1.5.1
> ------------------------------------------
>
> Key: DIRSERVER-1069
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1069
> 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
> Fix For: 2.0.0
>
>
> 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@directory.apache.org can be found here:
> http://mail-archives.apache.org/mod_mbox/directory-users/200709.mbox/browser
> This is the original post:
> > I'm following the description as found here:
> > http://directory.apache.org/apacheds/1.5/using-apacheds-for-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.
[jira] Updated: (DIRSERVER-1069) Outdated doc for unittesting
version 1.5.1
Posted by "Emmanuel Lecharny (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRSERVER-1069?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny updated DIRSERVER-1069:
-----------------------------------------
Fix Version/s: 2.0.0-RC1
(was: 2.0.0)
Moved back to 2.0.0-RC1
> Outdated doc for unittesting version 1.5.1
> ------------------------------------------
>
> Key: DIRSERVER-1069
> URL: https://issues.apache.org/jira/browse/DIRSERVER-1069
> 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
> Fix For: 2.0.0-RC1
>
>
> 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@directory.apache.org can be found here:
> http://mail-archives.apache.org/mod_mbox/directory-users/200709.mbox/browser
> This is the original post:
> > I'm following the description as found here:
> > http://directory.apache.org/apacheds/1.5/using-apacheds-for-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.