소스 검색

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…
취소
저장