PropertiesWithComments toggle ?

Rod Widdowson rdw at steadingsoftware.com
Thu Oct 23 03:57:50 EDT 2014


If there's a use I see no reason why we shouldn't add a
#makePropertyComment(String).  

I cannot see us using this in the installer tho'.

I'm guessing that you are asking this because there is no other way to
achieve what you want (for instance overwriting idp.properties prior to each
test run?)

Do you want me to add that method (or just bung it in yourself...)

/R

> -----Original Message-----
> From: dev-bounces at shibboleth.net [mailto:dev-bounces at shibboleth.net] On
> Behalf Of Tom Zeller
> Sent: 22 October 2014 22:57
> To: Shib Dev
> Subject: PropertiesWithComments toggle ?
> 
> Rod,
> 
> Do you have a suggestion for how to toggle a property which by default
> is commented out ?
> 
> For consent integration tests, I'd like to set a property before tests
> are run and then revert to the original uncommented-out form after the
> tests finish.
> 
> I'm using replaceProperty("key", "value") to set the property,
> however, if I try to revert my change by calling
> replaceProperty("#key", "value") I of course get two properties, one
> that is commented out and one that is not.
> 
> Thanks.
> --
> To unsubscribe from this list send an email to
dev-unsubscribe at shibboleth.net



More information about the dev mailing list