Browse Source

Model is not a user concern but a modder/embeddor concern.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@269061 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
1ec0e4c4e6
10 changed files with 15 additions and 15 deletions
  1. +1
    -1
      proposal/myrmidon/src/java/org/apache/ant/Main.java
  2. +1
    -1
      proposal/myrmidon/src/java/org/apache/ant/modules/basic/AntCall.java
  3. +2
    -2
      proposal/myrmidon/src/java/org/apache/ant/project/DefaultProjectEngine.java
  4. +1
    -1
      proposal/myrmidon/src/java/org/apache/ant/project/ProjectEngine.java
  5. +4
    -4
      proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/DefaultProjectBuilder.java
  6. +1
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/ProjectBuilder.java
  7. +1
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/components/model/DefaultProject.java
  8. +1
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/components/model/DefaultTarget.java
  9. +2
    -2
      proposal/myrmidon/src/java/org/apache/myrmidon/components/model/Project.java
  10. +1
    -1
      proposal/myrmidon/src/java/org/apache/myrmidon/components/model/Target.java

+ 1
- 1
proposal/myrmidon/src/java/org/apache/ant/Main.java View File

@@ -46,7 +46,7 @@ import org.apache.myrmidon.components.embeddor.Embeddor;
import org.apache.myrmidon.components.embeddor.MyrmidonEmbeddor; import org.apache.myrmidon.components.embeddor.MyrmidonEmbeddor;
import org.apache.myrmidon.launcher.LauncherClassLoader; import org.apache.myrmidon.launcher.LauncherClassLoader;
import org.apache.myrmidon.listeners.ProjectListener; import org.apache.myrmidon.listeners.ProjectListener;
import org.apache.myrmidon.model.Project;
import org.apache.myrmidon.components.model.Project;


/** /**
* The class to kick the tires and light the fires. * The class to kick the tires and light the fires.


+ 1
- 1
proposal/myrmidon/src/java/org/apache/ant/modules/basic/AntCall.java View File

@@ -9,7 +9,7 @@ package org.apache.ant.modules.basic;


import java.util.ArrayList; import java.util.ArrayList;
import org.apache.ant.AntException; import org.apache.ant.AntException;
import org.apache.myrmidon.model.Project;
import org.apache.myrmidon.components.model.Project;
import org.apache.ant.project.ProjectEngine; import org.apache.ant.project.ProjectEngine;
import org.apache.myrmidon.api.AbstractTask; import org.apache.myrmidon.api.AbstractTask;
import org.apache.myrmidon.api.DefaultTaskContext; import org.apache.myrmidon.api.DefaultTaskContext;


+ 2
- 2
proposal/myrmidon/src/java/org/apache/ant/project/DefaultProjectEngine.java View File

@@ -25,8 +25,8 @@ import org.apache.myrmidon.api.DefaultTaskContext;
import org.apache.myrmidon.api.TaskContext; import org.apache.myrmidon.api.TaskContext;
import org.apache.myrmidon.components.executor.Executor; import org.apache.myrmidon.components.executor.Executor;
import org.apache.myrmidon.listeners.ProjectListener; import org.apache.myrmidon.listeners.ProjectListener;
import org.apache.myrmidon.model.Project;
import org.apache.myrmidon.model.Target;
import org.apache.myrmidon.components.model.Project;
import org.apache.myrmidon.components.model.Target;


/** /**
* This is the default implementation of ProjectEngine. * This is the default implementation of ProjectEngine.


+ 1
- 1
proposal/myrmidon/src/java/org/apache/ant/project/ProjectEngine.java View File

@@ -11,7 +11,7 @@ import org.apache.ant.AntException;
import org.apache.avalon.framework.component.Component; import org.apache.avalon.framework.component.Component;
import org.apache.myrmidon.api.TaskContext; import org.apache.myrmidon.api.TaskContext;
import org.apache.myrmidon.listeners.ProjectListener; import org.apache.myrmidon.listeners.ProjectListener;
import org.apache.myrmidon.model.Project;
import org.apache.myrmidon.components.model.Project;


/** /**
* This is the interface between ProjectEngine and rest of the system. * This is the interface between ProjectEngine and rest of the system.


+ 4
- 4
proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/DefaultProjectBuilder.java View File

@@ -18,10 +18,10 @@ import org.apache.avalon.framework.configuration.DefaultConfigurationBuilder;
import org.apache.avalon.framework.logger.AbstractLoggable; import org.apache.avalon.framework.logger.AbstractLoggable;
import org.apache.log.Logger; import org.apache.log.Logger;
import org.apache.myrmidon.api.TaskContext; import org.apache.myrmidon.api.TaskContext;
import org.apache.myrmidon.model.DefaultProject;
import org.apache.myrmidon.model.DefaultTarget;
import org.apache.myrmidon.model.Project;
import org.apache.myrmidon.model.Target;
import org.apache.myrmidon.components.model.DefaultProject;
import org.apache.myrmidon.components.model.DefaultTarget;
import org.apache.myrmidon.components.model.Project;
import org.apache.myrmidon.components.model.Target;
import org.xml.sax.InputSource; import org.xml.sax.InputSource;
import org.xml.sax.SAXException; import org.xml.sax.SAXException;




+ 1
- 1
proposal/myrmidon/src/java/org/apache/myrmidon/components/builder/ProjectBuilder.java View File

@@ -11,7 +11,7 @@ import java.io.File;
import java.io.IOException; import java.io.IOException;
import org.apache.ant.AntException; import org.apache.ant.AntException;
import org.apache.avalon.framework.component.Component; import org.apache.avalon.framework.component.Component;
import org.apache.myrmidon.model.Project;
import org.apache.myrmidon.components.model.Project;


/** /**
* Interface implemented by components that build projects from sources. * Interface implemented by components that build projects from sources.


proposal/myrmidon/src/java/org/apache/myrmidon/model/DefaultProject.java → proposal/myrmidon/src/java/org/apache/myrmidon/components/model/DefaultProject.java View File

@@ -5,7 +5,7 @@
* version 1.1, a copy of which has been included with this distribution in * version 1.1, a copy of which has been included with this distribution in
* the LICENSE file. * the LICENSE file.
*/ */
package org.apache.myrmidon.model;
package org.apache.myrmidon.components.model;


import java.io.File; import java.io.File;
import java.io.IOException; import java.io.IOException;

proposal/myrmidon/src/java/org/apache/myrmidon/model/DefaultTarget.java → proposal/myrmidon/src/java/org/apache/myrmidon/components/model/DefaultTarget.java View File

@@ -5,7 +5,7 @@
* version 1.1, a copy of which has been included with this distribution in * version 1.1, a copy of which has been included with this distribution in
* the LICENSE file. * the LICENSE file.
*/ */
package org.apache.myrmidon.model;
package org.apache.myrmidon.components.model;


import java.util.ArrayList; import java.util.ArrayList;
import org.apache.ant.util.Condition; import org.apache.ant.util.Condition;

proposal/myrmidon/src/java/org/apache/myrmidon/model/Project.java → proposal/myrmidon/src/java/org/apache/myrmidon/components/model/Project.java View File

@@ -5,14 +5,14 @@
* version 1.1, a copy of which has been included with this distribution in * version 1.1, a copy of which has been included with this distribution in
* the LICENSE file. * the LICENSE file.
*/ */
package org.apache.myrmidon.model;
package org.apache.myrmidon.components.model;


import java.io.File; import java.io.File;
import org.apache.avalon.framework.component.Component; import org.apache.avalon.framework.component.Component;


/** /**
* Abstraction used to interact with projects. * Abstraction used to interact with projects.
* Implementations may choose to structure it anyway they choose.
* Implementations may choose to structure it anyway they choose.
* *
* TODO: Determine if projects should carry their own name. Breaks IOC but * TODO: Determine if projects should carry their own name. Breaks IOC but
* Can be useful as project files embed own name (or should that be description). * Can be useful as project files embed own name (or should that be description).

proposal/myrmidon/src/java/org/apache/myrmidon/model/Target.java → proposal/myrmidon/src/java/org/apache/myrmidon/components/model/Target.java View File

@@ -5,7 +5,7 @@
* version 1.1, a copy of which has been included with this distribution in * version 1.1, a copy of which has been included with this distribution in
* the LICENSE file. * the LICENSE file.
*/ */
package org.apache.myrmidon.model;
package org.apache.myrmidon.components.model;


import org.apache.ant.util.Condition; import org.apache.ant.util.Condition;
import org.apache.avalon.framework.component.Component; import org.apache.avalon.framework.component.Component;

Loading…
Cancel
Save