Browse Source

ProjectManager is no longer a FlyWeight. It now carries state pertinent to a set of Projects that are executed in concert.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269161 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
8c0388b0a4
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      proposal/myrmidon/src/java/org/apache/myrmidon/components/manager/ProjectManager.java

+ 4
- 4
proposal/myrmidon/src/java/org/apache/myrmidon/components/manager/ProjectManager.java View File

@@ -7,8 +7,8 @@
*/
package org.apache.myrmidon.components.manager;

import java.util.Map;
import org.apache.avalon.framework.component.Component;
import org.apache.myrmidon.api.TaskContext;
import org.apache.myrmidon.api.TaskException;
import org.apache.myrmidon.components.model.Project;
import org.apache.myrmidon.listeners.ProjectListener;
@@ -39,13 +39,13 @@ public interface ProjectManager
void removeProjectListener( ProjectListener listener );

/**
* Execute a target in a particular project, in a particular context.
* Execute a target in a particular project.
*
* @param project the Project
* @param target the name of the target
* @param context the context
* @param defines the defines
* @exception TaskException if an error occurs
*/
void executeTarget( Project project, String target, TaskContext context )
void executeProject( Project project, String target )
throws TaskException;
}

Loading…
Cancel
Save