Skip to main content
Jump to: navigation, search

Difference between revisions of "File:Smila.build.all.png"

Line 1: Line 1:
all target graph
 
 
 
created with [http://www.ggtools.net/grand grand]
 
created with [http://www.ggtools.net/grand grand]
 +
 +
== Ant target ==
 +
<source lang=xml>
 +
        <!-- =================================================================== -->
 +
        <!--        grand paints a graph of the ant build file:                  -->
 +
        <!--        here: it's reduced to the mein paths                          -->
 +
        <!--        see http://www.ggtools.net/grand/#examples                    -->
 +
        <!--        1. the downloaded jar must be put into the lib folder of ant  -->
 +
        <!--        2. the dot.exe is supposed in the path here,                  -->
 +
        <!--            otherwise the <exec> must be speced more fully            -->
 +
        <!-- =================================================================== -->
 +
 +
        <taskdef resource="task.properties" classpath="grand-1.8.jar" />
 +
 +
        <target name="ant.graph" description="to control starting node set ${node.start}">
 +
                <typedef resource="net/ggtools/grand/antlib.xml" classpath="grand-1.8.jar" />
 +
                <property name="node.start" value="all" />
 +
                <grand output="build.dot" buildfile="make.xml">
 +
                        <filter name="fromnode" node="${node.start}" />
 +
                </grand>
 +
                <exec executable="dot">
 +
                        <arg line="-Tpng -o build.${node.start}.png build.dot" />
 +
                </exec>
 +
                <exec executable="cmd">
 +
                        <arg line="/c start build.${node.start}.png" />
 +
                </exec>
 +
        </target>
 +
 +
</source>

Revision as of 07:20, 30 January 2009

created with grand

Ant target

        <!-- =================================================================== -->
        <!--        grand paints a graph of the ant build file:                   -->
        <!--        here: it's reduced to the mein paths                          -->
        <!--        see http://www.ggtools.net/grand/#examples                    -->
        <!--        1. the downloaded jar must be put into the lib folder of ant  -->
        <!--        2. the dot.exe is supposed in the path here,                  -->
        <!--            otherwise the <exec> must be speced more fully            -->
        <!-- =================================================================== -->
 
        <taskdef resource="task.properties" classpath="grand-1.8.jar" />
 
        <target name="ant.graph" description="to control starting node set ${node.start}">
                <typedef resource="net/ggtools/grand/antlib.xml" classpath="grand-1.8.jar" />
                <property name="node.start" value="all" />
                <grand output="build.dot" buildfile="make.xml">
                        <filter name="fromnode" node="${node.start}" />
                </grand>
                <exec executable="dot">
                        <arg line="-Tpng -o build.${node.start}.png build.dot" />
                </exec>
                <exec executable="cmd">
                        <arg line="/c start build.${node.start}.png" />
                </exec>
        </target>

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current06:43, 24 March 2009Thumbnail for version as of 06:43, 24 March 2009981 × 875 (99 KB)Rrausch.brox.de (Talk | contribs)
05:25, 30 January 2009Thumbnail for version as of 05:25, 30 January 2009941 × 681 (15 KB)Tmenzel.brox.de (Talk | contribs)all target graph
  • You cannot overwrite this file.

There are no pages that link to this file.

Back to the top