From dev-return-20781-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Thu Aug 23 13:09:57 2007 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 61575 invoked from network); 23 Aug 2007 13:09:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 13:09:56 -0000 Received: (qmail 71757 invoked by uid 500); 23 Aug 2007 13:09:53 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 71544 invoked by uid 500); 23 Aug 2007 13:09:52 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 71533 invoked by uid 99); 23 Aug 2007 13:09:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 06:09:52 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of akarasulu@gmail.com designates 64.233.162.231 as permitted sender) Received: from [64.233.162.231] (HELO nz-out-0506.google.com) (64.233.162.231) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 13:09:52 +0000 Received: by nz-out-0506.google.com with SMTP id o1so281916nzf for ; Thu, 23 Aug 2007 06:09:31 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=UopKJJOX8Rt8yO6KJaOnkh1G75PUSHXiY21xTkLkVnPUCQASylXOI6Zi09a1l3gLAWE85hoUs5ZjSPWlMM13MehdW9H2EWV2JEIQNSH4OV8I3ThQQuTBwNjz+h9/qE6UdW2KhSYv+x5fTZ2PwV3HQVrRuHn6W/j6d1KsOEyV7Ts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:references:x-google-sender-auth; b=XPXPZxGhIWlD5VEYB2/Y5Xseufegk4FgJ/xh7aO8GkyMQ7hzu3Rzsbrea2CmG0nacIOhETGmXcUOysZO8IZWRklVwdKC12AEIwRRLZ2l6ouzfiTTXWQnt261akglRaNc7WOV78PMEuTJmuTQ6j82w5bcZBxNQ1Ob/FXJTS8OEwY= Received: by 10.142.187.2 with SMTP id k2mr175993wff.1187874570483; Thu, 23 Aug 2007 06:09:30 -0700 (PDT) Received: by 10.142.101.21 with HTTP; Thu, 23 Aug 2007 06:09:30 -0700 (PDT) Message-ID: Date: Thu, 23 Aug 2007 09:09:30 -0400 From: "Alex Karasulu" Sender: akarasulu@gmail.com To: "Apache Directory Developers List" Subject: Re: possible test failures && a possible cur In-Reply-To: <3DEE8C18-7237-42C5-8DBD-5197F2878858@yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_133157_5022105.1187874570483" References: <3DEE8C18-7237-42C5-8DBD-5197F2878858@yahoo.com> X-Google-Sender-Auth: 5018fd4d44bde97d X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_133157_5022105.1187874570483 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline David this change you made on the bootstrap-partition dependency in the core from compile scope to "test" scope will have greater ramifications as I noted in a few other emails. You'll need to fix server-installers, and server-main for one and possibly other projects which presume that this dependency is transitively inherited. Also it would be nice to throw a nice descriptive exception that a bootstrap partition jar is not present instead of complaining that the DBFILES are missing. This will prevent much noise from our users. Could you look into adding something like this before we release? Thanks, Alex On 8/23/07, David Jencks wrote: > > I noticed on IRC while I was out elecharny was getting some itest > failures in mitosis with an error of > > java.lang.IllegalStateException: No resource named org/apache/ > directory/server/schema/bootstrap/partition/DBFILES > > I don't know why I didn't see these the last time I made a change but > they should generally be curable by adding this to the modules pom.xml: > > > org.apache.directory.server > apacheds-bootstrap-partition > ${pom.version} > test > > > Please don't leave out the test as that will make it a > lot harder to swap bootstrap partitions. > > I fixed the problems in mitosis. If anyone runs into similar > problems feel free to ping me on irc, if I'm around I'm glad to help. > > I still got a test failure earlier in the build in > org.apache.directory.server.BadDnTest. > > thanks > david jencks > > ------=_Part_133157_5022105.1187874570483 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline David this change you made on the bootstrap-partition dependency in the core from
compile scope to "test" scope will have greater ramifications as I noted in a few other
emails.

You'll need to fix server-installers, and server-main for one and possibly other projects
which presume that this dependency is transitively inherited.

Also it would be nice to throw a nice descriptive exception that a bootstrap partition jar is not present instead of complaining that the DBFILES are missing.  This will prevent much noise from our users.  Could you look into adding something like this before we release?

Thanks,
Alex

On 8/23/07, David Jencks <david_jencks@yahoo.com> wrote:
I noticed on IRC while I was out elecharny  was getting some itest
failures in mitosis with an error of

java.lang.IllegalStateException: No resource named org/apache/
directory/server/schema/bootstrap/partition/DBFILES

I don't know why I didn't see these the last time I made a change but
they should generally be curable by adding this to the modules pom.xml:

     <dependency>
       <groupId>org.apache.directory.server </groupId>
       <artifactId>apacheds-bootstrap-partition</artifactId>
       <version>${pom.version}</version>
       <scope>test</scope>
     </dependency>

Please don't leave out the <scope>test</scope> as that will make it a
lot harder to swap bootstrap partitions.

I fixed the problems in mitosis.  If anyone runs into  similar
problems feel free to ping me on irc, if I'm around I'm glad to help.

I still got a test failure earlier in the build in
org.apache.directory.server.BadDnTest.

thanks
david jencks


------=_Part_133157_5022105.1187874570483--