Subject: doubt in property
Hi All,
I was trying to analyze following two lines.
Following are my doubts
1: is it necessary to write .file in the property name in the first
line??
2: Both are properties then why we are sometime using value and sometime
location??
Request you to
]
Sent: Wednesday, June 04, 2008 4:31 PM
To: Ant Users List
Subject: RE: doubt in property
The property names are not significant.
Think of location as properties stored as java.io.File objects and value
as properties stored as java.lang.String objects; locations of
files/directories vs a string
On Wed, Jun 4, 2008 at 7:22 AM, <[EMAIL PROTECTED]> wrote:
> Hi All,
>
>
>
> I was trying to analyze following two lines.
>
>
>
> location="${log.dir}/db_catcs.log"/>
>
>
>
>
>
> Following are my doubts
>
>
>
> 1: is it necessary to write .file in the property name in the first
> line??
This is
]
Sent: Wednesday, June 04, 2008 10:22 AM
To: user@ant.apache.org
Subject: doubt in property
Hi All,
I was trying to analyze following two lines.
Following are my doubts
1: is it necessary to write .file in the property name in the first
line??
2: Both are properties then why we
Hi All,
I was trying to analyze following two lines.
Following are my doubts
1: is it necessary to write .file in the property name in the first
line??
2: Both are properties then why we are sometime using value and sometime
location??
Request you to please let me know the s
Thanks a lot
Regards,
Irfan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Monday, May 19, 2008 1:11 PM
To: user@ant.apache.org
Subject: AW: Doubt in property file
> 1: Can we have more than one property file defined in ANT's build.xml
yes
>
> 1: Can we have more than one property file defined in ANT's build.xml
yes
> 2: If there are two properties file and let's say I have one property
> defined in these two property file with different values then
build.xml
> will pick up which value for this property.
Properties are immutable,
Hi Irfan.
Regarding to your first question, the answer is yes, you can use as much
property files as you want. About the second question I'm not 100% sure,
but I would say that the value is overriden so that the runtime value
will be the one in the last loaded property file. Furthermore, I can
HI All,
I need to clear following doubt in ANT.
1: Can we have more than one property file defined in ANT's build.xml
2: If there are two properties file and let's say I have one property
defined in these two property file with different values then build.xml
will pick up which value for t