ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <>
Subject RE: doubt in property
Date Wed, 04 Jun 2008 14:43:28 GMT
When using f.e.

<property name="prod.appserver" value="foobar"/>
<property name="prod.pwd" value="topsecret"/>
<property name="prod.db.user" value="homer"/>
<property name="prod.db.pwd" value="duff_rulez"/>
<property name="test.appserver" value="foobaz"/>
<property name="test.pwd" value="secret"/>

you can bundle properties that belong together, many tasks
that deal with properties have a prefix attribute, f.e.

<echoproperties prefix="prod"/>


<propertyset id="prodproperties">
  <propertyref prefix="prod"/>

or all db related stuff for production

<propertyset id="db_prod">
  <propertyref prefix="prod.db"/>

Regards, Gilbert

-----Original Message-----
From: Burgess, Benjamin [] 
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 objects and value
as properties stored as java.lang.String objects; locations of
files/directories vs a string of text.


-----Original Message-----
From: [] 
Sent: Wednesday, June 04, 2008 10:22 AM
Subject: doubt in property

Hi All,


I was trying to analyze following two lines.


<property name="catcs_log.file"

<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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message