• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Main repository of MikuMikuStudio


Commit MetaInfo

Revisionbbc16df73bafa7906fb08cdc066de6948ebe5837 (tree)
Time2013-05-18 08:27:25
Authoriwgeric@gmail.com <iwgeric@gmai...>
Commiteriwgeric@gmail.com

Log Message

SDK: Automatically unzip OpenAL Soft libraries in mobile/libs if included in the classpath

git-svn-id: http://jmonkeyengine.googlecode.com/svn/trunk@10624 75d07b2b-3a1a-0410-a2c5-0572b91ccdca

Change Summary

Incremental Difference

--- a/sdk/jme3-android/src/com/jme3/gde/android/mobile-targets.xml
+++ b/sdk/jme3-android/src/com/jme3/gde/android/mobile-targets.xml
@@ -32,6 +32,7 @@
3232 <antcall target="-unzip-bullet-libs"/>
3333 <antcall target="-unzip-assets"/>
3434 <copy file="${dist.jar}" todir="mobile/libs/" verbose="false" preservelastmodified="true"/>
35+ <antcall target="-unzip-openal-soft-libs"/>
3536 </target>
3637
3738 <target description="create mobile/libs directory and copy project libraries" name="-copy-project-libs">
@@ -90,6 +91,22 @@
9091 <delete file="mobile/libs/${assets.jar.name}" failonerror="true"/>
9192 </target>
9293
94+ <target name="-unzip-openal-soft-libs" depends="-test-openalsoft-included" if="openalsoftIsIncluded">
95+ <echo>Adding OpenAL Soft</echo>
96+ <!-- use copy with zipfileset to enable preserving the last modified date to avoid pre-dexing -->
97+ <copy todir="mobile/libs" preservelastmodified="true">
98+ <zipfileset src="mobile/libs/jME3-openal-soft-natives-android.jar">
99+ </zipfileset>
100+ </copy>
101+ <delete file="mobile/libs/jME3-openal-soft-natives-android.jar"/>
102+ </target>
103+
104+ <target name="-test-openalsoft-included">
105+ <condition property="openalsoftIsIncluded">
106+ <contains string="${javac.classpath}" substring="jME3-openal-soft-natives-android.jar"/>
107+ </condition>
108+ </target>
109+
93110 <target name="-test-bullet-included">
94111 <condition property="bulletIsIncluded">
95112 <contains string="${javac.classpath}" substring="bullet.jar"/>