forked from fesch/Structorizer.Desktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
buildapp.xml
74 lines (60 loc) · 2.56 KB
/
buildapp.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
67
68
69
70
71
72
<?xml version="1.0" encoding="UTF-8"?>
<!-- <project name="Structorizer" default="default" basedir="."> -->
<project name="Structorizer" basedir=".">
<description>Build Structorizer.app</description>
<target name="Structorizer">
<taskdef name="bundleapp"
classpath="lib/appbundler-1.0ea.jar"
classname="com.oracle.appbundler.AppBundlerTask"/>
<!-- Note the usage of classpathref to avoid copy-pasting all
your classpath entries from another target. -->
<bundleapp
outputdirectory="./Structorizer/"
name="Structorizer"
displayname="Structorizer"
identifier="lu.fisch.Structorizer"
shortversion="3.31-02"
version="3.31-02"
icon="icons/Structorizer.icns"
mainclassname="Structorizer"
copyright="Bob Fisch"
applicationCategory="public.app-category.education">
<classpath file="dist/Structorizer.jar" />
<classpath file="dist/lib/*" />
<!--<runtime dir="/Library/Java/JavaVirtualMachines/jdk1.7.0_15.jdk/Contents/Home"/>-->
<!-- Specify which architectures you want to support -->
<arch name="x86_64"/>
<arch name="i386"/>
<!-- Register the application as an editor for NSD files -->
<bundledocument extensions="nsd"
icon="Structorizer.icns"
name="Structorizer File"
role="editor">
</bundledocument>
<!-- Register the application as an editor for ARR/ARRZ files -->
<bundledocument extensions="arr,arrz"
icon="Structorizer.icns"
name="Arranger File"
role="editor">
</bundledocument>
<!-- Register the application with your custom format,
bundled as a package -->
<!-- <bundledocument extensions="custom"
icon="${bundle.icon}"
name="Custom data"
role="editor"
isPackage="true">
</bundledocument>-->
<!-- Workaround since the icon parameter for bundleapp doesn't work -->
<option value="-Xdock:icon=Contents/Resources/Structorizer.icns"/>
<!-- OSX specific options, optional -->
<option value="-Dapple.laf.useScreenMenuBar=true"/>
<option value="-Dcom.apple.macos.use-file-dialog-packages=true"/>
<option value="-Dcom.apple.macos.useScreenMenuBar=true"/>
<option value="-Dcom.apple.mrj.application.apple.menu.about.name=Structorizer"/>
<option value="-Dcom.apple.smallTabs=true"/>
<option value="-Xdock:name=Structorizer"/>
<option value="-Xmx1024M"/>
</bundleapp>
</target>
</project>