annotate KinaMine-Galaxy-7-7/build.xml @ 0:67635b462045 draft

Uploaded
author jfb
date Tue, 20 Feb 2018 14:31:15 -0500
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
67635b462045 Uploaded
jfb
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?><!-- You may freely edit this file. See commented blocks below for --><!-- some examples of how to customize the build. --><!-- (If you delete it and reopen the project it will be recreated.) --><!-- By default, only the Clean and Build commands use this build script. --><project name="KinaMine" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
67635b462045 Uploaded
jfb
parents:
diff changeset
2 <description>Builds, tests, and runs the project KinaMine.</description>
67635b462045 Uploaded
jfb
parents:
diff changeset
3 <import file="nbproject/build-impl.xml"/>
67635b462045 Uploaded
jfb
parents:
diff changeset
4 <!--
67635b462045 Uploaded
jfb
parents:
diff changeset
5
67635b462045 Uploaded
jfb
parents:
diff changeset
6 There exist several targets which are by default empty and which can be
67635b462045 Uploaded
jfb
parents:
diff changeset
7 used for execution of your tasks. These targets are usually executed
67635b462045 Uploaded
jfb
parents:
diff changeset
8 before and after some main targets. Those of them relevant for JavaFX project are:
67635b462045 Uploaded
jfb
parents:
diff changeset
9
67635b462045 Uploaded
jfb
parents:
diff changeset
10 -pre-init: called before initialization of project properties
67635b462045 Uploaded
jfb
parents:
diff changeset
11 -post-init: called after initialization of project properties
67635b462045 Uploaded
jfb
parents:
diff changeset
12 -pre-compile: called before javac compilation
67635b462045 Uploaded
jfb
parents:
diff changeset
13 -post-compile: called after javac compilation
67635b462045 Uploaded
jfb
parents:
diff changeset
14 -pre-compile-test: called before javac compilation of JUnit tests
67635b462045 Uploaded
jfb
parents:
diff changeset
15 -post-compile-test: called after javac compilation of JUnit tests
67635b462045 Uploaded
jfb
parents:
diff changeset
16 -pre-jfx-jar: called before FX SDK specific <fx:jar> task
67635b462045 Uploaded
jfb
parents:
diff changeset
17 -post-jfx-jar: called after FX SDK specific <fx:jar> task
67635b462045 Uploaded
jfb
parents:
diff changeset
18 -pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
67635b462045 Uploaded
jfb
parents:
diff changeset
19 -post-jfx-deploy: called after FX SDK specific <fx:deploy> task
67635b462045 Uploaded
jfb
parents:
diff changeset
20 -pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
67635b462045 Uploaded
jfb
parents:
diff changeset
21 -post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
67635b462045 Uploaded
jfb
parents:
diff changeset
22 -post-clean: called after cleaning build products
67635b462045 Uploaded
jfb
parents:
diff changeset
23
67635b462045 Uploaded
jfb
parents:
diff changeset
24 (Targets beginning with '-' are not intended to be called on their own.)
67635b462045 Uploaded
jfb
parents:
diff changeset
25
67635b462045 Uploaded
jfb
parents:
diff changeset
26 Example of inserting a HTML postprocessor after javaFX SDK deployment:
67635b462045 Uploaded
jfb
parents:
diff changeset
27
67635b462045 Uploaded
jfb
parents:
diff changeset
28 <target name="-post-jfx-deploy">
67635b462045 Uploaded
jfb
parents:
diff changeset
29 <basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
67635b462045 Uploaded
jfb
parents:
diff changeset
30 <property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
67635b462045 Uploaded
jfb
parents:
diff changeset
31 <custompostprocess>
67635b462045 Uploaded
jfb
parents:
diff changeset
32 <fileset dir="${jfx.deployment.html}"/>
67635b462045 Uploaded
jfb
parents:
diff changeset
33 </custompostprocess>
67635b462045 Uploaded
jfb
parents:
diff changeset
34 </target>
67635b462045 Uploaded
jfb
parents:
diff changeset
35
67635b462045 Uploaded
jfb
parents:
diff changeset
36 Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
67635b462045 Uploaded
jfb
parents:
diff changeset
37 initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
67635b462045 Uploaded
jfb
parents:
diff changeset
38
67635b462045 Uploaded
jfb
parents:
diff changeset
39 <target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
67635b462045 Uploaded
jfb
parents:
diff changeset
40 <echo message="Calling jar task from JavaFX SDK"/>
67635b462045 Uploaded
jfb
parents:
diff changeset
41 <fx:jar ...>
67635b462045 Uploaded
jfb
parents:
diff changeset
42 ...
67635b462045 Uploaded
jfb
parents:
diff changeset
43 </fx:jar>
67635b462045 Uploaded
jfb
parents:
diff changeset
44 </target>
67635b462045 Uploaded
jfb
parents:
diff changeset
45
67635b462045 Uploaded
jfb
parents:
diff changeset
46 For more details about JavaFX SDK Ant tasks go to
67635b462045 Uploaded
jfb
parents:
diff changeset
47 http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
67635b462045 Uploaded
jfb
parents:
diff changeset
48
67635b462045 Uploaded
jfb
parents:
diff changeset
49 For list of available properties check the files
67635b462045 Uploaded
jfb
parents:
diff changeset
50 nbproject/build-impl.xml and nbproject/jfx-impl.xml.
67635b462045 Uploaded
jfb
parents:
diff changeset
51
67635b462045 Uploaded
jfb
parents:
diff changeset
52 -->
67635b462045 Uploaded
jfb
parents:
diff changeset
53 </project>