ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Cepek" <>
Subject wrapping long string literals
Date Thu, 23 May 2002 20:52:27 GMT
I want to write something like this in Ant:

    <property name="longdir" value="/base/rootdir/subdir1/

which actually works, but produces a string with whitespace before

Is there a way to break strings across lines (without introducing extra
whitespace)?  We have a coding standard here of <=80 chr lines.

In Java, of course, I just write:

    String longdir = "/base/rootdir/subdir1/" +

I paged thru "Applied XML" and "Professional XML", but I found nothing
addressing this.  I realize this is more of an XML/SGML syntax question,
but it's a usability aspect of Ant too.


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

View raw message