- use "app" folder which is on java.library.path in native stub execution

experimental
Normen Hansen 10 years ago
parent 2d8d4f4131
commit 8b391877d0
  1. 2
      sdk/jme3-desktop-executables/desktop-deployment-data/linux-x64/package.cfg
  2. 2
      sdk/jme3-desktop-executables/desktop-deployment-data/linux-x86/package.cfg
  3. 2
      sdk/jme3-desktop-executables/desktop-deployment-data/macosx-x64/Info.plist
  4. 2
      sdk/jme3-desktop-executables/desktop-deployment-data/windows-x64/package.cfg
  5. 2
      sdk/jme3-desktop-executables/desktop-deployment-data/windows-x86/package.cfg
  6. BIN
      sdk/jme3-desktop-executables/src/com/jme3/gde/desktop/executables/desktop-deployment-data.zip
  7. 10
      sdk/jme3-desktop-executables/src/com/jme3/gde/desktop/executables/desktop-deployment-targets.xml

@ -2,5 +2,5 @@ app.mainjar=${jar.name}
app.version=1.0 app.version=1.0
app.preferences.id=${application.title} app.preferences.id=${application.title}
app.mainclass=${main.class} app.mainclass=${main.class}
app.classpath=jni app.classpath=
${launcher.jvmargs} ${launcher.jvmargs}

@ -2,5 +2,5 @@ app.mainjar=${jar.name}
app.version=1.0 app.version=1.0
app.preferences.id=${application.title} app.preferences.id=${application.title}
app.mainclass=${main.class} app.mainclass=${main.class}
app.classpath=jni app.classpath=
${launcher.jvmargs} ${launcher.jvmargs}

@ -36,7 +36,7 @@
<key>JVMMainClassName</key> <key>JVMMainClassName</key>
<string>${main.class}</string> <string>${main.class}</string>
<key>JVMAppClasspath</key> <key>JVMAppClasspath</key>
<string>jni</string> <string></string>
<key>JVMMainJarName</key> <key>JVMMainJarName</key>
<string>${jar.name}</string> <string>${jar.name}</string>
<key>JVMPreferencesID</key> <key>JVMPreferencesID</key>

@ -3,5 +3,5 @@ app.version=1.0
app.id=${application.title} app.id=${application.title}
app.preferences.id=${application.title} app.preferences.id=${application.title}
app.mainclass=${main.class} app.mainclass=${main.class}
app.classpath=jni app.classpath=
${launcher.jvmargs} ${launcher.jvmargs}

@ -3,5 +3,5 @@ app.version=1.0
app.id=${application.title} app.id=${application.title}
app.preferences.id=${application.title} app.preferences.id=${application.title}
app.mainclass=${main.class} app.mainclass=${main.class}
app.classpath=jni app.classpath=
${launcher.jvmargs} ${launcher.jvmargs}

@ -17,7 +17,7 @@
<zipfileset file="resources/desktop-deployment/windows-x86/icon.ico" fullpath="${application.title}/${application.title}.ico"/> <zipfileset file="resources/desktop-deployment/windows-x86/icon.ico" fullpath="${application.title}/${application.title}.ico"/>
<zipfileset file="${dist.jar}" prefix="${application.title}/app"/> <zipfileset file="${dist.jar}" prefix="${application.title}/app"/>
<zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}/app/lib"/> <zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}/app/lib"/>
<zipfileset dir="${build.dir}/natives/windows-x86" prefix="${application.title}/app/jni" erroronmissingdir="false"/> <zipfileset dir="${build.dir}/natives/windows-x86" prefix="${application.title}/app" erroronmissingdir="false"/>
</zip> </zip>
<delete file="resources/desktop-deployment/windows-x86/_package.cfg"/> <delete file="resources/desktop-deployment/windows-x86/_package.cfg"/>
<antcall target="-package-windows-x86-jre"/> <antcall target="-package-windows-x86-jre"/>
@ -52,7 +52,7 @@
<zipfileset file="resources/desktop-deployment/windows-x64/icon.ico" fullpath="${application.title}/${application.title}.ico"/> <zipfileset file="resources/desktop-deployment/windows-x64/icon.ico" fullpath="${application.title}/${application.title}.ico"/>
<zipfileset file="${dist.jar}" prefix="${application.title}/app"/> <zipfileset file="${dist.jar}" prefix="${application.title}/app"/>
<zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}/app/lib"/> <zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}/app/lib"/>
<zipfileset dir="${build.dir}/natives/windows-x64" prefix="${application.title}/app/jni" erroronmissingdir="false"/> <zipfileset dir="${build.dir}/natives/windows-x64" prefix="${application.title}/app" erroronmissingdir="false"/>
</zip> </zip>
<delete file="resources/desktop-deployment/windows-x64/_package.cfg"/> <delete file="resources/desktop-deployment/windows-x64/_package.cfg"/>
<antcall target="-package-windows-x64-jre"/> <antcall target="-package-windows-x64-jre"/>
@ -86,7 +86,7 @@
<zipfileset file="resources/desktop-deployment/linux-x86/_package.cfg" fullpath="${application.title}/app/package.cfg"/> <zipfileset file="resources/desktop-deployment/linux-x86/_package.cfg" fullpath="${application.title}/app/package.cfg"/>
<zipfileset file="${dist.jar}" prefix="${application.title}/app"/> <zipfileset file="${dist.jar}" prefix="${application.title}/app"/>
<zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}/app/lib"/> <zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}/app/lib"/>
<zipfileset dir="${build.dir}/natives/linux-x86" prefix="${application.title}/app/jni" erroronmissingdir="false"/> <zipfileset dir="${build.dir}/natives/linux-x86" prefix="${application.title}/app" erroronmissingdir="false"/>
</zip> </zip>
<delete file="resources/desktop-deployment/linux-x86/_package.cfg"/> <delete file="resources/desktop-deployment/linux-x86/_package.cfg"/>
<antcall target="-package-linux-x86-jre"/> <antcall target="-package-linux-x86-jre"/>
@ -121,7 +121,7 @@
<zipfileset file="resources/desktop-deployment/linux-x64/_package.cfg" fullpath="${application.title}/app/package.cfg"/> <zipfileset file="resources/desktop-deployment/linux-x64/_package.cfg" fullpath="${application.title}/app/package.cfg"/>
<zipfileset file="${dist.jar}" prefix="${application.title}/app"/> <zipfileset file="${dist.jar}" prefix="${application.title}/app"/>
<zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}/app/lib"/> <zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}/app/lib"/>
<zipfileset dir="${build.dir}/natives/linux-x64" prefix="${application.title}/app/jni" erroronmissingdir="false"/> <zipfileset dir="${build.dir}/natives/linux-x64" prefix="${application.title}/app" erroronmissingdir="false"/>
</zip> </zip>
<delete file="resources/desktop-deployment/linux-x64/_package.cfg"/> <delete file="resources/desktop-deployment/linux-x64/_package.cfg"/>
<antcall target="-package-linux-x64-jre"/> <antcall target="-package-linux-x64-jre"/>
@ -159,7 +159,7 @@
<zipfileset file="resources/desktop-deployment/macosx-x64/icon.icns" fullpath="${application.title}.app/Contents/Resources/GenericApp.icns"/> <zipfileset file="resources/desktop-deployment/macosx-x64/icon.icns" fullpath="${application.title}.app/Contents/Resources/GenericApp.icns"/>
<zipfileset file="${dist.jar}" prefix="${application.title}.app/Contents/Java"/> <zipfileset file="${dist.jar}" prefix="${application.title}.app/Contents/Java"/>
<zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}.app/Contents/Java/lib"/> <zipfileset dir="${dist.dir}/lib" excludes="${deployment.jarexcludes}" prefix="${application.title}.app/Contents/Java/lib"/>
<zipfileset dir="${build.dir}/natives/macosx-x64" prefix="${application.title}.app/Contents/Java/jni" erroronmissingdir="false"/> <zipfileset dir="${build.dir}/natives/macosx-x64" prefix="${application.title}.app/Contents/Java" erroronmissingdir="false"/>
</zip> </zip>
<delete file="resources/desktop-deployment/macosx-x64/_Info.plist"/> <delete file="resources/desktop-deployment/macosx-x64/_Info.plist"/>
<antcall target="-package-macosx-x64-jre"/> <antcall target="-package-macosx-x64-jre"/>

Loading…
Cancel
Save