--- J2EE User <[EMAIL PROTECTED]> wrote:
> Hi James:
> I am relatively new to Ant. How and where do u set the global.properties
> file.
Properties files can be called any name you choose (by convention, they
tend to be called something.properties) and can live anywhere you want
them to. They have the following (standard Java properties file) format:
#This is a comment
prop1=value1
prop2=value2
...
They're a way of setting properties in Ant without having to use an
individual <property> task for each property. You read a properties file
in using the "file" attribute of the <property> task:
<property file="path-to-file"/>
"Path-to-file" can be the simple file name (if it lives in the base
directory), a relative path, or a full path -- for example:
<property file="ant.properties"/>
<property file="../ant.properties"/>
<property file="/usr/local/ant/lib/properties/ant.properties"/>
<property file="${propfiles.dir}/ant.properties"/>
Diane
=====
([EMAIL PROTECTED])
__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/