ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jacob Kjome <>
Subject Re: Adding vizant tag to ant tag set?
Date Wed, 01 Oct 2003 03:50:10 GMT
At 05:07 PM 9/30/2003 -0700, you wrote:
>If you have made <vizant> work in your build.xml files, and have any tips for
>me, please send me clues.

Sure, how about this...

1.  Download:

2.  Either put vizant.jar in ANT_HOME/lib or create a property called 
"vizant.jar" and use it like I have below in the "classpath" attribute for 
the taskdef.

3.  Run the following target (modified based on what you decide in #2)....

     <target name="vizant">
         <taskdef name="vizant" classname="net.sourceforge.vizant.Vizant" 
         <vizant antfile="build.xml" outfile=""/>
         <exec executable="dot" failifexecutionfails="false" 
             <arg line="-Tpng -o build.png"/>
         <fail unless="graphvizSuccess!">
         You probably need to install GraphViz which is a native program,
         not a Java library &gt;&gt;&gt;

4.  If you get the "fail" message, download the native graphviz program for 
your platform and make sure the executable is in your system path.

After doing the above, everything should work for you.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message