Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Copyright (c) 2015, Netsyms Technologies
  4. All rights reserved.
  5. CODE LICENSE ==========
  6. Redistribution and use in source and binary forms, with or without modification,
  7. are permitted provided that the following conditions are met:
  8. 1. Redistributions of source code must retain the above copyright notice, this
  9. list of conditions and the following disclaimer.
  10. 2. Redistributions in binary form must reproduce the above copyright notice,
  11. this list of conditions and the following disclaimer in the documentation and/or
  12. other materials provided with the distribution.
  13. 3. Neither the name of the copyright holder nor the names of its contributors
  14. may be used to endorse or promote products derived from this software without
  15. specific prior written permission.
  16. 4. You adhere to the Media License detailed below. If you do not, this license
  17. is automatically revoked and you must purge all copies of the software you
  18. possess, in source or binary form.
  19. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  20. ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  21. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  22. DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
  23. ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  24. (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  25. LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
  26. ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  27. (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  28. SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  29. MEDIA LICENSE ==========
  30. All images and other graphical files ("media") included with this
  31. software are copyright (c) 2015 Netsyms Technologies. You may not distribute
  32. the graphics or any program, source code repository, or other digital storage
  33. media containing them without permission from Netsyms Technologies.
  34. This ban on distribution only applies to publicly available systems.
  35. A password-protected network file share, USB drive, or other storage scheme that
  36. cannot be easily accessed by the public is generally allowed. If in doubt,
  37. contact Netsyms Technologies. If Netsyms Technologies allows or denies
  38. you permission, that decision is considered final and binding.
  39. You may only use the media for personal,
  40. non-commercial, non-educational use unless:
  41. 1, You have paid for the software and media via the SyMAT website,
  42. or 2, you are using it as part of the 15-day trial period.
  43. Other uses are prohibited without permission.
  44. If any part of this license is deemed unenforcable, the remainder
  45. of the license remains in full effect.
  46. -->
  47. <project name="SyMAT" default="default" basedir=".">
  48. <description>Builds, tests, and runs the project SyMAT.</description>
  49. <import file="nbproject/build-impl.xml"/>
  50. <!--
  51. There exist several targets which are by default empty and which can be
  52. used for execution of your tasks. These targets are usually executed
  53. before and after some main targets. They are:
  54. -pre-init: called before initialization of project properties
  55. -post-init: called after initialization of project properties
  56. -pre-compile: called before javac compilation
  57. -post-compile: called after javac compilation
  58. -pre-compile-single: called before javac compilation of single file
  59. -post-compile-single: called after javac compilation of single file
  60. -pre-compile-test: called before javac compilation of JUnit tests
  61. -post-compile-test: called after javac compilation of JUnit tests
  62. -pre-compile-test-single: called before javac compilation of single JUnit test
  63. -post-compile-test-single: called after javac compilation of single JUunit test
  64. -pre-jar: called before JAR building
  65. -post-jar: called after JAR building
  66. -post-clean: called after cleaning build products
  67. (Targets beginning with '-' are not intended to be called on their own.)
  68. Example of inserting an obfuscator after compilation could look like this:
  69. <target name="-post-compile">
  70. <obfuscate>
  71. <fileset dir="${build.classes.dir}"/>
  72. </obfuscate>
  73. </target>
  74. For list of available properties check the imported
  75. nbproject/build-impl.xml file.
  76. Another way to customize the build is by overriding existing main targets.
  77. The targets of interest are:
  78. -init-macrodef-javac: defines macro for javac compilation
  79. -init-macrodef-junit: defines macro for junit execution
  80. -init-macrodef-debug: defines macro for class debugging
  81. -init-macrodef-java: defines macro for class execution
  82. -do-jar: JAR building
  83. run: execution of project
  84. -javadoc-build: Javadoc generation
  85. test-report: JUnit report generation
  86. An example of overriding the target for project execution could look like this:
  87. <target name="run" depends="SyMAT-impl.jar">
  88. <exec dir="bin" executable="launcher.exe">
  89. <arg file="${dist.jar}"/>
  90. </exec>
  91. </target>
  92. Notice that the overridden target depends on the jar target and not only on
  93. the compile target as the regular run target does. Again, for a list of available
  94. properties which you can use, check the target you are overriding in the
  95. nbproject/build-impl.xml file.
  96. -->
  97. </project>