Properties are not expanded inside propertynames:
${${module.name.small}.supported.screen.lang}
Maybe AntContribs <propertycopy/> could help here.
Just an idea:
<propertycopy name="supported.screens"
from="${module.name.small}.supported.screen.lang"/>
<property name="supported.screens" value="en"/>
Jan
> -----Original Message-----
> From: ramfree [mailto:[EMAIL PROTECTED]
> Sent: Monday, November 17, 2003 6:18 AM
> To: [EMAIL PROTECTED]
> Subject: evaluating property names with embedded properties
>
>
> Hi list,
>
> I need to evaluate a certain property and use its
> contents to derive the name of another property which
> I will use in the main processing of the ant script.
> unfortunately I have not yet met an ant-related page
> which discusses this. it is something like this:
>
> <condition property="supported.screens"
> value="${${module.name.small}.supported.screen.lang}">
> <and>
> <isset
> property="${module.name.small}.supported.screen.lang"/>
> </and>
> </condition>
>
> <condition property="supported.screens" value="en">
> <and>
> <not>
> <isset
> property="${module.name.small}.supported.screen.lang"/>
> </not>
> </and>
> </condition>
>
> Is this possible? Thanks.
>
>
> __________________________________
> Do you Yahoo!?
> Protect your identity with Yahoo! Mail AddressGuard
> http://antispam.yahoo.com/whatsnewfree
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>