Преглед на файлове

Fix the test classpath.

Tests should include everything on the main classpath, otherwise
you get DMDirc classes extending 3rd party classes, and everything
starts to break when the base classes go bye-bye.

Change-Id: I7579d833bd31ccf12a93da8c3ea8fff3c2a0eff7
Reviewed-on: http://gerrit.dmdirc.com/2771
Automatic-Compile: DMDirc Build Manager
Reviewed-by: Greg Holmes <greg@dmdirc.com>
tags/0.8rc1
Chris Smith преди 10 години
родител
ревизия
d5ddce61bc
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. 1
    2
      build-properties.xml

+ 1
- 2
build-properties.xml Целия файл

@@ -49,7 +49,6 @@
49 49
         </pathconvert>
50 50
 
51 51
         <path id="test-libs">
52
-            <fileset dir="lib/main" includes="*.jar"/>
53 52
             <fileset dir="lib/test" includes="*.jar"/>
54 53
             <pathelement location="${basedir}/build/classes"/>
55 54
             <pathelement location="${basedir}/modules/plugins/build/classes"/>
@@ -60,7 +59,7 @@
60 59
 
61 60
         <propertyfile file="nbproject/private/private.properties">
62 61
             <entry key="javac.classpath" value="${main-libs}" />
63
-            <entry key="javac.test.classpath" value="${test-libs}" />
62
+            <entry key="javac.test.classpath" value="${test-libs}${path.separator}$${javac.classpath}" />
64 63
         </propertyfile>
65 64
     </target>
66 65
 

Loading…
Отказ
Запис