ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Hatcher" <jakarta-...@ehatchersolutions.com>
Subject Re: xsl script to generate graphical representation of build.xml
Date Thu, 06 Jun 2002 00:26:33 GMT
Eager to see what this thing could do with my build files, I *gasp* read the
docs and found exactly what I needed.  Attached is a slightly modified
version of Stefan's original XSL file - all I did was enclose all the node
names with double quotes.

Let me know if you want this contributed to Ant's CVS.  This would even make
a handy custom Ant task, to wrap calling dot.exe - although I'll get by with
<xslt> and <exec> for now.

Very nice, Stefan.

Thanks,
    Erik

----- Original Message -----
From: "Erik Hatcher" <jakarta-ant@ehatchersolutions.com>
To: "Ant Users List" <ant-user@jakarta.apache.org>
Sent: Wednesday, June 05, 2002 7:58 PM
Subject: Re: xsl script to generate graphical representation of build.xml


> This looks pretty slick.  I tried it out and got this while running 'dot'
>
> graph parser: syntax error near line 18
> context:    >>>  do- <<< common [label="do-common\n"];
>
> Looks like it doesn't like dashes in target names.  Is there a way to have
> them escaped in the .dot files?  Would you modify it so that it could work
> in such cases?  It still generated a .png, but it looked incomplete.
>
> Many thanks for this contribution.  Would you mind this being committed to
> Ant's CVS for inclusion into Ant 1.6?  If so, let me know.
>
>     Erik
>
> ----- Original Message -----
> From: "Stefan Kost" <s.kost@webmacher.de>
> To: "Ant Users List" <ant-user@jakarta.apache.org>
> Cc: <ant-dev@jakarta.apache.org>
> Sent: Wednesday, June 05, 2002 4:50 AM
> Subject: xsl script to generate graphical representation of build.xml
>
>
> > hi,
> >
> > attached you find a xsl script, which generates a .dot out of a
> > build.xml file. The dot file can be rendered using the dot command (from
> > the graphviz package, see http://www.graphviz.org/) to lots of formats
> > like ps or png.
> > Minimal instructions are in the xsl file.
> >
> > Stefan
> > --
> >
> >  < W E B M A C H E R >
> > EDV+INTERNETSERVICE GMBH
> >
> > POST: August Bebel Str. 69
> >       04275 Leipzig
> >
> > FON:  +49 341 30 34 833
> > FAX:  +49 341 30 34 840
> > WEB:  www.webmacher.de
> >
>
>
> --------------------------------------------------------------------------
--
> ----
>
>
> > --
> > To unsubscribe, e-mail:
<mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
<mailto:ant-user-help@jakarta.apache.org>
>
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>
>
>

Mime
View raw message