avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosu...@apache.org
Subject cvs commit: avalon-sandbox/attributes/api/src/cl2 TestClass.java TestAttribute.java
Date Thu, 14 Aug 2003 22:10:14 GMT
leosutic    2003/08/14 15:10:14

  Modified:    attributes/api/src/java/org/apache/avalon/attributes
                        URLClassLoaderScanner.java Attributes.java
  Removed:     attributes/api/src/test/org/apache/avalon/attributes/test
                        ThreadSafe.java SuperSample.java SampleService.java
                        SampleIFJoin.java SampleIF2.java SampleIF1.java
                        Sample2.java Sample.java Dependency.java
                        ClassLoaderUtilTestCase.java
                        AttributesTestCase.java
               attributes/api/src/cl1 TestClass.java TestAttribute.java
               attributes/api/src/cl2 TestClass.java TestAttribute.java
  Log:
  Moved the unit tests into a separate project to get away from some really
  ugly dependencies. (API being dependent test-wise on Compiler, and
  Compiler being dependent on API biuld-wise)
  
  Revision  Changes    Path
  1.3       +1 -0      avalon-sandbox/attributes/api/src/java/org/apache/avalon/attributes/URLClassLoaderScanner.java
  
  Index: URLClassLoaderScanner.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/attributes/api/src/java/org/apache/avalon/attributes/URLClassLoaderScanner.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- URLClassLoaderScanner.java	12 Aug 2003 21:59:05 -0000	1.2
  +++ URLClassLoaderScanner.java	14 Aug 2003 22:10:14 -0000	1.3
  @@ -32,6 +32,7 @@
                               Class clazz = cl.loadClass (className);
                               result.add (clazz);
                           } catch (Exception e) {
  +                            System.out.println (e.toString ());
                           }
                       }
                   }
  
  
  
  1.7       +4 -0      avalon-sandbox/attributes/api/src/java/org/apache/avalon/attributes/Attributes.java
  
  Index: Attributes.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/attributes/api/src/java/org/apache/avalon/attributes/Attributes.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- Attributes.java	12 Aug 2003 00:09:18 -0000	1.6
  +++ Attributes.java	14 Aug 2003 22:10:14 -0000	1.7
  @@ -252,4 +252,8 @@
           return hasAttribute (getAttributes (method), attribute);
       }
       
  +    
  +    public static AttributeIndex getAttributeIndex (ClassLoader cl) throws Exception {
  +        return new AttributeIndex (cl);
  +    }
   }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message