ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant build.xml
Date Mon, 04 Feb 2002 10:35:30 GMT
bodewig     02/02/04 02:35:30

  Modified:    .        build.xml
  Log:
  Testcase for SOS fails for me: the test calls the protected
  buildCmdLine method which will throw an IllegalAccessException if the
  testcase and the task class have been loaded by different classloaders.
  
  Revision  Changes    Path
  1.234     +5 -3      jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.233
  retrieving revision 1.234
  diff -u -r1.233 -r1.234
  --- build.xml	1 Feb 2002 07:34:33 -0000	1.233
  +++ build.xml	4 Feb 2002 10:35:30 -0000	1.234
  @@ -214,7 +214,7 @@
         </and>
       </condition>
   
  -    <condition property="run.sqlexec.test">
  +    <condition property="tests.and.ant.share.classloader">
         <or>
           <equals arg1="${junit.fork}" arg2="true" />
           <equals arg1="${build.sysclasspath}" arg2="only" />
  @@ -934,11 +934,13 @@
             <!-- interactive test -->
             <exclude name="org/apache/tools/ant/taskdefs/TestProcess.java" />
   
  -          <!--  This test only passes if SQLExecTest and SQLExec have
  +          <!--  These tests only passes if testcases and Ant classes have
             been loaded by the same classloader - will throw
             IllegalAccessExceptions otherwise.  -->
             <exclude name="org/apache/tools/ant/taskdefs/SQLExecTest.java"
  -                   unless="run.sqlexec.test" />
  +                   unless="tests.and.ant.share.classloader" />
  +          <exclude name="${optional.package}/sos/SOSTest.java"
  +                   unless="tests.and.ant.share.classloader" />
   
           </fileset>
         </batchtest>
  
  
  

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