瀏覽代碼

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…
取消
儲存