]> WPIA git - gigi.git/commitdiff
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 c174dcfeec6a15cf35b4dbcfa7d9d4649a2d6f48..630a0117d3594dad0980c3abfc0e77db0a89a989 100644 (file)
--- a/build.xml
+++ b/build.xml
         <path refid="JUnit 4.libraryclasspath"/>
         <pathelement location="${mysqlconnector}"/>
     </path>
         <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"/>
     <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"/>
         <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"/>
         </javac>
     </target>
     <target description="Build all projects which reference this project. Useful to propagate changes." name="build-refprojects"/>