forked from I2P_Developers/i2p.i2p
Use ScalaTest jars in routerconsole tests
This commit is contained in:
@@ -344,7 +344,11 @@
|
|||||||
</target>
|
</target>
|
||||||
|
|
||||||
<!-- unit tests -->
|
<!-- unit tests -->
|
||||||
<target name="scalatest.compileTest" depends="compile, scala.init">
|
<target name="builddepscalatest">
|
||||||
|
<ant dir="../../../router/java/" target="jar" />
|
||||||
|
<ant dir="../../../router/java/" target="jarScalaTest" />
|
||||||
|
</target>
|
||||||
|
<target name="scalatest.compileTest" depends="builddepscalatest, compile, scala.init">
|
||||||
<mkdir dir="./build" />
|
<mkdir dir="./build" />
|
||||||
<mkdir dir="./build/obj_scala" />
|
<mkdir dir="./build/obj_scala" />
|
||||||
<scalac srcdir="./test/scalatest" destdir="./build/obj_scala" deprecation="on" >
|
<scalac srcdir="./test/scalatest" destdir="./build/obj_scala" deprecation="on" >
|
||||||
@@ -352,8 +356,8 @@
|
|||||||
<pathelement location="${classpath}" />
|
<pathelement location="${classpath}" />
|
||||||
<pathelement location="${scala-library.jar}" />
|
<pathelement location="${scala-library.jar}" />
|
||||||
<pathelement location="${scalatest.jar}" />
|
<pathelement location="${scalatest.jar}" />
|
||||||
<pathelement location="../../../core/java/build/i2p.jar" />
|
<pathelement location="../../../core/java/build/i2pscalatest.jar" />
|
||||||
<pathelement location="../../../router/java/build/router.jar" />
|
<pathelement location="../../../router/java/build/routerscalatest.jar" />
|
||||||
<pathelement location="./build/obj" />
|
<pathelement location="./build/obj" />
|
||||||
</classpath>
|
</classpath>
|
||||||
</scalac>
|
</scalac>
|
||||||
|
Reference in New Issue
Block a user