ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Set a property
Date Fri, 25 Apr 2003 13:01:52 GMT
Using property files:

build.properties
----------------
MyLongProperty=value1 \
value2 \
value3 \
value11 \
value12 \
value13 \
value21 \
value22 \
value23
------------------------


build.xml
---------
<?xml version="1.0" encoding="ISO-8859-1"?>
<project name="test" basedir="." >
    <property file="build.properties"/>
    <echo> $${MyLongProperty} = ${MyLongProperty} </echo>
</project>



output
------
Buildfile: build.xml
     [echo]  ${MyLongProperty} = value1 value2 value3 value11 value12
value13 value21 value22 value23



Jan Matèrne

> -----Urspr√ľngliche Nachricht-----
> Von: Pellier Marc [mailto:archi7@onssapl.fgov.be]
> Gesendet am: Freitag, 25. April 2003 14:57
> An: Ant Users List
> Betreff: Set a property
> 
> I set a propertie like that
> 
> <property name="MyLongProperty" value="value1 value2 value3 
> value11 value12
> value13 value21 value22 value23"/>
> 
> But now the value is not easy to read
> 
> Somebody has an idea to set MyLongProperty more properly
> 
> Thanks
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message