Another classpath error
authorJanis Streib <janis@dogcraft.de>
Mon, 23 Jun 2014 21:20:29 +0000 (23:20 +0200)
committerJanis Streib <janis@dogcraft.de>
Mon, 23 Jun 2014 21:20:29 +0000 (23:20 +0200)
build.xml

index c174dcf..630a011 100644 (file)
--- a/build.xml
+++ b/build.xml
         <path refid="JUnit 4.libraryclasspath"/>
         <pathelement location="${mysqlconnector}"/>
     </path>
+    <path id="cacert-gigi.test.classpath">
+        <pathelement location="bintest"/>
+        <path refid="JUnit 4.libraryclasspath"/>
+        <pathelement location="${mysqlconnector}"/>
+    </path>
     <target name="init">
         <mkdir dir="bin"/>
         <mkdir dir="bintest"/>
@@ -70,7 +75,7 @@
         <echo message="${ant.project.name}: ${ant.file}"/>
         <javac debug="true" debuglevel="${debuglevel}" destdir="bintest" includeantruntime="false" source="${source}" target="${target}">
             <src path="tests"/>
-            <classpath refid="cacert-gigi.classpath"/>
+            <classpath refid="cacert-gigi.test.classpath"/>
         </javac>
     </target>
     <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>