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-09       - By Rebhan, Gilbert
Reply:     1     2     3     4     5     6     7     8     9     10     >>  


Hi,

-----Original Message-----
From: Jan.Materne@(protected) [mailto:Jan.Materne@(protected)]
Sent: Monday, July 09, 2007 1:37 PM
To: user@(protected)
Subject: AW: Formatter for ant scripts ?

/*
The "formatter" should be something he could run from Ant via a special
task or <exec> which takes one or more files and applies style pattern
so the result would be a "beauty" code.
*/

that's exactly what i'm looking for

until now i found only
http://www.paehl.com/open_source/?download=tidy.zip
and
http://www.digital-mines.com/htb/downloads/htb20.zip

i'll try them with exec.

/*
I read a note somewhere that you could start the Eclipse code formatter
from command line. If that works for Java, it could work for XML, too
...
*/

yup, i thought of that too, but didn't come up with useful results
when searching the web.

Beside that, there maybe a solution with xslt, but i'm no specialist
for xslt !?


Regards, Gilbert

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