Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 20119 invoked from network); 14 Feb 2002 09:40:47 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 14 Feb 2002 09:40:47 -0000 Received: (qmail 26005 invoked by uid 97); 14 Feb 2002 09:40:54 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 25989 invoked by uid 97); 14 Feb 2002 09:40:54 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 25978 invoked by uid 97); 14 Feb 2002 09:40:53 -0000 Date: 14 Feb 2002 09:40:40 -0000 Message-ID: <20020214094040.96830.qmail@icarus.apache.org> From: donaldp@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant Project.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N donaldp 02/02/14 01:40:40 Modified: proposal/myrmidon/src/main/org/apache/tools/ant Project.java Log: Remove some more cruft Revision Changes Path 1.23 +0 -108 jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/Project.java Index: Project.java =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/Project.java,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- Project.java 6 Feb 2002 13:38:45 -0000 1.22 +++ Project.java 14 Feb 2002 09:40:39 -0000 1.23 @@ -7,11 +7,8 @@ */ package org.apache.tools.ant; -import java.io.File; import java.util.Enumeration; import java.util.Hashtable; -import org.apache.myrmidon.api.TaskException; -import org.apache.myrmidon.listeners.ProjectListener; import org.apache.tools.ant.types.FilterSet; /** @@ -27,12 +24,6 @@ */ public class Project { - public final static int MSG_ERR = 0; - public final static int MSG_WARN = 1; - public final static int MSG_INFO = 2; - public final static int MSG_VERBOSE = 3; - public final static int MSG_DEBUG = 4; - private Hashtable properties = new Hashtable(); private FilterSet globalFilterSet = new FilterSet(); @@ -40,28 +31,6 @@ * Records the latest task on a thread */ private Hashtable threadTasks = new Hashtable(); - private File baseDir; - - /** - * get the base directory of the project as a file object - * - * @return the base directory. If this is null, then the base dir is not - * valid - */ - public File getBaseDir() - { - return baseDir; - } - - /** - * get the current task definition hashtable - * - * @return The DataTypeDefinitions value - */ - public Hashtable getDataTypeDefinitions() - { - return null; - } public FilterSet getGlobalFilterSet() { @@ -88,58 +57,6 @@ return propertiesCopy; } - /** - * query a property. - * - * @param name the name of the property - * @return the property value, or null for no match - */ - public String getProperty( String name ) - { - if( name == null ) - { - return null; - } - String property = (String)properties.get( name ); - return property; - } - - /** - * @param key Description of Parameter - * @return The object with the "id" key. - */ - public Object getReference( String key ) - { - return null; - } - - /** - * get the current task definition hashtable - * - * @return The TaskDefinitions value - */ - public Hashtable getTaskDefinitions() - { - return null; - } - - public void addProjectListener( final ProjectListener listener ) - { - } - - /** - * create a new task instance - * - * @param taskType name of the task - * @return null if the task name is unknown - * @throws TaskException when task creation goes bad - */ - public Task createTask( String taskType ) - throws TaskException - { - throw new TaskException( "Task needs reimplementing" ); - } - public void demuxOutput( String line, boolean isError ) { Task task = (Task)threadTasks.get( Thread.currentThread() ); @@ -158,30 +75,5 @@ task.handleOutput( line ); } } - } - - /** - * Output a message to the log with the given log level and an event scope - * of project - * - * @param msg text to log - * @param msgLevel level to log at - */ - public void log( String msg, int msgLevel ) - { - } - - /** - * Replace ${} style constructions in the given value with the string value - * of the corresponding data types. - * - * @param value the string to be scanned for property references. - * @return Description of the Returned Value - * @exception TaskException Description of Exception - */ - public String replaceProperties( String value ) - throws TaskException - { - return null; } } -- To unsubscribe, e-mail: For additional commands, e-mail: