-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.xml
66 lines (57 loc) · 2.05 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<project name="SketchPad" default="dist" basedir=".">
<description>
SketchPad jarbuilder file.
</description>
<!-- set global properties for this build -->
<property name="src" location="src"/>
<property name="build" location="build"/>
<property name="dist" location="dist"/>
<taskdef name="jarbundler"
classname="net.sourceforge.jarbundler.JarBundler" />
<target name="make-app">
<jarbundler dir="release"
name="SketchPad"
mainclass="sketchpad.core"
jar="target/sketchpad-0.0.1-SNAPSHOT-standalone.jar"
icon="img/app.icns">
<documenttype name="Clojure text file"
extensions="clj"
iconFile="img/file-icon.icns"
role="Editor"/>
<resourcefileset dir="resources">
<include name="default.clj" />
<include name="themes/*" />
<include name="english_dic.zip" />
</resourcefileset>
</jarbundler>
</target>
<!--
<property name="launch4j.dir" location="/opt/launch4j"/>
<taskdef name="launch4j"
classname="net.sf.launch4j.ant.Launch4jTask"
classpath="${launch4j.dir}/launch4j.jar
:${launch4j.dir}/lib/xstream.jar" />
<launch4j configFile="SketchPad.xml"/>
<launch4j>
<config headerType="gui" outfile="SketchPad.exe"
dontWrapJar="true" jarPath="target/sketchpad-0.0.1-SNAPSHOT-standalone.jar" >
<var>SETTINGS="%HomeDrive%%HomePath%\\settings.ini"</var>
<classPath mainClass="sketchpad.core">
<cp>./lib/looks.jar</cp>
<cp>%USER_LIBS%/*.jar</cp>
</classPath>
<jre minVersion="1.4.0">
<opt>-Dlaunch4j.exedir="%EXEDIR%"</opt>
<opt>-Dlaunch4j.exefile="%EXEFILE%"</opt>
</jre>
</config>
</launch4j> -->
</project>
<!--
Leiningen plugin format
:osx-app {:jar-bundler {:dir "release"
:name "SketchPad"
:mainclass "sketchpad.core"
:jar "target/sketchpad-0.0.1-SNAPSHOT-standalone.jar"
:icon "img/app.icns"
:resource-file-set {:include ["default.clj" "themes/*"]}}} -->