ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Noack" <rai...@noacks.net>
Subject RE: [property] Multiline ?!
Date Wed, 18 May 2005 12:22:11 GMT
1. this list is for ant-related questions.
2. for property file format see java-api of java.util.Properties#load
   you can use '\n' to "format" your property

> -----Original Message-----
> From: Rebhan, Gilbert [mailto:Gilbert.Rebhan@huk-coburg.de] 
> Sent: Wednesday, May 18, 2005 1:22 PM
> To: user@ant.apache.org
> Subject: [property] Multiline ?!
> 
> 
> 
> Hi,
> 
> i' ve written a java class that reads a txtfile and generates 
> a propertyfile.
> 
> All works fine expect one property that may contain more than 
> one line.
> 
> property1=bla
> property2=foo
> property3=first line
> second line
> third line
> 
> Is it possible to have a multiline property and if how to handle it.
> 
> I don't want to write an extra file if possible and have all 
> my properties in just one file.
> 
> Any ideas ?
> 
> Gilbert
> 
> ---------------------------------------------------------------------
> 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