- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
Latest commit
76 lines (70 loc) · 2.88 KB
/
Copy pathbuild.xml
File metadata and controls
76 lines (70 loc) · 2.88 KB
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
67
68
69
70
71
72
73
74
75
76
<?xml version="1.0" encoding="UTF-8"?>
<projectname="javaLauncher"default="default"basedir=".">
<propertyenvironment="env"/>
<propertyname="jdk7.path"value="${env.JDK_17}"/>
<propertyname="out.path"value="${env.OUT_PATH}"/>
<propertyname="out.name"value="${env.OUT_NAME}"/>
<propertyname="out.id"value="${env.OUT_ID}"/>
<propertyname="out.mainclass"value="${env.OUT_MAINCLASS}"/>
<taskdefname="bundleapp"
classname="com.oracle.appbundler.AppBundlerTask"
classpath="third_party/appbundler/appbundler-1.0.jar" />
<pathid="class.path">
<filesetdir="third_party/jogamp/jar">
<includename="gluegen-rt.jar"/>
<includename="gluegen-rt-natives-macosx-universal.jar"/>
<includename="jogl-all.jar"/>
<includename="jogl-all-natives-macosx-universal.jar"/>
</fileset>
</path>
<targetname="compile">
<mkdirdir="${out.path}"/>
<javacencoding="UTF8"nowarn="on"deprecation="off"debug="on"includeantruntime="false"destdir="${out.path}"
executable="/usr/bin/javac"fork="true"memoryinitialsize="32m"memorymaximumsize="128m"includeJavaRuntime="yes">
<compilerargvalue="-XDignore.symbol.file"/>
<classpathlocation="${jdk7.path}/jre/lib/rt.jar" />
<classpathrefid="class.path"/>
<srcpath="java/tests/"/>
<srcpath="java/org/cef/"/>
</javac>
<copytodir="${out.path}">
<filesetdir="java"casesensitive="no">
<excludename="**/*.java" />
</fileset>
</copy>
</target>
<targetname="jar"depends="compile">
<mkdirdir="${out.path}"/>
<jardestfile="${out.path}/jcef.jar"index="true"update="false">
<filesetdir="${out.path}">
<includename="org/cef/**"/>
</fileset>
</jar>
<jardestfile="${out.path}/jcef-tests.jar"index="true"update="false">
<filesetdir="${out.path}">
<includename="tests/**"/>
</fileset>
</jar>
</target>
<targetname="bundle"depends="jar">
<mkdirdir="${out.path}"/>
<bundleappoutputdirectory="${out.path}"
name="${out.name}"
displayname="${out.name}"
identifier="${out.id}"
mainclassname="${out.mainclass}"
icon="third_party/cef/res/CefIcon.icns">
<classpathdir="${out.path}">
<includename="jcef.jar"/>
<includename="jcef-tests.jar"/>
</classpath>
<classpathdir="third_party/jogamp/jar/">
<includename="gluegen-rt.jar"/>
<includename="gluegen-rt-natives-macosx-universal.jar" />
<includename="jogl-all.jar" />
<includename="jogl-all-natives-macosx-universal.jar" />
</classpath>
<optionvalue="-Djava.library.path=$APP_ROOT/Contents/Java/:$APP_ROOT/Contents/Frameworks/Chromium Embedded Framework.framework/Libraries" />
</bundleapp>
</target>
</project>