Skip to content

Commit

Permalink
Merge pull request k-pet-group#2377 from neilccbrown/fix-mac-aarch
Browse files Browse the repository at this point in the history
Fix Mac Aarch Java executable path
  • Loading branch information
neilccbrown authored Jul 24, 2024
2 parents e7f3079 + 958bb2d commit 421b74b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions bluej/package/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -258,12 +258,12 @@
</move>
<!-- We also have to copy the java executable in ourselves, as by default
appbundler doesn't do so -->
<mkdir dir="BlueJ.app/Contents/PlugIns/x64/Contents/Home/bin"/>
<copy todir="BlueJ.app/Contents/PlugIns/x64/Contents/Home/bin">
<mkdir dir="BlueJ.app/Contents/PlugIns/${mac_bundler_arch_dir}/Contents/Home/bin"/>
<copy todir="BlueJ.app/Contents/PlugIns/${mac_bundler_arch_dir}/Contents/Home/bin">
<file basedir="${mac_bundled_jdk_path}/bin" name="java/"/>
</copy>
<chmod perm="a+x">
<fileset dir="BlueJ.app/Contents/PlugIns/x64/Contents/Home/bin" includes="java" />
<fileset dir="BlueJ.app/Contents/PlugIns/${mac_bundler_arch_dir}/Contents/Home/bin" includes="java" />
</chmod>

<!-- codesign needs Internet connection to verify current time -->
Expand Down
6 changes: 3 additions & 3 deletions bluej/package/greenfoot-build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -296,12 +296,12 @@
</move>
<!-- We also have to copy the java executable in ourselves, as by default
appbundler doesn't do so -->
<mkdir dir="Greenfoot.app/Contents/PlugIns/x64/Contents/Home/bin"/>
<copy todir="Greenfoot.app/Contents/PlugIns/x64/Contents/Home/bin">
<mkdir dir="Greenfoot.app/Contents/PlugIns/${mac_bundler_arch_dir}/Contents/Home/bin"/>
<copy todir="Greenfoot.app/Contents/PlugIns/${mac_bundler_arch_dir}/Contents/Home/bin">
<file basedir="${mac_bundled_jdk_path}/bin" name="java/"/>
</copy>
<chmod perm="a+x">
<fileset dir="Greenfoot.app/Contents/PlugIns/x64/Contents/Home/bin" includes="java" />
<fileset dir="Greenfoot.app/Contents/PlugIns/${mac_bundler_arch_dir}/Contents/Home/bin" includes="java" />
</chmod>

<!-- codesign needs Internet connection to verify current time -->
Expand Down
2 changes: 1 addition & 1 deletion version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bluej_major=5
bluej_minor=4
bluej_release=0
bluej_suffix=
bluej_rcnumber=2
bluej_rcnumber=3

greenfoot_major=3
greenfoot_minor=8
Expand Down

0 comments on commit 421b74b

Please sign in to comment.