directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Karasulu" <akaras...@apache.org>
Subject Re: Howto augment PROGRAMMATICALLY default Schema in APacheDS 1.5.0 ?
Date Wed, 19 Dec 2007 17:16:04 GMT
So you need all the jars eh?  There's many ways you can do this:

(1) You can check out the sources for this release and build it:
     http://svn.apache.org/repos/asf/directory/apacheds/releases/1.5.1

(2) You can pull down the jars you need from the production maven
repositories in several ways:
     (a) if your project uses maven as the build too you can pull it down
automatically with a single dependency that pulls the other dependencies
(ant can do this too with maven tasks)
     (b) with wget or your browser if you don't use maven

     http://ibiblio.org/maven2/org/apache/directory/server

(3) You can download another format of the installer and just access that
distributions lib directory.  This noarch one is a hack job.  Our installer
guy got taken away from us before he could complete this stuff this was
assembled from an uber jar (an assembly or jar of all the other jars and
their dependencies exploded).  Obviously our present setup really stinks.
We just don't have the volunteers to focus on installers at this stage.

No with respect to augmenting the schema in your unit tests we have several
test cases in core-unit and server-unit modules that do just this.  This
might not be the same after 1.5.1 but for 1.5.1 you should look into for
example these test cases:

    *http://tinyurl.com/2g2dft

*There are other tests around schema in this package.  Some which enable and
disable pre-installed schemas.

I think your concerns and problems require a nice little facade around the
schema subsystem which we can use to just enable, disable and load new
schemas just to make people's lives easier.  Feel free to file a new JIRA
issue for these convenience methods.

HTH,
Alex

On Dec 19, 2007 9:50 AM, Sylvain RICHET <srichet@bee-ware.net> wrote:

> Hi Pierre-Arnaud,
>
> Starting Apache DS NoArch by launching the script 'apacheds.sh'  ... OK !
> No problem.
>
> But, what i need is all the ApacheDS 1.5.1 libraries,
> to integrate them in my project for integration tests...
>
> Launching the script 'apacheds.sh' doesn't extract these libraries !
> Does it ?
>  ;-)
>
>
>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message