> Nothing is wrong with the properties file...Xml is just better > > 1. one config.xml file in one central place...it's so much > easier to manage > then a whole bunch of properties
You can put all your properties in one file as well, lets call that file config.properties > 2. xml handle the structure data much better then properties file data structure might be nice for communications between computers but for users? e.g. RepositoryRoot=d:\ RepositoryAssets=assets RepositoryViewPath=file://d:/repository/assets seems just as clear to me as > > <respository> > > <root>d:/repository</root> > > <assets>assets</assets> > > <viewPath>file://d:/repository/assets</viewPath> > > </respository> etc. Cons of xml - Carefull with that ",<,> sign eugene, - Slow parsing Gr Ronald Furore B.V. Rijswijkstraat 175-8 Postbus 9204 1006 AE Amsterdam tel. (020) 346 71 71 fax. (020) 346 71 77 ---------------------------------------------------------------------------- --------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer ---------------------------------------------------------------------------- ---------------

