ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <levylamb...@tiscali-dsl.de>
Subject Re: Task to write properties
Date Sat, 22 Feb 2003 12:49:17 GMT
There is also a <propertyfile> task
see this URL :
http://ant.apache.org/manual/OptionalTasks/propertyfile.html
Antoine
----- Original Message ----- 
From: "David Clements" <dclements@merc-int.com>
To: "'Ant Users List'" <user@ant.apache.org>
Sent: Saturday, February 22, 2003 12:45 AM
Subject: RE: Task to write properties


> Yep, Thanks exactly what I am goint to do.
> 
> Dave
> 
> > -----Original Message-----
> > From: Alexey Solofnenko [mailto:A.Solofnenko@mdl.com] 
> > Sent: Friday, February 21, 2003 4:31 PM
> > To: 'Ant Users List'
> > Subject: RE: Task to write properties
> > 
> > 
> > What about:
> > 
> > <echo message="firstComponent=${buildNumber}" 
> > file="package.properties" append="true"/>
> > 
> > - Alexey.
> > 
> > -----Original Message-----
> > From: David Clements [mailto:dclements@merc-int.com] 
> > Sent: Friday, February 21, 2003 3:28 PM
> > To: 'Ant Users List'
> > Subject: RE: Task to write properties
> > 
> > I should be more specific.  When I finally create a package 
> > of our software I want to record the specific build numbers 
> > of each component that was imported into the package.  So I 
> > need something like:
> > 
> > <writeproperty file="package.properties" 
> > name="firstComponent" value="${buildNumber}"/>
> > 
> > Anything like this?  I guess it would be pretty easy to create.
> > 
> > Dave
> > 
> > > -----Original Message-----
> > > From: Dominique Devienne [mailto:DDevienne@lgc.com]
> > > Sent: Friday, February 21, 2003 4:23 PM
> > > To: 'Ant Users List'
> > > Subject: RE: Task to write properties
> > > 
> > > 
> > > <echoproperties>? --DD
> > > 
> > > -----Original Message-----
> > > From: David Clements [mailto:dclements@merc-int.com]
> > > Sent: Friday, February 21, 2003 5:22 PM
> > > To: 'ant-user@jakarta.apache.org'
> > > Subject: Task to write properties
> > > 
> > > Is there a task for writing a property to a file?
> > > 
> > > Dave
> > > 
> > > 
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > > For additional commands, e-mail: user-help@ant.apache.org
> > > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


Mime
View raw message