Browse Source

*** empty log message ***

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270214 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Donald 24 years ago
parent
commit
46e4b41dc0
4 changed files with 18 additions and 14 deletions
  1. +7
    -6
      proposal/myrmidon/src/main/org/apache/tools/ant/AntClassLoader.java
  2. +2
    -1
      proposal/myrmidon/src/main/org/apache/tools/ant/BuildEvent.java
  3. +7
    -6
      proposal/myrmidon/src/todo/org/apache/tools/ant/AntClassLoader.java
  4. +2
    -1
      proposal/myrmidon/src/todo/org/apache/tools/ant/BuildEvent.java

+ 7
- 6
proposal/myrmidon/src/main/org/apache/tools/ant/AntClassLoader.java View File

@@ -35,18 +35,19 @@ import org.apache.tools.ant.util.FileUtils;
* @author <a href="mailto:conor@cortexebusiness.com.au">Conor MacNeill</a> * @author <a href="mailto:conor@cortexebusiness.com.au">Conor MacNeill</a>
* @author <a href="mailto:Jesse.Glick@netbeans.com">Jesse Glick</a> * @author <a href="mailto:Jesse.Glick@netbeans.com">Jesse Glick</a>
*/ */
public class AntClassLoader extends ClassLoader implements BuildListener
public class AntClassLoader
extends ClassLoader
implements BuildListener
{ {

/** /**
* The size of buffers to be used in this classloader. * The size of buffers to be used in this classloader.
*/ */
private final static int BUFFER_SIZE = 8192; private final static int BUFFER_SIZE = 8192;


private static Method getProtectionDomain = null;
private static Method defineClassProtectionDomain = null;
private static Method getContextClassLoader = null;
private static Method setContextClassLoader = null;
private static Method getProtectionDomain;
private static Method defineClassProtectionDomain;
private static Method getContextClassLoader;
private static Method setContextClassLoader;


/** /**
* The components of the classpath that the classloader searches for classes * The components of the classpath that the classloader searches for classes


+ 2
- 1
proposal/myrmidon/src/main/org/apache/tools/ant/BuildEvent.java View File

@@ -9,7 +9,8 @@ package org.apache.tools.ant;


import java.util.EventObject; import java.util.EventObject;


public class BuildEvent extends EventObject
public class BuildEvent
extends EventObject
{ {
private int priority = Project.MSG_VERBOSE; private int priority = Project.MSG_VERBOSE;
private Throwable exception; private Throwable exception;


+ 7
- 6
proposal/myrmidon/src/todo/org/apache/tools/ant/AntClassLoader.java View File

@@ -35,18 +35,19 @@ import org.apache.tools.ant.util.FileUtils;
* @author <a href="mailto:conor@cortexebusiness.com.au">Conor MacNeill</a> * @author <a href="mailto:conor@cortexebusiness.com.au">Conor MacNeill</a>
* @author <a href="mailto:Jesse.Glick@netbeans.com">Jesse Glick</a> * @author <a href="mailto:Jesse.Glick@netbeans.com">Jesse Glick</a>
*/ */
public class AntClassLoader extends ClassLoader implements BuildListener
public class AntClassLoader
extends ClassLoader
implements BuildListener
{ {

/** /**
* The size of buffers to be used in this classloader. * The size of buffers to be used in this classloader.
*/ */
private final static int BUFFER_SIZE = 8192; private final static int BUFFER_SIZE = 8192;


private static Method getProtectionDomain = null;
private static Method defineClassProtectionDomain = null;
private static Method getContextClassLoader = null;
private static Method setContextClassLoader = null;
private static Method getProtectionDomain;
private static Method defineClassProtectionDomain;
private static Method getContextClassLoader;
private static Method setContextClassLoader;


/** /**
* The components of the classpath that the classloader searches for classes * The components of the classpath that the classloader searches for classes


+ 2
- 1
proposal/myrmidon/src/todo/org/apache/tools/ant/BuildEvent.java View File

@@ -9,7 +9,8 @@ package org.apache.tools.ant;


import java.util.EventObject; import java.util.EventObject;


public class BuildEvent extends EventObject
public class BuildEvent
extends EventObject
{ {
private int priority = Project.MSG_VERBOSE; private int priority = Project.MSG_VERBOSE;
private Throwable exception; private Throwable exception;


Loading…
Cancel
Save