Skip to content

Commit

Permalink
Change which JREs are included in different ZIP distributions for Win…
Browse files Browse the repository at this point in the history
…dows

- zip-win: only 64 bit JRE (in "jre" folder)
- dir-word-addin: 64 bit JRE in "jre" folder and 32 bit JRE in "jre32"
  folder

The 64 bit JRE is the default. The "jre" folder is automatically found
by the launch script, the "jre32" folder isn't. The 32 bit JRE can
optionally be used in order to get access to 32 bit TTS voices.
  • Loading branch information
bertfrees committed Dec 8, 2022
1 parent 063a894 commit f12e1bd
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 8 deletions.
9 changes: 9 additions & 0 deletions src/main/assembly/components/jre-win32.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<component>
<fileSets>
<fileSet>
<directory>target/maven-jlink/classifiers/jre-win32</directory>
<outputDirectory>jre</outputDirectory>
</fileSet>
</fileSets>
</component>
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,12 @@
<component>
<fileSets>
<fileSet>
<directory>target/maven-jlink/classifiers/jre-win32</directory>
<outputDirectory>jre32</outputDirectory>
<directory>target/maven-jlink/classifiers/jre-win64</directory>
<outputDirectory>jre</outputDirectory>
</fileSet>
<fileSet>
<directory>target/maven-jlink/classifiers/jre-win64</directory>
<outputDirectory>jre64</outputDirectory>
<directory>target/maven-jlink/classifiers/jre-win32</directory>
<outputDirectory>jre32</outputDirectory>
</fileSet>
</fileSets>
</component>


9 changes: 9 additions & 0 deletions src/main/assembly/components/jre-win64.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<component>
<fileSets>
<fileSet>
<directory>target/maven-jlink/classifiers/jre-win64</directory>
<outputDirectory>jre</outputDirectory>
</fileSet>
</fileSets>
</component>
2 changes: 1 addition & 1 deletion src/main/assembly/dist-win.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
<componentDescriptor>src/main/assembly/components/jars-win.xml</componentDescriptor>
<componentDescriptor>src/main/assembly/components/cli-win.xml</componentDescriptor>
<componentDescriptor>src/main/assembly/components/updater-win.xml</componentDescriptor>
<componentDescriptor>src/main/assembly/components/jre-win.xml</componentDescriptor>
<componentDescriptor>src/main/assembly/components/jre-win64.xml</componentDescriptor>
</componentDescriptors>
</assembly>
2 changes: 1 addition & 1 deletion src/main/assembly/dist-word-addin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
<componentDescriptor>src/main/assembly/components/jars.xml</componentDescriptor>
<componentDescriptor>src/main/assembly/components/jars-win.xml</componentDescriptor>
<componentDescriptor>src/main/assembly/components/simple-api.xml</componentDescriptor>
<componentDescriptor>src/main/assembly/components/jre-win.xml</componentDescriptor>
<componentDescriptor>src/main/assembly/components/jre-win64+32.xml</componentDescriptor>
</componentDescriptors>
</assembly>

0 comments on commit f12e1bd

Please sign in to comment.