jglick 2004/12/06 22:43:42
Modified: src/main/org/apache/tools/ant/helper
SingleCheckExecutor.java KeepGoingExecutor.java
DefaultExecutor.java
Log:
Improving Javadoc of Executor impls to be more informative. :-) Matt please
check.
Revision Changes Path
1.2 +2 -0
ant/src/main/org/apache/tools/ant/helper/SingleCheckExecutor.java
Index: SingleCheckExecutor.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/helper/SingleCheckExecutor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- SingleCheckExecutor.java 31 Aug 2004 22:32:53 -0000 1.1
+++ SingleCheckExecutor.java 7 Dec 2004 06:43:42 -0000 1.2
@@ -27,6 +27,8 @@
/**
* "Single-check" Target executor implementation.
+ * Differs from [EMAIL PROTECTED] DefaultExecutor} in that the dependencies
for all
+ * targets are computed together, so that shared dependencies are run just
once.
* @since Ant 1.6.3
*/
public class SingleCheckExecutor implements Executor {
1.2 +3 -0
ant/src/main/org/apache/tools/ant/helper/KeepGoingExecutor.java
Index: KeepGoingExecutor.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/helper/KeepGoingExecutor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- KeepGoingExecutor.java 31 Aug 2004 22:32:53 -0000 1.1
+++ KeepGoingExecutor.java 7 Dec 2004 06:43:42 -0000 1.2
@@ -25,6 +25,9 @@
/**
* "Keep-going" Target executor implementation.
+ * Differs from [EMAIL PROTECTED] DefaultExecutor} in that a failure in one
target does
+ * not halt execution; all targets are attempted, in order. The last failure,
+ * if any, is reported to the caller.
* @since Ant 1.6.3
*/
public class KeepGoingExecutor implements Executor {
1.2 +2 -0
ant/src/main/org/apache/tools/ant/helper/DefaultExecutor.java
Index: DefaultExecutor.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/helper/DefaultExecutor.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DefaultExecutor.java 31 Aug 2004 22:32:53 -0000 1.1
+++ DefaultExecutor.java 7 Dec 2004 06:43:42 -0000 1.2
@@ -25,6 +25,8 @@
/**
* Default Target executor implementation.
+ * Runs each target individually (including all of its dependencies),
+ * halting immediately upon error.
* @since Ant 1.6.3
*/
public class DefaultExecutor implements Executor {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]