From 47903f9666c716eb8965b382d94bb58c318bffde Mon Sep 17 00:00:00 2001 From: Peter Donald Date: Sun, 16 Dec 2001 05:07:19 +0000 Subject: [PATCH] TaskContainers occur in task space in Myrmidon not in container space. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270195 13f79535-47bb-0310-9956-ffa450edef68 --- .../src/main/org/apache/tools/ant/Target.java | 2 +- .../org/apache/tools/ant/TaskContainer.java | 31 ------------------- .../src/todo/org/apache/tools/ant/Target.java | 2 +- .../org/apache/tools/ant/TaskContainer.java | 31 ------------------- 4 files changed, 2 insertions(+), 64 deletions(-) delete mode 100644 proposal/myrmidon/src/main/org/apache/tools/ant/TaskContainer.java delete mode 100644 proposal/myrmidon/src/todo/org/apache/tools/ant/TaskContainer.java diff --git a/proposal/myrmidon/src/main/org/apache/tools/ant/Target.java b/proposal/myrmidon/src/main/org/apache/tools/ant/Target.java index a9fec5f0a..03ecd1138 100644 --- a/proposal/myrmidon/src/main/org/apache/tools/ant/Target.java +++ b/proposal/myrmidon/src/main/org/apache/tools/ant/Target.java @@ -18,7 +18,7 @@ import org.apache.myrmidon.api.TaskException; * @author James Davidson duncan@x180.com */ -public class Target implements TaskContainer +public class Target { private String ifCondition = ""; private String unlessCondition = ""; diff --git a/proposal/myrmidon/src/main/org/apache/tools/ant/TaskContainer.java b/proposal/myrmidon/src/main/org/apache/tools/ant/TaskContainer.java deleted file mode 100644 index 4b91c8e57..000000000 --- a/proposal/myrmidon/src/main/org/apache/tools/ant/TaskContainer.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (C) The Apache Software Foundation. All rights reserved. - * - * This software is published under the terms of the Apache Software License - * version 1.1, a copy of which has been included with this distribution in - * the LICENSE file. - */ -package org.apache.tools.ant; - -import org.apache.myrmidon.api.TaskException; - -/** - * Interface for objects which can contain tasks

- * - * It is recommended that implementations call {@link Task#perform perform} - * instead of {@link Task#execute execute} for the tasks they contain, as this - * method ensures that {@link BuildEvent BuildEvents} will be generated.

- * - * @author Conor MacNeill - */ -public interface TaskContainer -{ - /** - * Add a task to this task container - * - * @param task the task to be added to this container - */ - void addTask( Task task ) - throws TaskException; -} - diff --git a/proposal/myrmidon/src/todo/org/apache/tools/ant/Target.java b/proposal/myrmidon/src/todo/org/apache/tools/ant/Target.java index a9fec5f0a..03ecd1138 100644 --- a/proposal/myrmidon/src/todo/org/apache/tools/ant/Target.java +++ b/proposal/myrmidon/src/todo/org/apache/tools/ant/Target.java @@ -18,7 +18,7 @@ import org.apache.myrmidon.api.TaskException; * @author James Davidson duncan@x180.com */ -public class Target implements TaskContainer +public class Target { private String ifCondition = ""; private String unlessCondition = ""; diff --git a/proposal/myrmidon/src/todo/org/apache/tools/ant/TaskContainer.java b/proposal/myrmidon/src/todo/org/apache/tools/ant/TaskContainer.java deleted file mode 100644 index 4b91c8e57..000000000 --- a/proposal/myrmidon/src/todo/org/apache/tools/ant/TaskContainer.java +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright (C) The Apache Software Foundation. All rights reserved. - * - * This software is published under the terms of the Apache Software License - * version 1.1, a copy of which has been included with this distribution in - * the LICENSE file. - */ -package org.apache.tools.ant; - -import org.apache.myrmidon.api.TaskException; - -/** - * Interface for objects which can contain tasks

- * - * It is recommended that implementations call {@link Task#perform perform} - * instead of {@link Task#execute execute} for the tasks they contain, as this - * method ensures that {@link BuildEvent BuildEvents} will be generated.

- * - * @author Conor MacNeill - */ -public interface TaskContainer -{ - /** - * Add a task to this task container - * - * @param task the task to be added to this container - */ - void addTask( Task task ) - throws TaskException; -} -