commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olivier Lamy" <olivier.lamy_SPAM_...@accor.com>
Subject [commons-configuration] complex properties
Date Thu, 09 Sep 2004 06:47:19 GMT
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 ?

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: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message