Hi,

I not looking for the value of the property but where in the configuration it 
is defined.

The org.apache.tools.ant.Target class has a method: getLocation(), can I get 
the same sort of thing for properties.

Thanks

> -----Original Message-----
> From: ext [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 12 November 2008 15:11
> To: [email protected]
> Subject: AW: Find a properties location
> 
> Properties are a String-String-Mapping.
> Quasi a
>   Hashtable<String,String> properties = ...
> The name works as key.
> The value is set by
>   <property .. value=""/> : to the string value
>   <property .. location=""/> : to the absolute path (again as String) of
> that location.
> 
> 
> Jan
> 
> >-----Ursprüngliche Nachricht-----
> >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> >Gesendet: Mittwoch, 12. November 2008 15:32
> >An: [email protected]
> >Betreff: Find a properties location
> >
> >Hi,
> >
> >How can I find out where a property is defined, which ant file?
> >
> >I would like:
> >project.getProperty("helium.dir").file()
> >
> >or:
> >project.getProperty("helium.dir").location()
> >
> >Thanks
> >
> >
> >
> >---------------------------------------------------------------------
> >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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to