ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Medwith" <mmedw...@hotmail.com>
Subject Re: Problem with vizant
Date Thu, 03 Apr 2003 18:20:42 GMT
Actually I still get the error.  I know that the dot application is used to 
convert the file after its been created but the error happens before that.

BTW I am running ant 1.5.1 with jdk1.3 on aix (maybe its aix?)

>From: Jacob Kjome <hoju@visi.com>
>Reply-To: "Ant Users List" <user@ant.apache.org>
>To: "Ant Users List" <user@ant.apache.org>
>Subject: Re: Problem with vizant
>Date: Thu, 03 Apr 2003 12:05:56 -0600
>MIME-Version: 1.0
>Received: from apache.org ([208.185.179.12]) by mc9-f8.bay6.hotmail.com 
>with Microsoft SMTPSVC(5.0.2195.5600); Thu, 3 Apr 2003 10:04:32 -0800
>Received: (qmail 23231 invoked by uid 500); 3 Apr 2003 18:04:16 -0000
>Received: (qmail 23220 invoked from network); 3 Apr 2003 18:04:16 -0000
>Received: from sccrmhc03.attbi.com (204.127.202.63)  by daedalus.apache.org 
>with SMTP; 3 Apr 2003 18:04:16 -0000
>Received: from nicki.visi.com 
>(c-24-118-17-192.mn.client2.attbi.com[24.118.17.192])          by 
>sccrmhc03.attbi.com (sccrmhc03) with SMTP          id 
><20030403180418003009jq64e>; Thu, 3 Apr 2003 18:04:18 +0000
>X-Message-Info: JGTYoYF78jEHjJx36Oi8+Q1OJDRSDidP
>Mailing-List: contact user-help@ant.apache.org; run by ezmlm
>Precedence: bulk
>List-Unsubscribe: <mailto:user-unsubscribe@ant.apache.org>
>List-Subscribe: <mailto:user-subscribe@ant.apache.org>
>List-Help: <mailto:user-help@ant.apache.org>
>List-Post: <mailto:user@ant.apache.org>
>List-Id: "Ant Users List" <user.ant.apache.org>
>Delivered-To: mailing list user@ant.apache.org
>Message-Id: <5.2.0.9.2.20030403120315.031c1690@shell.visi.com>
>X-Sender: hoju@shell.visi.com
>X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9
>In-Reply-To: <F120xtyDOs7sePq2dfo00018cc4@hotmail.com>
>X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N
>Return-Path: user-return-31455-mmedwith=hotmail.com@ant.apache.org
>X-OriginalArrivalTime: 03 Apr 2003 18:04:32.0959 (UTC) 
>FILETIME=[7AADCCF0:01C2FA0B]
>
>
>Vizant requires a native library called GraphViz to also be installed.  
>Here is a target which will gracefully fail when GraphViz isn't 
>installed...
>
>
>     <target name="vizant">
>         <taskdef name="vizant" classname="net.sourceforge.vizant.Vizant" 
>classpath="${vizant.jar}"/>
>         <vizant antfile="build.xml" outfile="build.dot"/>
>         <exec executable="dot" failifexecutionfails="false" 
>resultproperty="graphvizSuccess!">
>             <arg line="-Tpng build.dot -o build.png"/>
>         </exec>
>         <fail unless="graphvizSuccess!">
>         You probably need to install GraphViz which is a native program,
>         not a Java library &gt;&gt;&gt; 
>http://www.research.att.com/sw/tools/graphviz/
>         </fail>
>     </target>
>
>
>Jake
>
>
>At 11:07 AM 4/3/2003 -0500, you wrote:
>>I am having a problem with vizant, does anyone have any ideas on what this 
>>means?  I can write to the directory that I run the target from... Is 
>>there another tools that work like vizant and draw pictures of all the 
>>targets and dependencies?
>>
>>
>>Using the following target:
>>  <taskdef name="vizant" classname="net.sourceforge.vizant.Vizant"/>
>>  <target name="map_targets">
>>    <vizant antfile="build.xml" 
>>outfile="/usr/local/home/mmedwith/build.dot" from="reinstall_all"/>
>>  </target>
>>
>>
>>I am getting the following error:
>>BUILD FAILED
>>java.lang.NullPointerException
>>        at net.sourceforge.vizant.VizPrinter.replace(Unknown Source)
>>        at net.sourceforge.vizant.VizPrinter.escapeId(Unknown Source)
>>        at net.sourceforge.vizant.VizPrinter.getQuotedId(Unknown Source)
>>        at net.sourceforge.vizant.VizPrinter.printTarget(Unknown Source)
>>        at net.sourceforge.vizant.VizPrinter.printProject(Unknown Source)
>>        at net.sourceforge.vizant.VizPrinter.print(Unknown Source)
>>        at net.sourceforge.vizant.Vizant.print(Unknown Source)
>>        at net.sourceforge.vizant.Vizant.writeDotToOutfile(Unknown Source)
>>        at net.sourceforge.vizant.Vizant.execute(Unknown Source)
>>        at org.apache.tools.ant.Task.perform(Task.java:319)
>>        at org.apache.tools.ant.Target.execute(Target.java:309)
>>        at org.apache.tools.ant.Target.performTasks(Target.java:336)
>>        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>>        at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
>>        at org.apache.tools.ant.Main.runBuild(Main.java:610)
>>        at org.apache.tools.ant.Main.start(Main.java:196)
>>        at org.apache.tools.ant.Main.main(Main.java:235)
>>
>>Total time: 8 seconds
>>
>>
>>_________________________________________________________________
>>The new MSN 8: advanced junk mail protection and 2 months FREE*
>>http://join.msn.com/?page=features/junkmail
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
>>For additional commands, e-mail: user-help@ant.apache.org


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


Mime
View raw message