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