mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-06 21:00:22 +00:00
updates to jlink
This commit is contained in:
parent
0264fc1f34
commit
91cc676a89
@ -87,7 +87,19 @@
|
||||
|
||||
|
||||
<target name="copyJRE" description="Copy a given JRE to the installation folder">
|
||||
<exec executable="jlink" dir="${inst-path}">
|
||||
<property environment="env"/>
|
||||
<if>
|
||||
<isset property="env.JDK_HOME" />
|
||||
<then>
|
||||
<echo message="JDK found at: ${env.JDK_HOME}."/>
|
||||
</then>
|
||||
<else>
|
||||
<fail message="Environment variable, JDK_HOME, not set. Cannot build installer."/>
|
||||
</else>
|
||||
</if>
|
||||
|
||||
|
||||
<exec executable="${env.JDK_HOME}/bin/jlink" dir="${inst-path}">
|
||||
<arg value="--add-modules"/>
|
||||
<arg value="ALL-MODULE-PATH"/>
|
||||
<arg value="--output"/>
|
||||
|
Loading…
x
Reference in New Issue
Block a user