java 9 compliance

- launch4j
This commit is contained in:
Jindra Petřík
2020-04-25 19:44:17 +02:00
parent 0ea692ad70
commit 6b432f6ab6
3 changed files with 8 additions and 8 deletions
+6 -6
View File
@@ -428,14 +428,14 @@
</echoxml>
</target>
<target name="-exe-linux" unless="is_windows" depends="-load-tools,-exe-config">
<exec dir="${launch4j.path}" executable="${launch4j.path}/launch4j" failonerror="true">
<arg file="${exe.config}" />
</exec>
<java jar="${launch4j.path}/launch4j.jar" fork="true">
<arg line="${exe.config}" />
</java>
</target>
<target name="-exe-windows" if="is_windows" depends="-load-tools,-exe-config">
<exec dir="${launch4j.path}" executable="${launch4j.path}\launch4jc.exe" failonerror="true">
<arg file="${exe.config}" />
</exec>
<java jar="${launch4j.path}/launch4j.jar" fork="true">
<arg line="${exe.config}" />
</java>
</target>
<target name="exe" depends="-set-gui-type,-exe-linux,-exe-windows">
+2 -2
View File
@@ -39,8 +39,8 @@ cp ./travis/tools/nsis-3.0-addon.zip ./
unzip -u nsis-3.0-addon.zip -d $tools_dir/nsis-3.0-src
#Extract launch4j - tool for creating EXE file from Java
cp ./travis/tools/launch4j-3.9-linux.tgz ./
tar zxvf launch4j-3.9-linux.tgz -C $tools_dir >/dev/null
cp ./travis/tools/launch4j-3.12-linux.tgz ./
tar zxvf launch4j-3.12-linux.tgz -C $tools_dir >/dev/null
#Create tools.properties with paths to NSIS and launch4j
echo "nsis.path = $tools_dir/nsis-3.0-src/bin" > tools.properties