Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/build.xml b/build.xml 2index 1ba08e0..9248b76 100644 3--- a/build.xml 4+++ b/build.xml 5@@ -56,10 +56,16 @@ 6 7 <target name="compilejni" unless="isWindows"> 8 <description>JNI compilation task (builds libarecafs.so ... for unix-like operating systems only)</description> 9+ 10 <!--Generate the JNI header--> 11- <javah destdir="${root}/jni" force="yes" classpath="${root}/lib/areca.jar"> 12- <class name="com.myJava.file.metadata.posix.jni.wrapper.FileAccessWrapper"/> 13- </javah> 14+ <exec executable="javah"> 15+ <arg value="-d"/> 16+ <arg value="${root}/jni"/> 17+ <arg value="-force"/> 18+ <arg value="-classpath"/> 19+ <arg value="${root}/lib/areca.jar"/> 20+ <arg value="com.myJava.file.metadata.posix.jni.wrapper.FileAccessWrapper"/> 21+ </exec> 22 23 <!-- Compile the JNI code --> 24 <exec dir="${root}/jni" executable="gcc">