You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by jg...@apache.org on 2004/12/07 07:43:42 UTC
cvs commit: ant/src/main/org/apache/tools/ant/helper SingleCheckExecutor.java KeepGoingExecutor.java DefaultExecutor.java
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 {@link 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 {@link 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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org
Re: cvs commit: ant/src/main/org/apache/tools/ant/helper SingleCheckExecutor.java KeepGoingExecutor.java DefaultExecutor.java
Posted by Matt Benson <gu...@yahoo.com>.
Looks correct to me.
-Matt
--- jglick@apache.org wrote:
> 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 {@link 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 {@link 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:
> dev-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> dev-help@ant.apache.org
>
>
__________________________________
Do you Yahoo!?
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org