-
Notifications
You must be signed in to change notification settings - Fork 17
/
fx-package.xml
56 lines (46 loc) · 2.23 KB
/
fx-package.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
<project name="cirqwizard" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<target name="fx_jar">
<taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
uri="javafx:com.sun.javafx.tools.ant"
classpath="${java.home}/../lib/ant-javafx.jar:${applicationResources}"/>
<fx:application id="cirQWizard"
name="cirQWizard"
version = "${applicationVersion}"
mainClass="org.cirqwizard.fx.MainApplication" />
<echo message="res: ${applicationResources} "/>
<fx:jar destfile="${distDir}/${distName}">
<fx:application refid="cirQWizard"/>
<fx:resources>
<fx:fileset dir="${dependenciesDir}" includes="*"/>
</fx:resources>
<manifest>
<attribute name="Implementation-Vendor" value="cirQWizard"/>
<attribute name="Implementation-Title" value="cirQWizard"/>
<attribute name="Implementation-Version" value="${applicationVersion}"/>
</manifest>
<fileset dir="${applicationClasses}"/>
<fx:fileset dir="${applicationResources}"/>
</fx:jar>
</target>
<target name="fx_bundle">
<taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
uri="javafx:com.sun.javafx.tools.ant"
classpath="${java.home}/../lib/ant-javafx.jar:${applicationResources}"/>
<fx:application id="cirQWizard"
name="cirQWizard"
version = "${applicationVersion}"
mainClass="org.cirqwizard.fx.MainApplication" />
<fx:deploy width="800" height="600"
outdir="build/package" embedJNLP="true"
outfile="cirqwizard"
nativeBundles="all">
<fx:application refId="cirQWizard"/>
<fx:resources>
<fx:fileset dir="${distDir}" includes="${distName}"/>
<fx:fileset dir="${dependenciesDir}" includes="*"/>
</fx:resources>
<fx:info title="cirQWizard" vendor="cirQWizard"/>
<fx:permissions elevated="true"/>
</fx:deploy>
</target>
</project>