Index: applications/editors/josm/i18n/build.xml
===================================================================
--- applications/editors/josm/i18n/build.xml	(revision 34691)
+++ applications/editors/josm/i18n/build.xml	(revision 34692)
@@ -17,4 +17,5 @@
     <property name="gettexttasks.jar" value="lib/gettext-ant-tasks-0.9.7.jar"/>
     <property name="antcontrib.jar" value="lib/ant-contrib-1.0b3.jar"/>
+    <property name="grand.jar" value="lib/grand-1.9.5.jar"/>
     <target name="init" description="Loads the Ant gettext and contrib tasks">
         <taskdef name="gettext-extract" classname="org.xnap.commons.ant.gettext.GettextExtractKeysTask" classpath="${gettexttasks.jar}"/>
@@ -184,4 +185,6 @@
         <delete dir="${i18n.build.dir}"/>
         <delete file="po/josm.pot"/>
+        <delete file="build.dot"/>
+        <delete file="build.png"/>
         <delete>
             <fileset dir="po" includes="*.*~" defaultexcludes="false"/>
@@ -211,3 +214,10 @@
         <antcall target="buildcore"/>
     </target>
+    <target name="ant-dependencies">
+        <typedef resource="net/ggtools/grand/antlib.xml" classpath="${grand.jar}"/>
+        <grand output="build.dot" outputconfigprefix="grand"/>
+        <exec executable="dot">
+            <arg line="-Tpng -o build.png build.dot"/>
+        </exec>
+    </target>
 </project>
