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/main/org/apache/tools/ant/util/mappers Mapper.java
Date Sun, 20 Jan 2002 09:55:12 GMT
donaldp     02/01/20 01:55:12

  Modified:    proposal/myrmidon/src/main/org/apache/tools/ant/util/mappers
                        Mapper.java
  Log:
  Moved toURL from Path to PathUtils
  
  Revision  Changes    Path
  1.3       +2 -1      jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/util/mappers/Mapper.java
  
  Index: Mapper.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/main/org/apache/tools/ant/util/mappers/Mapper.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- Mapper.java	15 Jan 2002 09:51:10 -0000	1.2
  +++ Mapper.java	20 Jan 2002 09:55:12 -0000	1.3
  @@ -12,6 +12,7 @@
   import org.apache.myrmidon.api.TaskException;
   import org.apache.tools.ant.ProjectComponent;
   import org.apache.tools.ant.types.Path;
  +import org.apache.tools.ant.types.PathUtil;
   
   /**
    * Element to define a FileNameMapper.
  @@ -113,7 +114,7 @@
               }
               else
               {
  -                final URL[] urls = m_classpath.toURLs();
  +                final URL[] urls = PathUtil.toURLs( m_classpath );
                   final URLClassLoader classLoader = new URLClassLoader( urls );
                   c = classLoader.loadClass( m_classname );
               }
  
  
  

--
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