Skip to content

Commit

Permalink
Removed ant-contrib and JRE bundling (#41)
Browse files Browse the repository at this point in the history
Removes the dependency on ant-contrib-0.6.jar by temporarily
removing the option of bundling the jre for MacOS. How to solve
this in the long run will be decided in the scope of ticket #38.
  • Loading branch information
RadekCap authored Dec 23, 2022
1 parent fd5d25a commit c6dc9c8
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
<description>Builds trgtd distributions.</description>
<import file="nbproject/build-impl.xml"/>

<!-- Ant Contrib for IF -->
<taskdef resource="net/sf/antcontrib/antcontrib.properties">
<classpath>
<pathelement location="ant-contrib-0.6.jar"/>
</classpath>
</taskdef>


<target name="-bundle-osx" depends="build,build-launchers" description="Builds an application bundle for MacOSX.">

<!-- create app directories -->
Expand Down Expand Up @@ -61,27 +53,6 @@
perm="755">
</chmod>

<!-- bundle JRE? -->
<if>
<equals arg1="${include.jre}" arg2="true" />
<then>
<echo message="Including JRE" />

<copy todir="${app.dir}/Contents/Resources/${app.name}/jre">
<fileset dir="${jre.dir}" />
</copy>
<chmod dir="${app.dir}/Contents/Resources/${app.name}/jre/bin" includes="*" perm="755">
</chmod>
<!-- remove JFX files from JRE -->
<delete verbose="true">
<fileset dir="${app.dir}/Contents/Resources/${app.name}/jre" includes="**/*jfx*.*"/>
</delete>
</then>
<else>
<echo message="Not including JRE" />
</else>
</if>

<!-- app Info.plist -->
<copy file="${harness.dir}/etc/Info.plist" tofile="${app.dir}/Contents/Info.plist">
<filterchain>
Expand Down

0 comments on commit c6dc9c8

Please sign in to comment.