ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit JUnitTask.java
Date Fri, 23 May 2003 14:23:58 GMT
bodewig     2003/05/23 07:23:58

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/junit
                        JUnitTask.java
  Log:
  simplify patch a little further
  
  Revision  Changes    Path
  1.65      +3 -4      ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.64
  retrieving revision 1.65
  diff -u -r1.64 -r1.65
  --- JUnitTask.java	23 May 2003 14:15:42 -0000	1.64
  +++ JUnitTask.java	23 May 2003 14:23:58 -0000	1.65
  @@ -834,9 +834,8 @@
           try {
               log("Using System properties " + System.getProperties(),
                   Project.MSG_VERBOSE);
  -            Path userClasspath = commandline.getClasspath();
  -            if (userClasspath != null) {
  -                cl = createClassLoader();
  +            cl = createClassLoader();
  +            if (cl != null) {
                   cl.setThreadContextLoader();
               }
               runner = new JUnitTestRunner(test, test.getHaltonerror(),
  
  
  

Mime
View raw message