aboutsummaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-25 05:37:38 +0100
committerSven Gothel <[email protected]>2019-12-25 05:37:38 +0100
commit768677b5b56a9cfea3accf4b7638d217eceade44 (patch)
treeb73bf714134b43e95937010ebfabd6b57d3b2499 /make/build.xml
parent647eaa5fc88a9f4dfc0ec421f5ae79474d1117af (diff)
Bug 1417 - Android: Jar Manifest joalversion-android can no more have 'Name: <folder>' directives for apk
The 'Name <folder>' leads new apk to claim the missing resources (the folder actually) and fails to install the apk. Hence removed tagging the folders sealed. See gluegen commit eb6dfabd7427a1836f6b1d2080422f98808ea0a4
Diffstat (limited to 'make/build.xml')
-rwxr-xr-xmake/build.xml22
1 files changed, 20 insertions, 2 deletions
diff --git a/make/build.xml b/make/build.xml
index 75e32c2..adb7e0a 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -703,6 +703,19 @@
</filterset>
</copy>
+ <copy file="joalversion-android"
+ tofile="${build}/tempversion-android"
+ overwrite="true">
+ <filterset>
+ <filter token="VERSION" value="${jogamp.version}"/>
+ <filter token="BUILD_VERSION" value="${joal.version}"/>
+ <filter token="SCM_BRANCH" value="${joal.build.branch}"/>
+ <filter token="SCM_COMMIT" value="${joal.build.commit}"/>
+ <filter token="BASEVERSION" value="${jogamp.version.base}" />
+ <filter token="JAR_CODEBASE_TAG" value="${jogamp.jar.codebase}"/>
+ </filterset>
+ </copy>
+
<!-- Build the jar excluding any build specific classes. -->
<jar manifest="${build}/tempversion" destfile="${joal.jar}" filesonly="true">
<fileset dir="${classes}">
@@ -710,8 +723,13 @@
<include name="jogamp/openal/**" />
</fileset>
</jar>
- <copy file="${joal.jar}" tofile="${joal-android.jar}"/>
+ <jar manifest="${build}/tempversion-android" destfile="${joal-android.jar}" filesonly="true">
+ <fileset dir="${classes}">
+ <include name="com/jogamp/openal/**" />
+ <include name="jogamp/openal/**" />
+ </fileset>
+ </jar>
<antcall target="android.package" inheritRefs="true" />
</target>
@@ -725,7 +743,7 @@
android.abi="${android.abi}"
androidmanifest.path="resources/android/AndroidManifest-joal.xml"
androidresources.path="resources/android/res-joal"
- jarmanifest.path="${build}/tempversion"
+ jarmanifest.path="${build}/tempversion-android"
version.code="${jogamp.version.int}"
version.name="${jogamp.version}" />
</target>