Hi Pete,
On Sat, Oct 05, 2002 at 02:06:39PM -0400, Peter Royal wrote:
> On Friday, October 4, 2002, at 08:02 PM, Marcus Crafter wrote:
> > I was just wondering if anyone had written any code to compare 2
> > Configuration hierarchies before ?
>
> No, but this class has logic that may give you a start:
> http://cvs.apache.org/viewcvs.cgi/jakarta-avalon-excalibur/
> configuration/src/java/org/apache/excalibur/configuration/merged/
> ConfigurationSplitter.java?rev=1.3&content-type=text/vnd.viewcvs-markup
>
> -pete
Thanks mate. I had a look at the class, and stumbled across:
org.apache.excalibur.configuration.ConfigurationUtil.equals()
which is exactly what I was after! :)
Cheers,
Marcus
BTW - We could move this method into o.a.a.f.c.AbstractConfiguration as
Greg suggested, anyone see any problems there ?
--
.....
,,$$$$$$$$$, Marcus Crafter
;$' '$$$$: Computer Systems Engineer
$: $$$$: ManageSoft GmbH
$ o_)$$$: 82-84 Mainzer Landstrasse
;$, _/\ &&:' 60327 Frankfurt Germany
' /( &&&
\_&&&&'
&&&&.
&&&&&&&:
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>