Java Mailing List Archive

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

Apache Ant Archive

» Ant Users List
» Ant Developers List
Formatter for ant scripts ?

Formatter for ant scripts ?

2007-07-04       - By Jay Dickon Glanville
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Use the HTML Tidy program (http://tidy.sourceforge.net/).  It accepts
XML as input.

JDG

On 7/4/07, Rebhan, Gilbert <Gilbert.Rebhan@(protected)> wrote:
>
> Hi,
>
> i'm searching for a formatter task for ant build scripts.
> Something like <Ctrl>+<Shift>+<F> in Eclipse Ant Editor
> but as ant task i can feed with own rules, i.e. indention,
> 4 spaces instead of tabs, remove trailing spaces (after linefeed),
> ...
>
> I know of the jalopy task, but that seems for java source
> only.
>
> As an ant script is xml, there maybe a way via xslt ?!
>
> Any tasks available ?
>
>
> Regards, Gilbert
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@(protected)
> For additional commands, e-mail: user-help@(protected)
>
>


--
Jay Dickon Glanville

---------------------------------------------------------------------
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.