option to version binary files
This commit is contained in:
parent
ef68c0d9cc
commit
b4a3efc065
|
@ -22,6 +22,18 @@
|
||||||
<property name="cpptasks.jar"
|
<property name="cpptasks.jar"
|
||||||
location="hyperic_jni/lib/cpptasks.jar"/>
|
location="hyperic_jni/lib/cpptasks.jar"/>
|
||||||
|
|
||||||
|
<condition property="file.version" value="-${sigar.version}">
|
||||||
|
<isset property="file.versioned"/>
|
||||||
|
</condition>
|
||||||
|
<condition property="file.version" value="">
|
||||||
|
<not>
|
||||||
|
<isset property="versioned"/>
|
||||||
|
</not>
|
||||||
|
</condition>
|
||||||
|
|
||||||
|
<property name="jni.libversion" value="${file.version}"/>
|
||||||
|
<property name="sigar.jar" value="sigar${file.version}.jar"/>
|
||||||
|
|
||||||
&jni-build;
|
&jni-build;
|
||||||
|
|
||||||
<property name="src" location="src"/>
|
<property name="src" location="src"/>
|
||||||
|
@ -41,7 +53,7 @@
|
||||||
|
|
||||||
<path id="alljars">
|
<path id="alljars">
|
||||||
<path refid="libjars"/>
|
<path refid="libjars"/>
|
||||||
<fileset dir="${sigar-bin}/lib" includes="sigar.jar"/>
|
<fileset dir="${sigar-bin}/lib" includes="${sigar.jar}"/>
|
||||||
</path>
|
</path>
|
||||||
|
|
||||||
<target name="javadoc_check">
|
<target name="javadoc_check">
|
||||||
|
@ -281,7 +293,7 @@
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
<target name="pack">
|
<target name="pack">
|
||||||
<jar jarfile="${sigar-bin}/lib/sigar.jar"
|
<jar jarfile="${sigar-bin}/lib/${sigar.jar}"
|
||||||
basedir="${build}/classes">
|
basedir="${build}/classes">
|
||||||
|
|
||||||
<manifest>
|
<manifest>
|
||||||
|
|
Loading…
Reference in New Issue