-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.xml
More file actions
56 lines (47 loc) · 2.12 KB
/
build.xml
File metadata and controls
56 lines (47 loc) · 2.12 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
<?xml version="1.0" encoding="UTF-8"?>
<project name="asterics-application" default="APE-copy" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
<import file="imported.xml"/>
<!-- do platform specific preparations before deployment: here you can delete some platform specific files -->
<target name="before-deploy-windows" if="APE.isWindows">
<delete verbose="true">
<fileset dir="${build.merged.ARE}" includes="javacv-*-linux.jar, javacv-*-macosx.jar"/>
</delete>
</target>
<target name="before-deploy-linux" if="APE.isLinux">
<delete verbose="true">
<fileset dir="${build.merged.ARE}" includes="javacv-*-windows.jar, javacv-*-macosx.jar"/>
</delete>
</target>
<target name="before-deploy-macosx" if="APE.isMacOSX">
<delete verbose="true">
<fileset dir="${build.merged.ARE}" includes="javacv-*-windows.jar, javacv-*-linux.jar"/>
</delete>
</target>
<!-- if you want to compile and modify something on your own, before the installer is created -->
<target name='before-deploy'>
</target>
<target name="deploy" depends="init-fx-tasks, cleanup, setup-staging-area, APE-copy, before-deploy, before-deploy-windows, before-deploy-linux, before-deploy-macosx, make-installer-only">
</target>
<target name="setup-staging-area">
<delete dir="custom" failonerror="no" includeemptydirs="true"></delete>
<subant target="copy-custom-files-for-bundle">
<property name="P4All.mergedCustomDir" value="${basedir}/custom"></property>
<fileset dir="." includes="**/*/build.xml" excludes="."/>
</subant>
<copy todir="custom" overwrite="true" verbose="true">
<fileset dir="custom-bundleddemo"/>
</copy>
</target>
<target name="APE-copy" depends="cleanup, setup-staging-area, asterics.imported.APE-copy">
</target>
<target name="APE-copy-single">
<subant target="APE-copy">
<fileset dir="." includes="**/*/build.xml" excludes="."/>
</subant>
</target>
<target name="deploy-single">
<subant target="deploy">
<fileset dir="." includes="**/*/build.xml" excludes="."/>
</subant>
</target>
</project>