Merge pull request #3174 from ritzalam/embed-javacpp-into-webapp

- cache the jar files
This commit is contained in:
Richard Alam 2016-06-13 15:49:58 -04:00 committed by GitHub
commit a9d90e9a66

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="." href="">
<jnlp spec="1.0+" codebase="$$jnlpUrl/lib" href="">
<!--
Keep href empty. Otherwise this jnlp file will always be cached.
http://www.coderanch.com/t/284889/JSP/java/Caching-JNLP
@ -11,28 +11,28 @@
<resources>
<j2se version="1.7+" href="http://java.sun.com/products/autodl/j2se"/>
<jar href="$$jnlpUrl/lib/javacv-screenshare-0.0.1.jar" main="true" />
<jar href="$$jnlpUrl/lib/ffmpeg.jar" />
<jar href="javacv-screenshare-0.0.1.jar" main="true" />
<jar href="ffmpeg.jar" />
</resources>
<resources os="Windows" arch="amd64">
<nativelib href="$$jnlpUrl/lib/ffmpeg-windows-x86_64.jar" download="eager"/>
<nativelib href="ffmpeg-windows-x86_64.jar" download="eager"/>
</resources>
<resources os="Windows" arch="x86">
<nativelib href="$$jnlpUrl/lib/ffmpeg-windows-x86.jar" download="eager"/>
<nativelib href="ffmpeg-windows-x86.jar" download="eager"/>
</resources>
<resources os="Linux" arch="x86_64 amd64">
<nativelib href="$$jnlpUrl/lib/ffmpeg-linux-x86_64.jar" download="eager"/>
<nativelib href="ffmpeg-linux-x86_64.jar" download="eager"/>
</resources>
<resources os="Linux" arch="x86 i386 i486 i586 i686">
<nativelib href="$$jnlpUrl/lib/ffmpeg-linux-x86.jar" download="eager"/>
<nativelib href="ffmpeg-linux-x86.jar" download="eager"/>
</resources>
<resources os="Mac OS X">
<nativelib href="$$jnlpUrl/lib/ffmpeg-macosx-x86_64.jar" download="eager"/>
<nativelib href="ffmpeg-macosx-x86_64.jar" download="eager"/>
</resources>
<application-desc