add build of tests and examples seperate from build of jar
parent
e86a4eed1e
commit
62108fe43e
7
README
7
README
|
@ -12,6 +12,12 @@ If your Java install location is different, this could lead to an error
|
||||||
when running java.sh. In this case, you should modify java.sh to match
|
when running java.sh. In this case, you should modify java.sh to match
|
||||||
your environment.
|
your environment.
|
||||||
|
|
||||||
|
Build options are :
|
||||||
|
- ant build (only builds the jar necessary for an app to use)
|
||||||
|
- ant test (builds the jar and tests then runs the tests, requires JUNIT setup)
|
||||||
|
- ant examples (builds the jar and example cases)
|
||||||
|
- ant clean (cleans all)
|
||||||
|
|
||||||
|
|
||||||
wolfSSL JNI Release X.X.X (TBD)
|
wolfSSL JNI Release X.X.X (TBD)
|
||||||
|
|
||||||
|
@ -26,6 +32,7 @@ Release X.X.X has bug fixes and new features including:
|
||||||
- Add JNI wrapper for wolfSSL_get_ciphers_iana()
|
- Add JNI wrapper for wolfSSL_get_ciphers_iana()
|
||||||
- Update build.xml to use nativeheaderdir instead of javah target
|
- Update build.xml to use nativeheaderdir instead of javah target
|
||||||
- Update tests to use junit-4.13-beta-2 / hamcrest-all-1.3
|
- Update tests to use junit-4.13-beta-2 / hamcrest-all-1.3
|
||||||
|
- Update to build, now ant build does not build and run tests / examples
|
||||||
|
|
||||||
The wolfSSL JNI Manual is available at:
|
The wolfSSL JNI Manual is available at:
|
||||||
http://www.wolfssl.com/documentation/wolfSSL-JNI-Manual.pdf. For build
|
http://www.wolfssl.com/documentation/wolfSSL-JNI-Manual.pdf. For build
|
||||||
|
|
|
@ -71,7 +71,7 @@
|
||||||
</delete>
|
</delete>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build" depends="init, compile, jar, jar-jsse, javadoc, examples, test"/>
|
<target name="build" depends="init, compile, jar, jar-jsse, javadoc"/>
|
||||||
<target name="build-jacoco" depends="init, compile, jar, jar-jsse, javadoc, examples, test-jacoco, coverage-report"/>
|
<target name="build-jacoco" depends="init, compile, jar, jar-jsse, javadoc, examples, test-jacoco, coverage-report"/>
|
||||||
|
|
||||||
<target name="compile">
|
<target name="compile">
|
||||||
|
@ -118,7 +118,7 @@
|
||||||
<javadoc sourcepath="${src.dir}" destdir="${doc.dir}"/>
|
<javadoc sourcepath="${src.dir}" destdir="${doc.dir}"/>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="examples">
|
<target name="examples" depends="build">
|
||||||
<javac srcdir="${examples.dir}"
|
<javac srcdir="${examples.dir}"
|
||||||
destdir="${examples.build.dir}"
|
destdir="${examples.build.dir}"
|
||||||
debug="${java.debug}"
|
debug="${java.debug}"
|
||||||
|
@ -133,7 +133,7 @@
|
||||||
</javac>
|
</javac>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="build-test">
|
<target name="build-test" depends="build">
|
||||||
<javac srcdir="${test.dir}"
|
<javac srcdir="${test.dir}"
|
||||||
destdir="${test.build.dir}"
|
destdir="${test.build.dir}"
|
||||||
debug="${java.debug}"
|
debug="${java.debug}"
|
||||||
|
|
Loading…
Reference in New Issue