a simple Java-FX Application which Simulate the Approximation of Pi https://nextn.xyz
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
3.0 KiB

  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="MontecarloPi" default="default" basedir="." xmlns:fx="javafx:com.sun.javafx.tools.ant">
  2. <description>Builds, tests, and runs the project MontecarloPi.</description>
  3. <import file="nbproject/build-impl.xml"/>
  4. <!--
  5. There exist several targets which are by default empty and which can be
  6. used for execution of your tasks. These targets are usually executed
  7. before and after some main targets. Those of them relevant for JavaFX project are:
  8. -pre-init: called before initialization of project properties
  9. -post-init: called after initialization of project properties
  10. -pre-compile: called before javac compilation
  11. -post-compile: called after javac compilation
  12. -pre-compile-test: called before javac compilation of JUnit tests
  13. -post-compile-test: called after javac compilation of JUnit tests
  14. -pre-jfx-jar: called before FX SDK specific <fx:jar> task
  15. -post-jfx-jar: called after FX SDK specific <fx:jar> task
  16. -pre-jfx-deploy: called before FX SDK specific <fx:deploy> task
  17. -post-jfx-deploy: called after FX SDK specific <fx:deploy> task
  18. -pre-jfx-native: called just after -pre-jfx-deploy if <fx:deploy> runs in native packaging mode
  19. -post-jfx-native: called just after -post-jfx-deploy if <fx:deploy> runs in native packaging mode
  20. -post-clean: called after cleaning build products
  21. (Targets beginning with '-' are not intended to be called on their own.)
  22. Example of inserting a HTML postprocessor after javaFX SDK deployment:
  23. <target name="-post-jfx-deploy">
  24. <basename property="jfx.deployment.base" file="${jfx.deployment.jar}" suffix=".jar"/>
  25. <property name="jfx.deployment.html" location="${jfx.deployment.dir}${file.separator}${jfx.deployment.base}.html"/>
  26. <custompostprocess>
  27. <fileset dir="${jfx.deployment.html}"/>
  28. </custompostprocess>
  29. </target>
  30. Example of calling an Ant task from JavaFX SDK. Note that access to JavaFX SDK Ant tasks must be
  31. initialized; to ensure this is done add the dependence on -check-jfx-sdk-version target:
  32. <target name="-post-jfx-jar" depends="-check-jfx-sdk-version">
  33. <echo message="Calling jar task from JavaFX SDK"/>
  34. <fx:jar ...>
  35. ...
  36. </fx:jar>
  37. </target>
  38. For more details about JavaFX SDK Ant tasks go to
  39. http://docs.oracle.com/javafx/2/deployment/jfxpub-deployment.htm
  40. For list of available properties check the files
  41. nbproject/build-impl.xml and nbproject/jfx-impl.xml.
  42. -->
  43. </project>