commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 36397] - [configuration][PATCH] conditional directives in property files
Date Tue, 30 Aug 2005 03:30:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36397>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36397





------- Additional Comments From bcalmac@gmail.com  2005-08-30 05:30 -------
After reading your comments I tend to agree that the directive approach is like
killing a fly with a hammer and there should be a simpler solution. The subset
approach certainly works and I would take it a little bit further by not
requiring any special handling from the code loading the properties. How about
supporting recursive property references?

db=postgres
postgres.hibernate.dialect = net.sf.hibernate.dialect.PostgreSQLDialect
hibernate.dialect=${${db}.hibernate.dialect}

I think this would be a little bit cleaner because all the information is in the
property file.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message