cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pruss...@locus.apache.org
Subject cvs commit: xml-cocoon/src/org/apache/cocoon/components/classloader RepositoryClassLoader.java
Date Tue, 19 Dec 2000 13:01:01 GMT
prussell    00/12/19 05:01:00

  Modified:    src/org/apache/cocoon/components/classloader Tag:
                        xml-cocoon2 RepositoryClassLoader.java
  Log:
  Applied fix to URL handling from Stuart Roebuck <stuart.roebuck@adolos.co.uk>.
  Keep smiling Stuart :).
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.16  +2 -2      xml-cocoon/src/org/apache/cocoon/components/classloader/Attic/RepositoryClassLoader.java
  
  Index: RepositoryClassLoader.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/src/org/apache/cocoon/components/classloader/Attic/RepositoryClassLoader.java,v
  retrieving revision 1.1.2.15
  retrieving revision 1.1.2.16
  diff -u -r1.1.2.15 -r1.1.2.16
  --- RepositoryClassLoader.java	2000/12/18 15:00:59	1.1.2.15
  +++ RepositoryClassLoader.java	2000/12/19 13:00:59	1.1.2.16
  @@ -33,7 +33,7 @@
    *
    * @author <a href="mailto:ricardo@apache.org">Ricardo Rocha</a>
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.1.2.15 $ $Date: 2000/12/18 15:00:59 $
  + * @version CVS $Revision: 1.1.2.16 $ $Date: 2000/12/19 13:00:59 $
    */
   class RepositoryClassLoader extends URLClassLoader {
     /**
  @@ -75,7 +75,7 @@
      */
     public void addDirectory(File repository) throws IOException {
         try {
  -          this.addURL(repository.toURL());
  +          this.addURL(repository.getCanonicalFile().toURL());
         } catch (MalformedURLException mue) {
             log.error("The repository had a bad URL", mue);
             throw new IOException("Could not add repository");
  
  
  

Mime
View raw message