ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mariusz Nowostawski <mari...@marni.otago.ac.nz>
Subject Re: Long Property Values
Date Thu, 25 May 2000 21:49:50 GMT

I am doing what I use to do in shell scripts, and I sort of have nothing
against it, but it could be done nicer, I reckon. There is heaps of
repeating, but it is pretty readable:


<property name="classpath" value="${java.home}/lib/rt.jar" />

<property name="classpath" value="${classpath}:../lib/xml.jar" />
<property name="classpath" value="${classpath}:../lib/jsdk.jar" />
<property name="classpath" value="${classpath}:../lib/javalib.jar" />
<property name="classpath" value="${classpath}:../lib/binkco.jar" />
<property name="classpath" value="${classpath}:../lib/ecs-1.2.jar" />
<property name="classpath" value="${classpath}:../lib/ifxjdbc.jar" />
<property name="classpath" value="${classpath}:../lib/junit.jar" />



On Thu, 25 May 2000, Jason Sando wrote:
> Is there any way to break up a long <property> tag?  My "classpath" property
> ends up wrapping or going off the screen:
> 
>     <property name="classpath"
> value="${java.home}/lib/rt.jar:../lib/xml.jar:../lib/jsdk.jar:../lib/javalib
> .jar:../lib/binkco.jar:../lib/ecs-1.2.jar:../lib/ifxjdbc.jar:../lib/junit.ja
> r" />
> 
> Thanks,
> 
> -j
> 



Mime
View raw message