ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/aspects AspectHandler.java
Date Thu, 14 Feb 2002 09:46:54 GMT
donaldp     02/02/14 01:46:54

  Modified:    proposal/myrmidon/src/java/org/apache/aut/vfs
                        FileSystemManager.java
               proposal/myrmidon/src/java/org/apache/myrmidon/framework
                        DataType.java
               proposal/myrmidon/src/java/org/apache/myrmidon/converter
                        Converter.java
               proposal/myrmidon/src/java/org/apache/myrmidon/aspects
                        AspectHandler.java
  Log:
  Convert role strings so that they are auotgenerated from class object
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/aut/vfs/FileSystemManager.java
  
  Index: FileSystemManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/aut/vfs/FileSystemManager.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FileSystemManager.java	2 Feb 2002 03:29:07 -0000	1.1
  +++ FileSystemManager.java	14 Feb 2002 09:46:54 -0000	1.2
  @@ -54,7 +54,7 @@
   public interface FileSystemManager
       extends Component
   {
  -    String ROLE = "org.apache.aut.vfs.FileSystemManager";
  +    String ROLE = FileSystemManager.class.getName();
   
       /**
        * Returns the base file used to resolve relative paths.
  
  
  
  1.7       +1 -1      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/DataType.java
  
  Index: DataType.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/framework/DataType.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- DataType.java	13 Jan 2002 14:50:56 -0000	1.6
  +++ DataType.java	14 Feb 2002 09:46:54 -0000	1.7
  @@ -16,5 +16,5 @@
    */
   public interface DataType
   {
  -    String ROLE = "org.apache.myrmidon.framework.DataType";
  +    String ROLE = DataType.class.getName();
   }
  
  
  
  1.7       +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/converter/Converter.java
  
  Index: Converter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/converter/Converter.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Converter.java	10 Feb 2002 02:28:03 -0000	1.6
  +++ Converter.java	14 Feb 2002 09:46:54 -0000	1.7
  @@ -13,12 +13,12 @@
    * Instances of this interface are used to convert between different types.
    *
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.6 $ $Date: 2002/02/10 02:28:03 $
  + * @version $Revision: 1.7 $ $Date: 2002/02/14 09:46:54 $
    * @ant:role shorthand="converter"
    */
   public interface Converter
   {
  -    String ROLE = "org.apache.myrmidon.converter.Converter";
  +    String ROLE = Converter.class.getName();
   
       /**
        * Convert original to destination type.
  
  
  
  1.11      +2 -2      jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/aspects/AspectHandler.java
  
  Index: AspectHandler.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/aspects/AspectHandler.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- AspectHandler.java	7 Feb 2002 13:02:31 -0000	1.10
  +++ AspectHandler.java	14 Feb 2002 09:46:54 -0000	1.11
  @@ -18,12 +18,12 @@
    *
    * @author <a href="mailto:conor@apache.org">Conor MacNeill</a>
    * @author <a href="mailto:peter@apache.org">Peter Donald</a>
  - * @version $Revision: 1.10 $ $Date: 2002/02/07 13:02:31 $
  + * @version $Revision: 1.11 $ $Date: 2002/02/14 09:46:54 $
    * @ant:role shorthand="aspect"
    */
   public interface AspectHandler
   {
  -    String ROLE = "org.apache.myrmidon.aspects.AspectHandler";
  +    String ROLE = AspectHandler.class.getName();
   
       Configuration preCreate( Configuration taskModel )
           throws TaskException;
  
  
  

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message