diff options
Diffstat (limited to 'make/build-oculusvr.xml')
-rw-r--r-- | make/build-oculusvr.xml | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/make/build-oculusvr.xml b/make/build-oculusvr.xml index 22b442328..aa0308365 100644 --- a/make/build-oculusvr.xml +++ b/make/build-oculusvr.xml @@ -640,6 +640,18 @@ <filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/> </filterset> </copy> + <copy file="${manifestfile}-natives" + tofile="${build.oculusvr}/manifest-natives.mf" + overwrite="true"> + <filterset> + <filter token="VERSION" value="${jogamp.version}"/> + <filter token="BUILD_VERSION" value="${jogl.version}"/> + <filter token="SCM_BRANCH" value="${jogl.build.branch}"/> + <filter token="SCM_COMMIT" value="${jogl.build.commit}"/> + <filter token="BASEVERSION" value="${jogamp.version.base}"/> + <filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/> + </filterset> + </copy> </target> <target name="build-jars-javase" depends="setup-manifestfile"> @@ -648,11 +660,11 @@ includes="${java.part.oculusvr} ${java.part.opengl.oculusvr}" excludes="${java.part.oculusvr.exclude}"/> </jar> - <jar manifest="${build.oculusvr}/manifest.mf" destfile="${build.oculusvr}/oculusvr-natives-${os.and.arch}.jar" filesonly="true"> - <fileset dir="${obj.oculusvr}"> - <include name="*oculusvr.${native.library.suffix}" /> - </fileset> - </jar> + <native.tag.jar objdir="${obj.oculusvr}" + nativejarfile="${build.oculusvr}/oculusvr-natives-${os.and.arch}.jar" + manifestfile="${build.oculusvr}/manifest-natives.mf" + module="oculusvr" + includelibs="*oculusvr.${native.library.suffix}" /> </target> <!-- ================================================================== --> |