MAS validation is a bit buggy and requires even libraries and frameworks to have a unique CFBundleIdentifier Collision

This commit is contained in:
Reinhard Pointner 2017-02-20 19:29:52 +08:00
parent a926a71d19
commit 681e97ce81
1 changed files with 4 additions and 0 deletions

View File

@ -403,6 +403,10 @@
</tarfileset>
</copy>
<!-- MAS validation is a bit buggy and requires even libraries and frameworks to have a unique CFBundleIdentifier Collision -->
<replace file="${jre.path}/../Info.plist" token="com.oracle.java.${jre.major}u${jre.build}.jre" value="com.oracle.java.${jre.major}u${jre.build}.jre.${application.identifier}.r${revision}" summary="yes" failOnNoReplacements="yes" encoding="UTF-8" />
<bundleapp jvmrequired="${jvm.version}" minimumsystemversion="${mac.version}" outputdirectory="${dir.dist}" executablename="${application.executable}" name="${application.name}" displayname="${application.name}" version="${revision}" shortversion="${version}" identifier="${application.identifier}" mainclassname="${main.class}" icon="${application.icon}" copyright="${tstamp.year} ${package.company}" applicationcategory="${mac.application.category}" highresolutioncapable="true" supportsautomaticgraphicsswitching="true" debug="true">
<classpath file="${path.fatjar}" />
<librarypath dir="${dir.lib}/native/mac-x86_64" />