<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to ExampleUsage</title><link>https://sourceforge.net/p/antviz2/wiki/ExampleUsage/</link><description>Recent changes to ExampleUsage</description><atom:link href="https://sourceforge.net/p/antviz2/wiki/ExampleUsage/feed" rel="self"/><language>en</language><lastBuildDate>Sat, 04 Aug 2012 12:48:27 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/antviz2/wiki/ExampleUsage/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage ExampleUsage modified by Gabor Guta</title><link>https://sourceforge.net/p/antviz2/wiki/ExampleUsage/</link><description>&lt;pre&gt;--- v2
+++ v3
@@ -37,4 +37,4 @@
       4 -&gt; 1 [ label="1" ];
     }
 
-It can be visualized with GraphViz.
+This can be visualized with GraphViz.
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabor Guta</dc:creator><pubDate>Sat, 04 Aug 2012 12:48:27 -0000</pubDate><guid>https://sourceforge.net32b3c05a8041583a9640f29d0be7bee904ab2d2a</guid></item><item><title>WikiPage ExampleUsage modified by Gabor Guta</title><link>https://sourceforge.net/p/antviz2/wiki/ExampleUsage/</link><description>&lt;pre&gt;--- v1
+++ v2
@@ -1,20 +1,3 @@
-Installation
-------------
-Copy the antviz2-*.jar and [jgrapht.jar](http://jgrapht.org/) into the $ANT_HOME/lib directory.
-
-Usage
------
-Add the ant option **-listener hu.gaboo.antviz2.GraphListener** to the command when you invoke ant. The output file name is **dependency.gv** by default. You can optionally change the output file name by specifying the property **GraphListener.filename** .
-
-Road map
---------
-* Add option to hide global (unconnected) targets
-* Display more information about the targets (file name, line number, etc.)
-* Display antcall and ant tasks on the execution path
-* Construct a listener to trace variable declaration, usage and failed resolution (when you reference to an undeclared variable)
-
-Example usage
--------------
 You have the following build files:
 
 build.xml:
&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabor Guta</dc:creator><pubDate>Sat, 04 Aug 2012 12:39:09 -0000</pubDate><guid>https://sourceforge.net9accceebc73d22c422a421dec232eb5dfd294f32</guid></item><item><title>WikiPage AntVizStart modified by Gabor Guta</title><link>https://sourceforge.net/p/antviz2/wiki/AntVizStart/</link><description>Installation
------------
Copy the antviz2-*.jar and [jgrapht.jar](http://jgrapht.org/) into the $ANT_HOME/lib directory.

Usage
-----
Add the ant option **-listener hu.gaboo.antviz2.GraphListener** to the command when you invoke ant. The output file name is **dependency.gv** by default. You can optionally change the output file name by specifying the property **GraphListener.filename** .

Road map
--------
* Add option to hide global (unconnected) targets
* Display more information about the targets (file name, line number, etc.)
* Display antcall and ant tasks on the execution path
* Construct a listener to trace variable declaration, usage and failed resolution (when you reference to an undeclared variable)

Example usage
-------------
You have the following build files:

build.xml:

    &lt;project name="Test" default="test-2"&gt;
    	&lt;description&gt;Test project&lt;/description&gt;
    	&lt;import file="import-test.xml"/&gt;
    	&lt;target name="test-1" depends="imp1" description="Test 1"&gt;
    		&lt;echo&gt;Hello World!&lt;/echo&gt;
    	&lt;/target&gt;
    	&lt;target name="test-2" depends="test-1" description="Test 2"&gt;
    		&lt;echo&gt;Hallo Welt!&lt;/echo&gt;
    	&lt;/target&gt;
    	&lt;target name="test-3" depends="test-1" description="Test 3"&gt;
    		&lt;echo&gt;Szia Vilag!&lt;/echo&gt;
    	&lt;/target&gt;
    &lt;/project&gt;

import-test.xml:

    &lt;project name="Imp1" default="imp1"&gt;
    	&lt;target name="imp1" description="Test Init"&gt;
    		&lt;echo&gt;Imp1 World!&lt;/echo&gt;
    	&lt;/target&gt;
    &lt;/project&gt;

Executing the command 'ant -listener hu.gaboo.antviz2.GraphListener' results the following output in the dependency.gv file:

    digraph G {
      1 [ label="imp1" color="red" ];
      2 [ label="Imp1.imp1" ];
      3 [ label="test-3" ];
      4 [ label="test-1" color="red" ];
      5 [ label="test-2" color="red" ];
      3 -&gt; 4 [ label="1" ];
      5 -&gt; 4 [ label="1" ];
      4 -&gt; 1 [ label="1" ];
    }

It can be visualized with GraphViz.
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gabor Guta</dc:creator><pubDate>Sat, 04 Aug 2012 12:37:34 -0000</pubDate><guid>https://sourceforge.netc64ccd4faf5f543ebe70d46b8c6a13f4d0e75fb7</guid></item></channel></rss>