On Wed, Jun 4, 2008 at 7:22 AM, <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>
>
> I was trying to analyze following two lines.
>
>
>
> <property name="catcs_log.file"
> location="${log.dir}/db_catcs.log"/>
>
> <property name="rules" value="prs_db.rules"/>
>
>
>
> Following are my doubts
>
>
>
> 1: is it necessary to write .file in the property name in the first
> line??
This is a common convention, to suffix a property with an indicator of
what it is :".file", ".dir", ".path", etc.
>
> 2: Both are properties then why we are sometime using value and sometime
> location??
They do different things; the documentation is pretty clear on this;
they both set a property but the value assigning will vary dependening
on the variation. location is used to assign an absolute path name,
whereas value just does normal substitutions.
>
>
>
> Request you to please let me know the significance
>
>
>
> Please help
>
>
>
> Regards
>
> Irfan.
>
>
>
>
>
>
>
>
--
Howard M. Lewis Ship
Creator Apache Tapestry and Apache HiveMind
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]