Skip to content

Commit

Permalink
Package for MacOS (#4)
Browse files Browse the repository at this point in the history
* package for MacOS
  • Loading branch information
Abbe98 authored Feb 4, 2022
1 parent bfa752a commit 5c658b9
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,41 @@
</patternset>
<mapper type="flatten"/>
</unzip>

<unzip dest="${tmp}">
<fileset dir=".">
<include name="openjfx-*_osx-*_bin-sdk.zip"/>
</fileset>
<patternset>
<include name="**/javafx.base.jar"/>
<include name="**/javafx.graphics.jar"/>
<include name="**/javafx.controls.jar"/>
<include name="**/javafx.web.jar"/>
</patternset>
<mapper type="flatten"/>
</unzip>
<unzip dest="bin">
<fileset dir="${tmp}">
<include name="javafx.base.jar"/>
<include name="javafx.graphics.jar"/>
<include name="javafx.controls.jar"/>
</fileset>
<patternset>
<exclude name="META-INF/MANIFEST.MF"/>
<exclude name="module-info.class"/>
</patternset>
</unzip>
<unzip dest="bin">
<fileset dir=".">
<include name="openjfx-*_osx-*_bin-sdk.zip"/>
</fileset>
<patternset>
<include name="**/libprism*.dylib"/>
<include name="**/libjavafx*.dylib"/>
<include name="**/libglass.dylib"/>
</patternset>
<mapper type="flatten"/>
</unzip>
</target>

<target name="compile">
Expand Down

0 comments on commit 5c658b9

Please sign in to comment.