Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
AppFuseSupport




JSPWiki v2.2.33

[RSS]


Hide Menu

SetupVizant


This is version 1. It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]


This page is designed to demonstrate how to setup Vizant in AppFuse.
  • Download vizant.jar and put it in lib/vizant-0.1.1/vizant.jar.
  • Define the vizant.jar in lib/lib.properties:
#
# Vizant - http://vizant.sf.net
#
vizant.version	= 0.1.1
vizant.dir=${lib.dir}/vizant-${vizant.version}
vizant.jar=${vizant.dir}/vizant.jar
  • Add the "vizant" target in builc.xml:
    <!-- Visant task for visualizing Ant tasks -->
    <target name="vizant">
        <taskdef name="vizant" classname="net.sourceforge.vizant.Vizant" 
            classpath="${vizant.jar}"/>
        <mkdir dir="${build.dir}/vizant"/>
	<vizant antfile="build.xml" outfile="${build.dir}/vizant/build.dot" 
            from="deploy" to="init">
            <attrstmt type="node">
                <attr name="style" value="filled"/>
                <attr name="shape" value="egg"/>
                <attr name="color" value="grey90"/>
            </attrstmt>
        </vizant>
        <exec executable="dot">
            <arg line="-Tpng ${build.dir}/vizant/build.dot -o 
                       ${build.dir}/vizant/deploy.png"/>
        </exec>
    </target>
  • Adjust "from" and "to" attributes in the <vizant> task to fit with the targets you want to diagram.
  • Run "ant vizant".


Go to top   More info...   Attach file...
This particular version was published on 06-Nov-2006 13:52:37 MST by MattRaible.