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/launcher Main.java
Date Sat, 12 Jan 2002 04:52:10 GMT
donaldp     02/01/11 20:52:10

  Modified:    proposal/myrmidon/src/java/org/apache/myrmidon/launcher
                        Main.java
  Log:
  Remove unused debug ClassLoader
  
  Revision  Changes    Path
  1.11      +0 -55     jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/launcher/Main.java
  
  Index: Main.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/java/org/apache/myrmidon/launcher/Main.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Main.java	23 Dec 2001 06:25:37 -0000	1.10
  +++ Main.java	12 Jan 2002 04:52:10 -0000	1.11
  @@ -137,58 +137,3 @@
           throw new Exception( "Unable to locate ant.jar in classpath" );
       }
   }
  -
  -class MyClassLoader extends URLClassLoader
  -{
  -    MyClassLoader( final URL[] urls, final ClassLoader classLoader )
  -    {
  -        super( urls, classLoader );
  -    }
  -
  -    public Class loadClass( final String name )
  -        throws ClassNotFoundException
  -    {
  -        System.out.println( "Loading: " + name );
  -        try
  -        {
  -            return super.loadClass( name );
  -        }
  -        catch( final ClassNotFoundException cnfe )
  -        {
  -            System.out.println( "Failed to Load: " + name );
  -            throw cnfe;
  -        }
  -    }
  -
  -    protected Class findClass( final String name )
  -        throws ClassNotFoundException
  -    {
  -        System.out.println( "findClass: " + name );
  -        try
  -        {
  -            return super.findClass( name );
  -        }
  -        catch( final ClassNotFoundException cnfe )
  -        {
  -            System.out.println( "Failed to Load: " + name );
  -            throw cnfe;
  -        }
  -    }
  -
  -    public Class loadClass( final String name, final boolean resolve )
  -        throws ClassNotFoundException
  -    {
  -        System.out.println( "Loading: " + name );
  -        try
  -        {
  -            return super.loadClass( name, resolve );
  -        }
  -        catch( final ClassNotFoundException cnfe )
  -        {
  -            System.out.println( "Failed to Load: " + name );
  -            throw cnfe;
  -        }
  -    }
  -}
  -
  -
  
  
  

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