forked from I2P_Developers/i2p.i2p
Tests: Add resources to test jars
Fix duplicate classes in i2ptest.jar Change classpath in routertest.jar to point to i2ptest.jar
This commit is contained in:
@ -316,9 +316,13 @@
|
||||
</target>
|
||||
|
||||
<target name="jarTest" depends="junit.compileTest">
|
||||
<jar destfile="./build/routertest.jar" basedir="./build/obj" includes="**/*.class">
|
||||
<mkdir dir="build/obj/net/i2p/router/util/resources" />
|
||||
<copy todir="build/obj/net/i2p/router/util/resources" >
|
||||
<fileset dir="../resources" />
|
||||
</copy>
|
||||
<jar destfile="./build/routertest.jar" basedir="./build/obj">
|
||||
<manifest>
|
||||
<attribute name="${manifest.classpath.name}" value="i2p.jar" />
|
||||
<attribute name="${manifest.classpath.name}" value="i2ptest.jar" />
|
||||
<attribute name="Specification-Title" value="I2P Router" />
|
||||
<attribute name="Specification-Version" value="${api.version}" />
|
||||
<attribute name="Specification-Vendor" value="The I2P Project https://geti2p.net/" />
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Git";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 3;
|
||||
public final static long BUILD = 4;
|
||||
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
|
Reference in New Issue
Block a user