stevel 2003/09/29 17:10:12
Modified: docs/manual/CoreTypes Tag: ANT_16_BRANCH assertions.html
docs/manual Tag: ANT_16_BRANCH conceptstypeslist.html
Log:
assert docs go in
Revision Changes Path
No revision
No revision
1.2.2.2 +14 -6 ant/docs/manual/CoreTypes/assertions.html
Index: assertions.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/CoreTypes/assertions.html,v
retrieving revision 1.2.2.1
retrieving revision 1.2.2.2
diff -u -r1.2.2.1 -r1.2.2.2
--- assertions.html 27 Sep 2003 03:19:49 -0000 1.2.2.1
+++ assertions.html 30 Sep 2003 00:10:12 -0000 1.2.2.2
@@ -147,11 +147,15 @@
Example: set system assertions and all org.apache packages except
for ant, and the class org.apache.tools.ant.Main.
<pre>
-<assertions enableSystemAssertions="true" >
- <enable package="org.apache" />
- <disable package="org.apache.ant" />
- <enable class="org.apache.tools.ant.Main"/>
-</assertions>
+ <java fork="true" failonerror="true"
+ classname="${classname}"
+ classpathref="assert.classpath">
+ <assertions enableSystemAssertions="true" >
+ <enable package="org.apache" />
+ <disable package="org.apache.ant" />
+ <enable class="org.apache.tools.ant.Main"/>
+ </assertions>
+ </java>
</pre>
<h5>Example: disabled and anonymous package assertions</h5>
@@ -173,7 +177,11 @@
<enable package="org.apache.test" />
</assertions>
-<assertions refid="project.assertions" />
+<java fork="true" failonerror="true"
+ classname="${classname}"
+ classpathref="assert.classpath">
+ <assertions refid="project.assertions"/>
+</java>
</pre>
<hr>
No revision
No revision
1.13.2.1 +1 -0 ant/docs/manual/conceptstypeslist.html
Index: conceptstypeslist.html
===================================================================
RCS file: /home/cvs/ant/docs/manual/conceptstypeslist.html,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -u -r1.13 -r1.13.2.1
--- conceptstypeslist.html 1 Sep 2003 14:22:04 -0000 1.13
+++ conceptstypeslist.html 30 Sep 2003 00:10:12 -0000 1.13.2.1
@@ -15,6 +15,7 @@
<a href="CoreTasks/common.html">Common Attributes</a><br>
<h3>Core Types</h3>
+<a href="CoreTypes/assertions.html">Assertions Type</a><br>
<a href="CoreTypes/description.html">Description Type</a><br>
<a href="dirtasks.html">Directory-based Tasks</a><br>
<a href="CoreTypes/dirset.html">DirSet</a><br>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]