Skip to content

Commit 72dab86

Browse files
committed
Move launch4j directives into the package-win.
This way when not trying to build for windows you don't need launch4j installed and configured on your system.
1 parent 9accc47 commit 72dab86

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@
1212
<property name="resourcesFolder" value="release/release-resources"/>
1313
<property name="buildFolder" value="build"/>
1414

15-
<property name="launch4j.dir" location="C:\Program Files (x86)\Launch4j" />
16-
<taskdef name="launch4j" classname="net.sf.launch4j.ant.Launch4jTask" classpath="${launch4j.dir}/launch4j.jar :${launch4j.dir}/lib/xstream.jar" />
17-
1815
<target name="clean">
1916
<delete dir="build"/>
2017
</target>
@@ -49,6 +46,9 @@
4946
</target>
5047

5148
<target name="package-win" depends="package">
49+
<property name="launch4j.dir" location="C:\Program Files (x86)\Launch4j" />
50+
<taskdef name="launch4j" classname="net.sf.launch4j.ant.Launch4jTask" classpath="${launch4j.dir}/launch4j.jar :${launch4j.dir}/lib/xstream.jar" />
51+
5252
<mkdir dir="build/gguploader-win/libs" />
5353
<copy todir="build/gguploader-win/libs">
5454
<fileset dir="build/gguploader/libs" />

0 commit comments

Comments
 (0)