- use selected java platform for obfuscation (thanks to @dertroglodyt)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10727 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
nor..67 12 years ago
parent 9f6c42f568
commit 2143e17d99
  1. 2
      sdk/jme3-obfuscate/src/com/jme3/gde/obfuscate/ObfuscateCompositeProvider.java
  2. 2
      sdk/jme3-obfuscate/src/com/jme3/gde/obfuscate/pro-guard-targets.xml

@ -64,7 +64,7 @@ public class ObfuscateCompositeProvider implements ProjectCustomizer.CompositeCa
private class SavePropsListener implements ActionListener {
private String extensionName = "obfuscate";
private String extensionVersion = "v0.10";
private String extensionVersion = "v0.11";
private String[] extensionDependencies = new String[]{"-post-jar", "-obfuscate"};
private ProjectExtensionManager manager = new ProjectExtensionManager(extensionName, extensionVersion, extensionDependencies);
private ProjectExtensionProperties properties;

@ -25,7 +25,7 @@
</target>
<target name="-create-library-property" depends="-create-mac-library-property">
<property name="proguard.library.path" value="${java.home}/lib/rt.jar"/>
<property name="proguard.library.path" value="${platform.home}/jre/lib/rt.jar"/>
</target>
<target name="-create-mac-library-property" depends="-test-mac" if="is.macos">

Loading…
Cancel
Save