Skip to content

Commit

Permalink
SPARK-2346 Remove unnecessary files when building Spark via install4j
Browse files Browse the repository at this point in the history
  • Loading branch information
Plyha committed Sep 7, 2024
1 parent 534f8f5 commit d58be8d
Showing 1 changed file with 54 additions and 16 deletions.
70 changes: 54 additions & 16 deletions distribution/src/installer/spark.install4j
Original file line number Diff line number Diff line change
Expand Up @@ -698,147 +698,185 @@ return console.askYesNo(message, true);
<windows name="Windows" id="2" installDir="${compiler:sys.fullName}" architecture="32">
<exclude>
<entry location="bin/startup.sh" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="resources/startup.sh" />
</exclude>
<jreBundle jreBundleSource="none" />
</windows>
<windows name="Windows (with JRE)" id="186" mediaFileName="spark_${compiler:sys.version}-with-jre" installDir="${compiler:sys.fullName}" architecture="32">
<exclude>
<entry location="lib/linux64" />
<entry location="bin/startup.sh" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="bin/startup.sh" />
<entry location="resources/startup.sh" />
</exclude>
<jreBundle jreBundleSource="preCreated" includedJre="windows-x86-1.8.0_202" />
</windows>
<windows name="Windows 64bit" id="190" mediaFileName="spark_${compiler:sys.version}-64bit" installDir="${compiler:sys.fullName}" architecture="64">
<exclude>
<entry location="bin/startup.sh" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="resources/startup.sh" />
</exclude>
<jreBundle jreBundleSource="none" />
</windows>
<windows name="Windows ARM" id="208" mediaFileName="spark_${compiler:sys.version}-arm" installDir="${compiler:sys.fullName}" architecture="arm64">
<exclude>
<entry location="bin/startup.sh" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="resources/startup.sh" />
</exclude>
<jreBundle jreBundleSource="none" />
</windows>
<windows name="Windows MSI" id="198" installDir="${compiler:sys.fullName}" msi="true" architecture="32">
<exclude>
<entry location="bin/startup.sh" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="resources/startup.sh" />
</exclude>
<jreBundle jreBundleSource="none" />
</windows>
<windows name="Windows MSI (with JRE)" id="206" mediaFileName="spark_${compiler:sys.version}-with-jre" installDir="${compiler:sys.fullName}" msi="true" architecture="32">
<exclude>
<entry location="lib/linux64" />
<entry location="bin/startup.sh" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="bin/startup.sh" />
<entry location="resources/startup.sh" />
</exclude>
<jreBundle jreBundleSource="preCreated" includedJre="windows-x86-1.8.0_202" />
</windows>
<windows name="Windows MSI 64bit" id="201" mediaFileName="spark_${compiler:sys.version}-64bit" installDir="${compiler:sys.fullName}" msi="true" architecture="64">
<exclude>
<entry location="bin/startup.sh" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="resources/startup.sh" />
</exclude>
<jreBundle jreBundleSource="none" />
</windows>
<unixInstaller name="Unix Installer" id="149">
<exclude>
<entry location="bin/startup.bat" />
<entry location="documentation" />
<entry location="lib/mac" />
<entry location="lib/windows" />
<entry location="lib/windows64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="plugins/flashing.jar" />
<entry location="bin/startup.bat" />
<entry location="plugins/growl.jar" />
<entry location="resources/jniwrap.dll" />
<entry location="resources/startup.bat" />
<entry location="resources/systeminfo.dll" />
</exclude>
<jreBundle jreBundleSource="none" />
</unixInstaller>
<unixArchive name="Unix Archive" id="13">
<exclude>
<entry location="bin/startup.bat" />
<entry location="documentation" />
<entry location="lib/mac" />
<entry location="lib/windows" />
<entry location="lib/windows64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="plugins/flashing.jar" />
<entry location="bin/startup.bat" />
<entry location="plugins/growl.jar" />
<entry location="resources/jniwrap.dll" />
<entry location="resources/startup.bat" />
<entry location="resources/systeminfo.dll" />
</exclude>
<jreBundle jreBundleSource="none" />
</unixArchive>
<linuxRPM name="Linux RPM" id="162">
<exclude>
<entry location="bin/startup.bat" />
<entry location="documentation" />
<entry location="lib/mac" />
<entry location="lib/windows" />
<entry location="lib/windows64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="plugins/flashing.jar" />
<entry location="bin/startup.bat" />
<entry location="plugins/growl.jar" />
<entry location="resources/jniwrap.dll" />
<entry location="resources/startup.bat" />
<entry location="resources/systeminfo.dll" />
</exclude>
<jreBundle jreBundleSource="none" />
</linuxRPM>
<linuxDeb name="Linux Deb Archive" id="166">
<exclude>
<entry location="bin/startup.bat" />
<entry location="documentation" />
<entry location="lib/mac" />
<entry location="lib/windows" />
<entry location="lib/windows64" />
<entry location="lib/mac" />
<entry location="plugins/apple.jar" />
<entry location="plugins/growl.jar" />
<entry location="plugins/flashing.jar" />
<entry location="bin/startup.bat" />
<entry location="plugins/growl.jar" />
<entry location="resources/jniwrap.dll" />
<entry location="resources/startup.bat" />
<entry location="resources/systeminfo.dll" />
</exclude>
<jreBundle jreBundleSource="none" />
</linuxDeb>
<macosArchive name="MacOS Single Bundle Archive" id="213" launcherId="4">
<exclude>
<entry location="bin/startup.bat" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/windows" />
<entry location="lib/windows64" />
<entry location="plugins/flashing.jar" />
<entry location="resources/jniwrap.dll" />
<entry location="resources/startup.bat" />
<entry location="resources/systeminfo.dll" />
</exclude>
<jreBundle jreBundleSource="none" />
</macosArchive>
<macosArchive name="MacOS Single Bundle Archive (with JRE)" id="217" mediaFileName="spark_${compiler:sys.version}-with-jre" launcherId="4">
<exclude>
<entry location="bin/startup.bat" />
<entry location="documentation" />
<entry location="lib/linux" />
<entry location="lib/linux64" />
<entry location="lib/windows" />
<entry location="lib/windows64" />
<entry location="plugins/flashing.jar" />
<entry location="resources/jniwrap.dll" />
<entry location="resources/startup.bat" />
<entry location="resources/systeminfo.dll" />
</exclude>
<jreBundle jreBundleSource="preCreated" includedJre="macosx-amd64-1.8.0_202" />
</macosArchive>
Expand Down

0 comments on commit d58be8d

Please sign in to comment.