At this point you would have to convert yourself.. it has been kicked around in the next version to seperate the load and saving of configuration from the implement of configuration.. so you could convert...
> -----Original Message----- > From: Olivier Lamy [mailto:[EMAIL PROTECTED] > Sent: Thursday, September 09, 2004 2:05 PM > To: Jakarta Commons Users List > Subject: [commons-configuration 1.0-rc1] complex properties > > > Hello, > I have the following properties : > string.a = string_a > expr.alias=${string.a} > #string_a/final_value works ?? expr.final=${expr.alias}/final_value > > The getString(key) method return null. > > The same properties put in the project.properties. > The following goal with maven 1.0 : > <goal name="testprops"> > <ant:echo>${expr.final}</ant:echo> > </goal> > Output is : > testprops: > [echo] string_a/final_value > > How is right ? > > Is there any tools to convert a props file to an xml file which respects > the hierachy ? > Do I had to do it myself or do it with my fingers ? > Thanks, > > Olivier > > > > This e-mail, any attachments and the information contained > therein ("this message") are confidential and intended solely for > the use of the addressee(s). If you have received this message in > error please send it back to the sender and delete it. > Unauthorized publication, use, dissemination or disclosure of > this message, either in whole or in part is strictly prohibited. > ********************************************************************** > Ce message ?lectronique et tous les fichiers joints ainsi que > les informations contenues dans ce message ( ci apr?s "le > message" ), sont confidentiels et destin?s exclusivement ? > l'usage de la personne ? laquelle ils sont adress?s. Si vous > avez re?u ce message par erreur, merci de le renvoyer ? son > ?metteur et de le d?truire. Toutes diffusion, publication, totale > ou partielle ou divulgation sous quelque forme que se soit non > express?ment autoris?es de ce message, sont interdites. > ********************************************************************** > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
