summaryrefslogtreecommitdiff
path: root/build.xml
diff options
context:
space:
mode:
authorThomas Koch <thomas@koch.ro>2022-07-10 12:15:36 +0000
committerThomas Koch <thomas@koch.ro>2022-07-10 12:33:32 +0000
commite611305787cae1567c6fa8f00a81732e826374fc (patch)
tree4db259351aa4dd0f832ec09e8f53bad2fb8756ed /build.xml
parenta2cd95d5feb22aa2aa910b2e935b8b9ac2a75509 (diff)
rm nsis ant task, call makesis command with exec
This allows to remove another jar file from the git repo and the whole libbuild folder. The ant task is just a wrapper to call the makensis command. So there should not be any drawback to remove it.
Diffstat (limited to 'build.xml')
-rw-r--r--build.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.xml b/build.xml
index 886b4bae9..5e5135a20 100644
--- a/build.xml
+++ b/build.xml
@@ -37,7 +37,6 @@
<property name="data" location="DATA"/>
<property name="lib" location="lib"/>
<property name="libt" location="libt"/>
- <property name="libbuild" location="libbuild"/>
<property name="build" location="build/classes/java/main"/> <!-- reuse Gradle build path -->
<property name="javadoc" location="javadoc"/>
<property name="htroot" location="htroot"/>
@@ -528,10 +527,11 @@
<!-- http://nsisant.sourceforge.net/ -->
<mkdir dir="${release_windows}" />
<copy file="build.nsi" tofile="${release_windows}/build.nsi" overwrite="true" filtering="true" />
- <taskdef name="nsis" classname="net.sf.nsisant.Task">
- <classpath location="${libbuild}/nsisant-1.2.jar"/>
- </taskdef>
- <nsis script="${release_windows}/build.nsi" nocd="yes" verbosity="2" />
+ <exec executable="makensis">
+ <arg value="-V2" />
+ <arg value="-NOCD" />
+ <arg value="${release_windows}/build.nsi" />
+ </exec>
<move file="${release_windows}/yacy_v${releaseVersion}_${releaseNr}.exe"
tofile="${release}/yacy_v${releaseVersion}_${releaseNr}.exe" />