forked from lbalazscs/Pixelitor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.xml
26 lines (21 loc) · 928 Bytes
/
build.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" ?>
<project name="pixelitor" default="02_build_setup">
<property name="version" value="4.3.1"/>
<property name="launch4j.dir" location="C:\Program Files (x86)\Launch4j"/>
<target name="00_clean" description="Clean up">
<delete file="pixelitor.exe"/>
<delete file="Pixelitor_${version}_Setup.exe"/>
</target>
<taskdef name="launch4j"
classname="net.sf.launch4j.ant.Launch4jTask"
classpath="${launch4j.dir}/launch4j.jar
:${launch4j.dir}/lib/xstream.jar"/>
<target name="01_build_exe" depends="00_clean" description="Create exe from maven jar">
<launch4j configFile="./launch4j_config.xml"/>
</target>
<target name="02_build_setup" depends="01_build_exe">
<exec executable="C:/Program Files (x86)/NSIS/makensis.exe">
<arg value="setup_generator.nsi"/>
</exec>
</target>
</project>