On Sat, 31 May 2003 11:17 am, Peter Royal wrote:
> On Thursday, May 29, 2003, at 01:24 AM, [EMAIL PROTECTED] wrote:
> > donaldp     2003/05/28 22:24:11
> >
> >   Modified:    .        build.xml
> >   Log:
> >   Update to latest configkit in prep for using new property
> > interpolation in logging configuration
>
> any changelog between 1.1.1 and 1.1.2?

Essentially just property interpolation in Properties objects I think. There 
may be others but nothing we are using.

Basically so you can do something like

Properties prop = new Properties()
prop.setProperty( "foo", "${app.name}" );
prop.setProperty( "${app.name}", "bar" );

HashMap map = new HashMap();
map.put( "app.name", "recam" );

PropertyExpander ex = ...;
Properties newProp = ex.expandValues( prop, map );

assertEquals( newProp.getProperty( "foo" ), "recam" );
assertEquals( newProp.getProperty( "recam" ), "bar" );

-- 
Cheers,

Peter Donald
---------------------------------------------------
"Wise men don't need advice. Fools don't take it." 
                        -Benjamin Franklin 
--------------------------------------------------- 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to