You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bo...@apache.org on 2003/05/12 17:19:19 UTC
cvs commit: ant/docs/manual/OptionalTasks junit.html
bodewig 2003/05/12 08:19:18
Modified: docs/manual conceptstypeslist.html
docs/manual/CoreTasks ant.html antcall.html java.html
docs/manual/OptionalTasks junit.html
Added: docs/manual/CoreTypes propertyset.html
Log:
Add documentation for propertyset
Revision Changes Path
1.10 +1 -0 ant/docs/manual/conceptstypeslist.html
Index: conceptstypeslist.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/conceptstypeslist.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- conceptstypeslist.html 18 Apr 2003 22:02:58 -0000 1.9
+++ conceptstypeslist.html 12 May 2003 15:19:18 -0000 1.10
@@ -25,6 +25,7 @@
<a href="CoreTypes/filterset.html">FilterSet</a><br>
<a href="CoreTypes/patternset.html">PatternSet</a><br>
<a href="using.html#path">Path-like Structures</a><br>
+<a href="CoreTypes/propertyset.html">PropertySet</a><br>
<a href="CoreTypes/selectors.html">Selectors</a><br>
<a href="CoreTypes/xmlcatalog.html">XMLCatalog</a><br>
<a href="CoreTypes/zipfileset.html">ZipFileSet</a><br>
1.17 +12 -2 ant/docs/manual/CoreTasks/ant.html
Index: ant.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/ant.html,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- ant.html 4 Sep 2002 11:05:16 -0000 1.16
+++ ant.html 12 May 2003 15:19:18 -0000 1.17
@@ -87,7 +87,9 @@
</tr>
</table>
-<h3>Parameters specified as nested elements</h3> <h4>property</h4>
+<h3>Parameters specified as nested elements</h3>
+
+<h4>property</h4>
<p>See the description of the <a href="property.html">property
task</a>. Note that the <code>refid</code> attribute points to a
reference in the calling project, not in the new one.</p>
@@ -114,6 +116,14 @@
</tr>
</table>
+<h4>propertyset</h4>
+
+<p>You can specify a set of properties to be copied into the new
+project with <a
+href="../CoreTypes/propertyset.html">propertyset</a>s.</p>
+
+<p><em>since Ant 1.6</em>.</p>
+
<h3>Basedir of the new project</h3>
<p>The basedir value of the new project is affected by the two
@@ -222,7 +232,7 @@
new project using the id <code>path2</code>.</p>
<hr>
-<p align="center">Copyright © 2000-2002 Apache Software Foundation. All rights
+<p align="center">Copyright © 2000-2003 Apache Software Foundation. All rights
Reserved.</p>
</body>
1.15 +9 -1 ant/docs/manual/CoreTasks/antcall.html
Index: antcall.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/antcall.html,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- antcall.html 26 Sep 2002 16:06:13 -0000 1.14
+++ antcall.html 12 May 2003 15:19:18 -0000 1.15
@@ -101,6 +101,14 @@
</tr>
</table>
+<h4>propertyset</h4>
+
+<p>You can specify a set of properties to be copied into the new
+project with <a
+href="../CoreTypes/propertyset.html">propertyset</a>s.</p>
+
+<p><em>since Ant 1.6</em>.</p>
+
<h3>Examples</h3>
<pre>
<target name="default">
@@ -124,7 +132,7 @@
<p>will copy the parent's definition of <code>path1</code> into the
new project using the id <code>path2</code>.</p>
-<hr><p align="center">Copyright © 2000-2002 Apache Software Foundation. All rights
+<hr><p align="center">Copyright © 2000-2003 Apache Software Foundation. All rights
Reserved.</p>
</body>
1.18 +8 -0 ant/docs/manual/CoreTasks/java.html
Index: java.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTasks/java.html,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- java.html 22 Apr 2003 22:12:53 -0000 1.17
+++ java.html 12 May 2003 15:19:18 -0000 1.18
@@ -177,6 +177,14 @@
of the class (either ANT's VM or the forked VM). The attributes
for this element are the same as for <a href="exec.html#env">environment
variables</a>.</p>
+
+<h4>syspropertyset</h4>
+
+<p>You can specify a set of properties to be used as system properties
+with <a href="../CoreTypes/propertyset.html">syspropertyset</a>s.</p>
+
+<p><em>since Ant 1.6</em>.</p>
+
<h4>classpath</h4>
<p><code>Java</code>'s <i>classpath</i> attribute is a <a
href="../using.html#path">PATH like structure</a> and can also be set via a nested
1.1 ant/docs/manual/CoreTypes/propertyset.html
Index: propertyset.html
===================================================================
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<title>PropertySet Type</title>
</head>
<body>
<h2><a name="propertyset">PropertySet</a></h2>
<p><em>Since Ant 1.6</em></p>
<p>Groups a set of properties to be used by reference in a task that
supports this.</p>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td valign="top"><b>Attribute</b></td>
<td valign="top"><b>Description</b></td>
<td align="center" valign="top"><b>Required</b></td>
</tr>
<tr>
<td valign="top">dynamic</td>
<td valign="top">Whether to reevaluate the set everytime the set
is used. Default is "<code>true</code>".</td>
<td valign="top" align="center">No</td>
</tr>
</table>
<h3>Parameters specified as nested elements</h3>
<h4>propertyref</h4>
<p>Selects properties from the current project to be included in the
set.</p>
<table border="1" cellpadding="2" cellspacing="0">
<tr>
<td valign="top"><b>Attribute</b></td>
<td valign="top"><b>Description</b></td>
<td align="center" valign="top"><b>Required</b></td>
</tr>
<tr>
<td valign="top">name</td>
<td valign="top">Select the property with the given name.</td>
<td align="center" valign="top" rowspan="3">Exactly one of these.</td>
</tr>
<tr>
<td valign="top">prefix</td>
<td valign="top">Select the properties whose name starts with the
given string.</td>
</tr>
<tr>
<td valign="top">regexp</td>
<td valign="top">Select the properties that match the given
regular expression. Similar to <a
href="mapper.html#regexp-mapper">regexp type mappers</a>, this
equires a supported regular expression library.</td>
</tr>
</table>
<h4>propertyset</h4>
<p>A <code>propertyset</code> can be used as the set union of more
<code>propertyset</code>s.</p>
<p>For example:</p>
<blockquote><pre>
<propertyset id="properties-starting-with-foo">
<propertyref prefix="foo"/>
</propertyset>
<propertyset id="properties-starting-with-bar">
<propertyref prefix="bar"/>
</propertyset>
<propertyset id="my-set">
<propertyset refid="properties-starting-with-foo"/>
<propertyset refid="properties-starting-with-bar"/>
</propertyset>
</pre></blockquote>
<p>collects all properties whose name starts with either
"foo" or "bar" in the set named
"my-set".</p>
<h4>mapper</h4>
<p>A <a href="mapper.html">mapper</a> - at maximum one mapper can be
specified. The mapper is used to change the names of the property
keys, for example:
<blockquote><pre>
<propertyset id="properties-starting-with-foo">
<propertyref prefix="foo"/>
<mapper type="glob" from="foo*" to="bar*"/>
</propertyset>
</pre></blockquote>
<p>collects all properties whose name starts with "foo", but
changes the names to start with "bar" instead.</p>
<hr>
<p align="center">Copyright © 2003 Apache Software Foundation. All rights
Reserved.</p>
</body>
</html>
1.25 +6 -0 ant/docs/manual/OptionalTasks/junit.html
Index: junit.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/OptionalTasks/junit.html,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- junit.html 31 Mar 2003 12:27:13 -0000 1.24
+++ junit.html 12 May 2003 15:19:18 -0000 1.25
@@ -212,6 +212,12 @@
<p>would run the test in ANT's VM and make the <code>basedir</code> property
available to the test.</p>
+<h4>syspropertyset</h4>
+
+<p>You can specify a set of properties to be used as system properties
+with <a href="../CoreTypes/propertyset.html">syspropertyset</a>s.</p>
+
+<p><em>since Ant 1.6</em>.</p>
<h4>env</h4>