Java poker implementation
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.

build.xml 3.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. <project name="CardGame" default="default" basedir=".">
  6. <description>Builds, tests, and runs the project CardGame.</description>
  7. <import file="nbproject/build-impl.xml"/>
  8. <!--
  9. There exist several targets which are by default empty and which can be
  10. used for execution of your tasks. These targets are usually executed
  11. before and after some main targets. They are:
  12. -pre-init: called before initialization of project properties
  13. -post-init: called after initialization of project properties
  14. -pre-compile: called before javac compilation
  15. -post-compile: called after javac compilation
  16. -pre-compile-single: called before javac compilation of single file
  17. -post-compile-single: called after javac compilation of single file
  18. -pre-compile-test: called before javac compilation of JUnit tests
  19. -post-compile-test: called after javac compilation of JUnit tests
  20. -pre-compile-test-single: called before javac compilation of single JUnit test
  21. -post-compile-test-single: called after javac compilation of single JUunit test
  22. -pre-jar: called before JAR building
  23. -post-jar: called after JAR building
  24. -post-clean: called after cleaning build products
  25. (Targets beginning with '-' are not intended to be called on their own.)
  26. Example of inserting an obfuscator after compilation could look like this:
  27. <target name="-post-compile">
  28. <obfuscate>
  29. <fileset dir="${build.classes.dir}"/>
  30. </obfuscate>
  31. </target>
  32. For list of available properties check the imported
  33. nbproject/build-impl.xml file.
  34. Another way to customize the build is by overriding existing main targets.
  35. The targets of interest are:
  36. -init-macrodef-javac: defines macro for javac compilation
  37. -init-macrodef-junit: defines macro for junit execution
  38. -init-macrodef-debug: defines macro for class debugging
  39. -init-macrodef-java: defines macro for class execution
  40. -do-jar-with-manifest: JAR building (if you are using a manifest)
  41. -do-jar-without-manifest: JAR building (if you are not using a manifest)
  42. run: execution of project
  43. -javadoc-build: Javadoc generation
  44. test-report: JUnit report generation
  45. An example of overriding the target for project execution could look like this:
  46. <target name="run" depends="CardGame-impl.jar">
  47. <exec dir="bin" executable="launcher.exe">
  48. <arg file="${dist.jar}"/>
  49. </exec>
  50. </target>
  51. Notice that the overridden target depends on the jar target and not only on
  52. the compile target as the regular run target does. Again, for a list of available
  53. properties which you can use, check the target you are overriding in the
  54. nbproject/build-impl.xml file.
  55. -->
  56. </project>