Added: ant/ivy/site/target/history/2.2.0/use/var.html URL: http://svn.apache.org/viewvc/ant/ivy/site/target/history/2.2.0/use/var.html?rev=1005260&view=auto ============================================================================== --- ant/ivy/site/target/history/2.2.0/use/var.html (added) +++ ant/ivy/site/target/history/2.2.0/use/var.html Wed Oct 6 21:25:29 2010 @@ -0,0 +1,149 @@ + + + + + + + + +var | Apache Ivy + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + +
+ + +
+ + +
+ + + + + + + +
+
+ +

var

+
Sets a variable (by name and value), or set of variables (from file or url) in ivy.
+Variables are case sensitive.

+Contrary to ant properties, ivy variables are mutable. But a problem with this is that you do not control when
variables are substituted, and usually it is done as soon as possible. So changing the value of a variable will
have no effect if it has already been substituted. Consequently, using this task is NOT recommended.
See reference page for details about ivy variables.


+ + + + + + + + + + + + + + + + + +
AttributeDescriptionRequired
namethe name of the variable to setNo
valuethe value of the variable to setYes when using the name attribute
filethe filename of the property file to load as ivy variablesOne of these, when not using the name attribute
urlthe url from which to read ivy variables
prefixPrefix to apply to variables. A "." is appended to the prefix if not specified.No
settingsRefA reference to the ivy settings that must be used by this task (since 2.0)No, 'ivy.instance' is taken by default.
+ + +
+
+ + + + + + + + + + + + +
+ + Added: ant/ivy/site/target/history/2.2.0/yed.html URL: http://svn.apache.org/viewvc/ant/ivy/site/target/history/2.2.0/yed.html?rev=1005260&view=auto ============================================================================== --- ant/ivy/site/target/history/2.2.0/yed.html (added) +++ ant/ivy/site/target/history/2.2.0/yed.html Wed Oct 6 21:25:29 2010 @@ -0,0 +1,151 @@ + + + + + + + + +Using yEd to layout report graphs | Apache Ivy + + + + + + + + + + +
+ + + + + + + + + + + + + +
+ +
+ +
+ + + + +
+ + +
+ + +
+ + + + + + + +
+
+ +

Using yEd to layout report graphs

+
yEd is a free graph editor, benefiting from
all the automatic layouts of yFiles. Ivy is able to generate graphs which are readable by yEd.

The graphs generated by ivy are not layed out (in fact it's why we use yEd), so you have to follow a simple sequence of steps to layout the generated graphs.

Preparation

+First you have to generate a graphml file. Simply call the report task (see ivy use documentation) for that.

Step 1: open the graphml file

+Launch yEd editor, and open the graphml file generated by the report task. You should obtain something like this:
+
+
+ +

Step 2: ask yEd to adjust nodes size

+
+
+
+
+
+ +

Step 3: ask yEd to layout nodes

+
+
+
+
+ +That's all, you should have obtained something like this:


+ +Note that this is only one possibility, test the available layouts yourself, you could find one better in your case.
Once you have layed out the graph, you can either save it with in the same file (but be warned that it will be overwritten at next ivy report call), or another file, export it to jpg, gif, svg, etc. (see yEd site for details).
+ + + +
+
+ + + + + + + + + + + + +
+ +