From cocoon-dev-return-13078-apmail-xml-cocoon-dev-archive=xml.apache.org@xml.apache.org Mon May 07 13:07:21 2001 Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 17688 invoked by uid 500); 7 May 2001 13:06:57 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 17673 invoked from network); 7 May 2001 13:06:51 -0000 Message-ID: <3AF69D83.4912CB1@apache.org> Date: Mon, 07 May 2001 09:05:07 -0400 From: Berin Loritsch X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: can we move roles.xconf References: <3AF69642.291ED696@apache.org> <3AF69B8F.EEBB9B7E@anyware-tech.com> Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: localhost.apache.org 1.6.2 0/1000/N Sylvain Wallez wrote: > > Berin Loritsch a écrit : > > > > giacomo wrote: > > > > > > I'd like to suggest to move the roles.xconf file out of the src tree > > > somewhere near to the cocoon.xconf file (BTW I'd like to move > > > cocoon.xconf and roles.xconf file into the WEB-INF directory). > > > Isn't it "cocoon.roles" ? Yes it is. I was using what Giacomo was saying. > I totally agree that cocoon.roles is a developper concern, but when > Cocoon is the base of a bigger system which defines new components, it > would be nice to be able to define new roles for them instead of using > elements. > > What do you think of adding an optional attribute to the top-level > "cocoon" element that names an alternate roles definition file that is > loaded from the classpath, i.e. ? > This affects only Cocoon.java, and not Excalibur. There is one change (that I think I can sneak in before hand) in Excalibur that needs to be made: altering the policy of the RoleManager. It should be able to be written multiple times, and merge the results. --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org