Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
AW: Padding Ant statements with extra <enters > for aesthetic reasons only

AW: Padding Ant statements with extra <enters > for aesthetic reasons only

2005-06-23       - By Jan.Materne@(protected)

I dont understand you. The buildfile is simple xml and you could format it like
you wnat.

<project
 basedir="."
 default="main">

              <echo>Inserted</echo>
 <fileset
                  dir="mydir"
    <excludes
            name="something"/>
</fileset>
          </project>


Ok - this is not "beatiful" but (should) be valid (not tested).


Format your buildfile as you want and open it in a xml viewer (most browser can
).
If they are happy, Ant should be happy as well.


Jan



>-----Urspr?ngliche Nachricht-----
>Von: S I [mailto:xiamak@(protected)]
>Gesendet: Donnerstag, 23. Juni 2005 06:19
>An: user@(protected)
>Betreff: Padding Ant statements with extra <enters> for
>aesthetic reasons only
>
>Hi
>
>I really don't like statements wrapping around and making my
>Ant scripts appear so unruly & unformatted. Of course, I tried
>to insert couple of return carriages/Enters into some of my
>statements (targets, task etc) and naturally the test failed
>to NO surprise.
>
>Is there any way like Java or Unix or Perl I can use \\ to
>arrange my lines the way I want to and not the way the
>documents dictates?  I don't believe such thing exists but
>worth asking on this forum anyway.
>
>Thanks
>
>Steven
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@(protected) For
>additional commands, e-mail: user-help@(protected)
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)


©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.