You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Andi Eades <An...@Hutchison3G.com> on 2001/08/23 13:25:44 UTC
ant 1.3
hi all
i have a file with properties defined in it which is not being read in, why
not?
ant does not give an error for a non-existant file so i don't know if it is
the file location or the file itself.
i am using this:
<property file="foo.properties"/>
contents of foo.properties:
<property name="version.major" value="1" />
<property name="version.minor" value="4" />
where does the property task look for the file?
what is the correct format for a properties file?
thanks
e.
===================
andi eades
head games programmer
Hutchison3G
andi.eades@hutchison3g.com
+44 (0) 1628 76 5753
+44 (0) 7711 078 399
___________________________________________________________________
This communication contains information which is confidential and
may also be privileged. It is for the exclusive use of the intended
recipient. If you are not the intended recipient, please note that
any form of distribution, copying or use of this communication or
the information in it is strictly prohibited. If you have received
this communication in error, please return it with the title
"received in error" to Helpdesk@hutchison3g.com then delete the
email and destroy any copies of it. Please contact our Helpdesk on
01628765555 if you need assistance. Thank you for your cooperation.
___________________________________________________________________
Re: ant 1.3
Posted by Stefan Bodewig <bo...@apache.org>.
On Thu, 23 Aug 2001, Andi Eades <An...@Hutchison3G.com> wrote:
> ant does not give an error for a non-existant file so i don't know
> if it is the file location or the file itself.
but ut will log a message if run -verbose.
> contents of foo.properties:
>
> <property name="version.major" value="1" />
> <property name="version.minor" value="4" />
This is not a property file - the format must be
version.major=1
version.minor=4
Stefan