Added Java solutions from Anton
authorNeil Smith <neil.git@njae.me.uk>
Fri, 16 Jun 2017 09:03:53 +0000 (10:03 +0100)
committerNeil Smith <neil.git@njae.me.uk>
Fri, 16 Jun 2017 09:03:53 +0000 (10:03 +0100)
14 files changed:
anton/SummerOfCode/00-prices.txt [new file with mode: 0644]
anton/SummerOfCode/01-holidays.txt [new file with mode: 0644]
anton/SummerOfCode/02-lifts.txt [new file with mode: 0644]
anton/SummerOfCode/build.xml [new file with mode: 0644]
anton/SummerOfCode/manifest.mf [new file with mode: 0644]
anton/SummerOfCode/nbproject/build-impl.xml [new file with mode: 0644]
anton/SummerOfCode/nbproject/genfiles.properties [new file with mode: 0644]
anton/SummerOfCode/nbproject/private/private.properties [new file with mode: 0644]
anton/SummerOfCode/nbproject/project.properties [new file with mode: 0644]
anton/SummerOfCode/nbproject/project.xml [new file with mode: 0644]
anton/SummerOfCode/src/summerofcode/Day0.java [new file with mode: 0644]
anton/SummerOfCode/src/summerofcode/Day1.java [new file with mode: 0644]
anton/SummerOfCode/src/summerofcode/Day2.java [new file with mode: 0644]
anton/SummerOfCode/src/summerofcode/Day3.java [new file with mode: 0644]

diff --git a/anton/SummerOfCode/00-prices.txt b/anton/SummerOfCode/00-prices.txt
new file mode 100644 (file)
index 0000000..3d88183
--- /dev/null
@@ -0,0 +1,124 @@
+d77b1148 1396 Mamula 579
+42e05169e 1104 Jayuya 476
+a6538cfa970 1100 Parowan 661
+90409a70 1143 Parowan 679
+18e93a0f0c 918 Ijsseloog 560
+2781c13abc2 1057 Tubakuba 561
+e3790f1484 1682 Giessenmestia 448
+25a2c3799a 1340 Sukhumi 709
+f38f75c8e4e 1319 Mora 685
+0b4b44db1d 1089 Holmegaard 591
+0afe71e09d 1276 Stonington-Island 640
+627824317b47 909 Giessenmestia 532
+83a7d0bbd1 1225 Aalborg 689
+f3c42695 1241 Nordkapp 751
+cdd546172 1221 Puente-Laguna-Garzonkuala-Penyu 593
+71772664d35c 1205 Geoje-Si 615
+66ffcd848 974 Nullarbor 707
+2b11e359e8f9 1488 Brorfelde 613
+0dc258d3e 1164 Tubakuba 596
+3bc5b60c2a5 1231 Nullarbor 517
+cd563561 1136 Nordkapp 634
+1c5f5ecd6a 1332 Holmegaard 615
+8255b281 1302 Sukhumi 542
+03478ddc6 1119 Hajnowski 599
+763db1eb6980 944 Geoje-Si 707
+4b9291505 1230 Giessenmestia 648
+1634bfe2408 1264 Giessenmestia 460
+f793130d4b2d 1473 Nordkapp 595
+a3169c6312 1364 Sofia 631
+00f15d691e2c 1205 Estacada 487
+94d98461f6 1179 Almaty 496
+f02bc3375 1225 Tubakuba 569
+616a27c7 942 Brorfelde 639
+a86f98f6d8 1388 Karlukovo 524
+44e58004d2 1206 Karlukovo 526
+9557b5625e4 1242 Puente-Laguna-Garzonkuala-Penyu 622
+d4ab30071b 895 Nullarbor 589
+a46da8767867 1281 Sofia 598
+b450fed871 1244 Luoyang 584
+04f3f57cda 1321 Grimsey-Island 631
+d7bcc37c902b 1127 Giessenmestia 520
+2a57e5b6bff 1203 Geoje-Si 624
+ca574abd1d59 1201 Zhangye-Shi 559
+8edd80b3fb1 1215 Brorfelde 714
+0ab5ce808111 1268 Gorongosa 542
+63c55129 1260 Stonington-Island 579
+886090a35571 1428 Tubakuba 575
+7b2fddd6 1263 Holmegaard 630
+224ec122957 1164 Holmegaard 545
+9d478716 1282 Nordkapp 617
+1cb8cefaab4 1278 Gorongosa 606
+d2719728360 1145 Tambon-Pa-Fa 727
+c0f9ca8f476 1186 Zhangye-Shi 660
+83fea1e3 1365 Lemnos 596
+cf38d8107 1073 Nullarbor 613
+164cc47ace7c 1068 Zhangye-Shi 527
+d00ab6e33 1167 Sofia 574
+b50b0503 1169 Morgantown 514
+fed8853e496e 1098 Geoje-Si 688
+d21d32624 1288 Tambon-Pa-Fa 652
+92f4320298 1093 Morgantown 620
+89e60557edd 1345 Hajnowski 565
+829cc66f6524 1254 Luoyang 651
+b6ad98c5c8 1131 Geoje-Si 502
+a68d97fbfdb 987 Brorfelde 451
+a4fda9ce7e7 1132 Nullarbor 549
+13d8d416d 1328 Giessenmestia 590
+da517616ec 1272 Gorongosa 520
+cd1f4025 1419 Mamula 629
+88324193b87 1180 Sofia 597
+3de94090 1149 Tambon-Pa-Fa 590
+a8240f7292 1119 Brorfelde 675
+647315ef 824 Uzupis 668
+b9ac3a5e 961 Grimsey-Island 663
+be8b9d110 984 Tubakuba 485
+7c2e49058b 1022 Estacada 509
+f7566ec36 972 Uzupis 538
+b0ca7167f7 1265 Lemnos 679
+c5d2db28c 1206 Estacada 565
+e29a171ab 1278 Lemnos 602
+7f98bd73d5cc 1125 Nordkapp 628
+05c4bc08fd31 1210 Jayuya 516
+7cfb6f85 969 Grimsey-Island 589
+61e833fb 1158 Sukhumi 502
+0b3b738f0 1226 Stonington-Island 688
+e0862b3984ce 1270 Morgantown 565
+ced9502128 1077 Ijsseloog 576
+113bdf3f311 1167 Grimsey-Island 615
+22b8e494f 1029 Nullarbor 623
+52e1d5566142 1173 Ijsseloog 721
+d7d9600a9018 984 Aalborg 559
+bfd6cbaf09e1 898 Nullarbor 615
+e4964650f 1093 Karlukovo 675
+c4a45e60f 1078 Jayuya 573
+443a80bb 1286 Mamula 872
+d4bc8ebfb 1373 Mamula 651
+34f4312fdd0 1121 Grimsey-Island 644
+fc20a36d036 928 Almaty 738
+11ea654a37dc 1306 Tambon-Pa-Fa 653
+70e5c8cd42 1185 Mora 546
+382daab54 1461 Nullarbor 601
+6e6ee9c06 1053 Hajnowski 565
+0fe6b54be76 1318 Sukhumi 591
+b6ef99699d8 963 Uzupis 549
+0d3a5b9861 1232 Luoyang 547
+f87121d062 1127 Karlukovo 502
+cf8876d4e73 823 Stonington-Island 693
+1b38b7b4d94 1205 Aalborg 660
+ae037be7d2 1187 Gorongosa 548
+2f3d30dd1d9 1230 Lemnos 679
+24ebbe60 1331 Estacada 628
+234cd3dc12de 1206 Ijsseloog 468
+d053b7fa98 1125 Puente-Laguna-Garzonkuala-Penyu 621
+146c154627 1321 Parowan 658
+06b34cf1 1134 Nordkapp 529
+59ea16ce6364 1110 Grimsey-Island 711
+34f1e2873504 1042 Giessenmestia 572
+498d42d27 1095 Holmegaard 562
+355f35a449d 1061 Sofia 539
+68ac312e3af5 1421 Geoje-Si 621
+909acf5b3 1137 Almaty 599
+ddc31baf1 1175 Puente-Laguna-Garzonkuala-Penyu 612
+f22c113c 1217 Mamula 521
+476cd20cca 1046 Nullarbor 648
diff --git a/anton/SummerOfCode/01-holidays.txt b/anton/SummerOfCode/01-holidays.txt
new file mode 100644 (file)
index 0000000..63fa029
--- /dev/null
@@ -0,0 +1,124 @@
+07ea553e 1348 Zhangye-Shi 14
+02d4b258b8a 1152 Estacada 3
+d29a0551504e 1210 Zhangye-Shi 7
+3e4d219009 904 Geoje-Si 7
+97afbad2bb 1129 Stonington-Island 21
+98c040c3 1375 Nullarbor 14
+8d178e8fe50 1310 Aalborg 7
+b4c9727f3a 955 Nordkapp 7
+646c6f60 1247 Sofia 10
+698a05914c 1440 Giessenmestia 14
+6106854836f 748 Brorfelde 14
+44aadddc 1245 Tubakuba 14
+c81a1fcfb 931 Sukhumi 21
+dc8aebebfc2 946 Parowan 3
+0e9e7473eb 1023 Gorongosa 14
+c7b043d2 1327 Nullarbor 7
+7bd023c3 1191 Holmegaard 21
+072a1106d 1329 Lemnos 14
+0b9cb9e950 1458 Estacada 7
+54945eeed430 1001 Nullarbor 10
+ccf770ecaa2 1206 Tubakuba 14
+90b158ef 1350 Morgantown 14
+e1d4e033df7 1057 Grimsey-Island 21
+fad4adaf 1297 Luoyang 3
+1cf53c93a 919 Sofia 7
+ddd7891fb37 1348 Almaty 7
+d752d52589 1148 Geoje-Si 21
+062bb5cf 1178 Zhangye-Shi 14
+c19a8114d44 1188 Hajnowski 3
+44946ac3d470 852 Karlukovo 3
+989f0ca8 930 Nordkapp 21
+d826034e08 1195 Tubakuba 14
+f4dd99265 1294 Karlukovo 21
+6ea4cebc128f 775 Mora 10
+328fd2275 806 Aalborg 21
+fd7278523 1363 Sukhumi 7
+865d85be7 896 Ijsseloog 21
+b7f4d5b476c 1755 Nullarbor 14
+eca25db7a 968 Gorongosa 14
+19ef5c556 1624 Sofia 14
+d6b5aa1d219e 1303 Aalborg 14
+deb36f50 1761 Nordkapp 14
+744efb40a295 1068 Morgantown 14
+07cc90dd3 1209 Lemnos 14
+4c0c6a48 1069 Sofia 7
+7ed300f23 1474 Luoyang 21
+f7db1341c848 1240 Nullarbor 3
+48b4a7976bf1 1133 Jayuya 3
+dd23065a18 1391 Stonington-Island 14
+0c33d4e1 1551 Luoyang 7
+d33d871c 1150 Aalborg 14
+2da4222c8 1374 Geoje-Si 10
+e11b4c5c 1075 Parowan 3
+aef2526d1978 1422 Morgantown 21
+7b95b6d95 1525 Morgantown 21
+ffcc1079c877 1579 Puente-Laguna-Garzonkuala-Penyu 14
+ddb13dd26f 1158 Lemnos 10
+6a1a190ed083 1042 Sukhumi 14
+3ca80302270 1404 Luoyang 7
+5daea80f7d2 1399 Sofia 7
+91bc0a2d0 1180 Almaty 14
+53b5f150 1149 Jayuya 10
+0085ebcc2b2 1442 Holmegaard 21
+4a52d756 1174 Uzupis 7
+d57afd163 1140 Geoje-Si 7
+9910d5838754 860 Morgantown 14
+6454824e86 1359 Lemnos 7
+9aa4a9bbd9f8 1391 Aalborg 10
+980e8f3064fc 976 Giessenmestia 14
+1d6a1b08 927 Luoyang 21
+64f067b7fc 1392 Luoyang 14
+b268e12d1d0b 984 Mora 7
+eac0d3ed07 1531 Brorfelde 21
+beaf2d8e35 947 Grimsey-Island 3
+e2c945275868 867 Zhangye-Shi 21
+677046c1f45d 1213 Karlukovo 10
+d3e9b79053c 1274 Aalborg 21
+cb24efd90 948 Morgantown 21
+ca9fe765 1491 Grimsey-Island 14
+d5821111c6c 1236 Nordkapp 14
+dcdccf9a55b8 1574 Ijsseloog 7
+e689ad12 1405 Zhangye-Shi 21
+8b6e8446 1360 Morgantown 21
+fafb6875f 1140 Brorfelde 21
+182f52c61f 916 Estacada 10
+4a264d5f4e 1262 Ijsseloog 14
+bf086837530 1162 Parowan 14
+dbfe9d638ef 1221 Nordkapp 7
+9e1d45351 1292 Giessenmestia 21
+541bd6119 1028 Mamula 7
+0aeeffa1a3 1209 Luoyang 21
+901c5848 1107 Sofia 10
+3100ad053f 910 Tambon-Pa-Fa 10
+295b0f07 997 Zhangye-Shi 21
+7bb0a03d18ab 1673 Brorfelde 21
+25c7800fd18 1582 Lemnos 14
+18952053b 1049 Mamula 7
+bc53df7eb 1168 Hajnowski 14
+8cb1c9b33b 1001 Almaty 7
+911bee88b048 1218 Almaty 21
+8f6abf6d 1580 Sukhumi 14
+85f6122bb848 1296 Gorongosa 14
+094ee9edf9ce 676 Tubakuba 7
+17637f07 1242 Jayuya 7
+6e4ca2fdf 684 Ijsseloog 3
+5d85167ed5c 878 Luoyang 3
+91e78da67 1054 Nordkapp 7
+43cd83bb01 1443 Giessenmestia 14
+9c1f692ea 1061 Stonington-Island 21
+0e792455b8d 1007 Tambon-Pa-Fa 14
+669c3fe3f 1038 Karlukovo 7
+ca039bc4a1ed 1216 Sofia 7
+7a95be26f65 944 Jayuya 7
+3da51cf71e 1864 Giessenmestia 14
+811b8fcf 1335 Morgantown 10
+4cffd22dd9b9 1089 Stonington-Island 14
+894fa3b99c 704 Gorongosa 7
+b73e3ee1b21 1028 Zhangye-Shi 7
+83377c09f17 980 Sofia 7
+686e7e91a 1282 Giessenmestia 10
+c18ca0a78 1069 Grimsey-Island 14
+14e6e1034a 948 Nordkapp 21
+3634c172 1176 Grimsey-Island 10
+08d2936f40 1175 Estacada 3
diff --git a/anton/SummerOfCode/02-lifts.txt b/anton/SummerOfCode/02-lifts.txt
new file mode 100644 (file)
index 0000000..f591c54
--- /dev/null
@@ -0,0 +1 @@
+vvv^^v^v=vv^v^^vvvv^^v=^=^^=^^^=^^^v=^^^=^^v^^v^vv^^v^^^=v^v^^^v=^vvv^^^^v^^^^^v^v^v^^v=^^^^^v=v^^v=^v^^=v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^^^^vv^v^=v=^=v^vvvv^v^vvvv^^^v^^vv^=vv^v^^vv^^^=^=^^^v^^^^vv=^vv^v=vvvvv^^^=^^v^^vv^=v=^v=^=^v^^^^^^^vvvvvvv^vv^^^v^^^v=vv^^v^^v^v^^^v^v^^^vv^vv^^vv^^vvv^^^^=v^^v=vv=vv^vv^v=vvvvv^^vv^vv^=vv=vv^^vv^^^vv^^^vvvvvv^^vvv^v^^^^^=vv^^^vv^v^^^v^^v=vvv^^^=vv=^^vv^v^^v^^^=^v^v^vv^^^^^=v^=v^v^vv=vv^v^v^^^^=^v=^^^^^^^vvv^^v^^v^v^^^=^v=v=^=^v^=vv^^^vvvv^^^^=vv^=v^=v=^v^vvv=vv=v^^v^^=^^^^^^=^^^^^v^=^=^^=^^vv^^^^=^vv^v^^vv^^^^=v=^^=^^^^v^=^^vvv^^=vv=vv^^^^^v^v^^^vvv^vvv^v^^v^=vvvv^^=^^=^=^^^^^=^v^=^vv=v^v^vvvv=v^^vv^=vv^^vv^^^vv^^^v^v^^^^vv^vv^=^v^^vvvv^^^^^v^^v^^=^=^^^v^v^^^v=v^^=^^vv=^vvv=^=v^^vvv=^=^^v=v^=v^v=^=^^^^=v^^v^^v^^v=vv=^^^v=vvv^vv^^v=vvv=vv^v^v^vv^^^^^=vv=^v=vv^v=^v^^=
\ No newline at end of file
diff --git a/anton/SummerOfCode/build.xml b/anton/SummerOfCode/build.xml
new file mode 100644 (file)
index 0000000..2798134
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!-- You may freely edit this file. See commented blocks below for -->\r
+<!-- some examples of how to customize the build. -->\r
+<!-- (If you delete it and reopen the project it will be recreated.) -->\r
+<!-- By default, only the Clean and Build commands use this build script. -->\r
+<!-- Commands such as Run, Debug, and Test only use this build script if -->\r
+<!-- the Compile on Save feature is turned off for the project. -->\r
+<!-- You can turn off the Compile on Save (or Deploy on Save) setting -->\r
+<!-- in the project's Project Properties dialog box.-->\r
+<project name="SummerOfCode" default="default" basedir=".">\r
+    <description>Builds, tests, and runs the project SummerOfCode.</description>\r
+    <import file="nbproject/build-impl.xml"/>\r
+    <!--\r
+\r
+    There exist several targets which are by default empty and which can be \r
+    used for execution of your tasks. These targets are usually executed \r
+    before and after some main targets. They are: \r
+\r
+      -pre-init:                 called before initialization of project properties\r
+      -post-init:                called after initialization of project properties\r
+      -pre-compile:              called before javac compilation\r
+      -post-compile:             called after javac compilation\r
+      -pre-compile-single:       called before javac compilation of single file\r
+      -post-compile-single:      called after javac compilation of single file\r
+      -pre-compile-test:         called before javac compilation of JUnit tests\r
+      -post-compile-test:        called after javac compilation of JUnit tests\r
+      -pre-compile-test-single:  called before javac compilation of single JUnit test\r
+      -post-compile-test-single: called after javac compilation of single JUunit test\r
+      -pre-jar:                  called before JAR building\r
+      -post-jar:                 called after JAR building\r
+      -post-clean:               called after cleaning build products\r
+\r
+    (Targets beginning with '-' are not intended to be called on their own.)\r
+\r
+    Example of inserting an obfuscator after compilation could look like this:\r
+\r
+        <target name="-post-compile">\r
+            <obfuscate>\r
+                <fileset dir="${build.classes.dir}"/>\r
+            </obfuscate>\r
+        </target>\r
+\r
+    For list of available properties check the imported \r
+    nbproject/build-impl.xml file. \r
+\r
+\r
+    Another way to customize the build is by overriding existing main targets.\r
+    The targets of interest are: \r
+\r
+      -init-macrodef-javac:     defines macro for javac compilation\r
+      -init-macrodef-junit:     defines macro for junit execution\r
+      -init-macrodef-debug:     defines macro for class debugging\r
+      -init-macrodef-java:      defines macro for class execution\r
+      -do-jar:                  JAR building\r
+      run:                      execution of project \r
+      -javadoc-build:           Javadoc generation\r
+      test-report:              JUnit report generation\r
+\r
+    An example of overriding the target for project execution could look like this:\r
+\r
+        <target name="run" depends="SummerOfCode-impl.jar">\r
+            <exec dir="bin" executable="launcher.exe">\r
+                <arg file="${dist.jar}"/>\r
+            </exec>\r
+        </target>\r
+\r
+    Notice that the overridden target depends on the jar target and not only on \r
+    the compile target as the regular run target does. Again, for a list of available \r
+    properties which you can use, check the target you are overriding in the\r
+    nbproject/build-impl.xml file. \r
+\r
+    -->\r
+</project>\r
diff --git a/anton/SummerOfCode/manifest.mf b/anton/SummerOfCode/manifest.mf
new file mode 100644 (file)
index 0000000..1574df4
--- /dev/null
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0\r
+X-COMMENT: Main-Class will be added automatically by build\r
+\r
diff --git a/anton/SummerOfCode/nbproject/build-impl.xml b/anton/SummerOfCode/nbproject/build-impl.xml
new file mode 100644 (file)
index 0000000..a7927ee
--- /dev/null
@@ -0,0 +1,1419 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<!--\r
+*** GENERATED FROM project.xml - DO NOT EDIT  ***\r
+***         EDIT ../build.xml INSTEAD         ***\r
+\r
+For the purpose of easier reading the script\r
+is divided into following sections:\r
+\r
+  - initialization\r
+  - compilation\r
+  - jar\r
+  - execution\r
+  - debugging\r
+  - javadoc\r
+  - test compilation\r
+  - test execution\r
+  - test debugging\r
+  - applet\r
+  - cleanup\r
+\r
+        -->\r
+<project xmlns:j2seproject1="http://www.netbeans.org/ns/j2se-project/1" xmlns:j2seproject3="http://www.netbeans.org/ns/j2se-project/3" xmlns:jaxrpc="http://www.netbeans.org/ns/j2se-project/jax-rpc" basedir=".." default="default" name="SummerOfCode-impl">\r
+    <fail message="Please build using Ant 1.8.0 or higher.">\r
+        <condition>\r
+            <not>\r
+                <antversion atleast="1.8.0"/>\r
+            </not>\r
+        </condition>\r
+    </fail>\r
+    <target depends="test,jar,javadoc" description="Build and test whole project." name="default"/>\r
+    <!-- \r
+                ======================\r
+                INITIALIZATION SECTION \r
+                ======================\r
+            -->\r
+    <target name="-pre-init">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="-pre-init" name="-init-private">\r
+        <property file="nbproject/private/config.properties"/>\r
+        <property file="nbproject/private/configs/${config}.properties"/>\r
+        <property file="nbproject/private/private.properties"/>\r
+    </target>\r
+    <target depends="-pre-init,-init-private" name="-init-user">\r
+        <property file="${user.properties.file}"/>\r
+        <!-- The two properties below are usually overridden -->\r
+        <!-- by the active platform. Just a fallback. -->\r
+        <property name="default.javac.source" value="1.4"/>\r
+        <property name="default.javac.target" value="1.4"/>\r
+    </target>\r
+    <target depends="-pre-init,-init-private,-init-user" name="-init-project">\r
+        <property file="nbproject/configs/${config}.properties"/>\r
+        <property file="nbproject/project.properties"/>\r
+    </target>\r
+    <target depends="-pre-init,-init-private,-init-user,-init-project,-init-macrodef-property" name="-do-init">\r
+        <property name="platform.java" value="${java.home}/bin/java"/>\r
+        <available file="${manifest.file}" property="manifest.available"/>\r
+        <condition property="splashscreen.available">\r
+            <and>\r
+                <not>\r
+                    <equals arg1="${application.splash}" arg2="" trim="true"/>\r
+                </not>\r
+                <available file="${application.splash}"/>\r
+            </and>\r
+        </condition>\r
+        <condition property="main.class.available">\r
+            <and>\r
+                <isset property="main.class"/>\r
+                <not>\r
+                    <equals arg1="${main.class}" arg2="" trim="true"/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <condition property="profile.available">\r
+            <and>\r
+                <isset property="javac.profile"/>\r
+                <length length="0" string="${javac.profile}" when="greater"/>\r
+                <matches pattern="1\.[89](\..*)?" string="${javac.source}"/>\r
+            </and>\r
+        </condition>\r
+        <condition property="do.archive">\r
+            <or>\r
+                <not>\r
+                    <istrue value="${jar.archive.disabled}"/>\r
+                </not>\r
+                <istrue value="${not.archive.disabled}"/>\r
+            </or>\r
+        </condition>\r
+        <condition property="do.mkdist">\r
+            <and>\r
+                <isset property="do.archive"/>\r
+                <isset property="libs.CopyLibs.classpath"/>\r
+                <not>\r
+                    <istrue value="${mkdist.disabled}"/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <condition property="do.archive+manifest.available">\r
+            <and>\r
+                <isset property="manifest.available"/>\r
+                <istrue value="${do.archive}"/>\r
+            </and>\r
+        </condition>\r
+        <condition property="do.archive+main.class.available">\r
+            <and>\r
+                <isset property="main.class.available"/>\r
+                <istrue value="${do.archive}"/>\r
+            </and>\r
+        </condition>\r
+        <condition property="do.archive+splashscreen.available">\r
+            <and>\r
+                <isset property="splashscreen.available"/>\r
+                <istrue value="${do.archive}"/>\r
+            </and>\r
+        </condition>\r
+        <condition property="do.archive+profile.available">\r
+            <and>\r
+                <isset property="profile.available"/>\r
+                <istrue value="${do.archive}"/>\r
+            </and>\r
+        </condition>\r
+        <condition property="have.tests">\r
+            <or>\r
+                <available file="${test.src.dir}"/>\r
+            </or>\r
+        </condition>\r
+        <condition property="have.sources">\r
+            <or>\r
+                <available file="${src.dir}"/>\r
+            </or>\r
+        </condition>\r
+        <condition property="netbeans.home+have.tests">\r
+            <and>\r
+                <isset property="netbeans.home"/>\r
+                <isset property="have.tests"/>\r
+            </and>\r
+        </condition>\r
+        <condition property="no.javadoc.preview">\r
+            <and>\r
+                <isset property="javadoc.preview"/>\r
+                <isfalse value="${javadoc.preview}"/>\r
+            </and>\r
+        </condition>\r
+        <property name="run.jvmargs" value=""/>\r
+        <property name="run.jvmargs.ide" value=""/>\r
+        <property name="javac.compilerargs" value=""/>\r
+        <property name="work.dir" value="${basedir}"/>\r
+        <condition property="no.deps">\r
+            <and>\r
+                <istrue value="${no.dependencies}"/>\r
+            </and>\r
+        </condition>\r
+        <property name="javac.debug" value="true"/>\r
+        <property name="javadoc.preview" value="true"/>\r
+        <property name="application.args" value=""/>\r
+        <property name="source.encoding" value="${file.encoding}"/>\r
+        <property name="runtime.encoding" value="${source.encoding}"/>\r
+        <condition property="javadoc.encoding.used" value="${javadoc.encoding}">\r
+            <and>\r
+                <isset property="javadoc.encoding"/>\r
+                <not>\r
+                    <equals arg1="${javadoc.encoding}" arg2=""/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <property name="javadoc.encoding.used" value="${source.encoding}"/>\r
+        <property name="includes" value="**"/>\r
+        <property name="excludes" value=""/>\r
+        <property name="do.depend" value="false"/>\r
+        <condition property="do.depend.true">\r
+            <istrue value="${do.depend}"/>\r
+        </condition>\r
+        <path id="endorsed.classpath.path" path="${endorsed.classpath}"/>\r
+        <condition else="" property="endorsed.classpath.cmd.line.arg" value="-Xbootclasspath/p:'${toString:endorsed.classpath.path}'">\r
+            <and>\r
+                <isset property="endorsed.classpath"/>\r
+                <not>\r
+                    <equals arg1="${endorsed.classpath}" arg2="" trim="true"/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <condition else="" property="javac.profile.cmd.line.arg" value="-profile ${javac.profile}">\r
+            <isset property="profile.available"/>\r
+        </condition>\r
+        <condition else="false" property="jdkBug6558476">\r
+            <and>\r
+                <matches pattern="1\.[56]" string="${java.specification.version}"/>\r
+                <not>\r
+                    <os family="unix"/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <condition else="false" property="javac.fork">\r
+            <or>\r
+                <istrue value="${jdkBug6558476}"/>\r
+                <istrue value="${javac.external.vm}"/>\r
+            </or>\r
+        </condition>\r
+        <property name="jar.index" value="false"/>\r
+        <property name="jar.index.metainf" value="${jar.index}"/>\r
+        <property name="copylibs.rebase" value="true"/>\r
+        <available file="${meta.inf.dir}/persistence.xml" property="has.persistence.xml"/>\r
+        <condition property="junit.available">\r
+            <or>\r
+                <available classname="org.junit.Test" classpath="${run.test.classpath}"/>\r
+                <available classname="junit.framework.Test" classpath="${run.test.classpath}"/>\r
+            </or>\r
+        </condition>\r
+        <condition property="testng.available">\r
+            <available classname="org.testng.annotations.Test" classpath="${run.test.classpath}"/>\r
+        </condition>\r
+        <condition property="junit+testng.available">\r
+            <and>\r
+                <istrue value="${junit.available}"/>\r
+                <istrue value="${testng.available}"/>\r
+            </and>\r
+        </condition>\r
+        <condition else="testng" property="testng.mode" value="mixed">\r
+            <istrue value="${junit+testng.available}"/>\r
+        </condition>\r
+        <condition else="" property="testng.debug.mode" value="-mixed">\r
+            <istrue value="${junit+testng.available}"/>\r
+        </condition>\r
+        <property name="java.failonerror" value="true"/>\r
+    </target>\r
+    <target name="-post-init">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init" name="-init-check">\r
+        <fail unless="src.dir">Must set src.dir</fail>\r
+        <fail unless="test.src.dir">Must set test.src.dir</fail>\r
+        <fail unless="build.dir">Must set build.dir</fail>\r
+        <fail unless="dist.dir">Must set dist.dir</fail>\r
+        <fail unless="build.classes.dir">Must set build.classes.dir</fail>\r
+        <fail unless="dist.javadoc.dir">Must set dist.javadoc.dir</fail>\r
+        <fail unless="build.test.classes.dir">Must set build.test.classes.dir</fail>\r
+        <fail unless="build.test.results.dir">Must set build.test.results.dir</fail>\r
+        <fail unless="build.classes.excludes">Must set build.classes.excludes</fail>\r
+        <fail unless="dist.jar">Must set dist.jar</fail>\r
+    </target>\r
+    <target name="-init-macrodef-property">\r
+        <macrodef name="property" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+            <attribute name="name"/>\r
+            <attribute name="value"/>\r
+            <sequential>\r
+                <property name="@{name}" value="${@{value}}"/>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-macrodef-javac-with-processors">\r
+        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${src.dir}" name="srcdir"/>\r
+            <attribute default="${build.classes.dir}" name="destdir"/>\r
+            <attribute default="${javac.classpath}" name="classpath"/>\r
+            <attribute default="${javac.processorpath}" name="processorpath"/>\r
+            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="${javac.debug}" name="debug"/>\r
+            <attribute default="${empty.dir}" name="sourcepath"/>\r
+            <attribute default="${empty.dir}" name="gensrcdir"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <property location="${build.dir}/empty" name="empty.dir"/>\r
+                <mkdir dir="${empty.dir}"/>\r
+                <mkdir dir="@{apgeneratedsrcdir}"/>\r
+                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">\r
+                    <src>\r
+                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">\r
+                            <include name="*"/>\r
+                        </dirset>\r
+                    </src>\r
+                    <classpath>\r
+                        <path path="@{classpath}"/>\r
+                    </classpath>\r
+                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                    <compilerarg line="${javac.profile.cmd.line.arg}"/>\r
+                    <compilerarg line="${javac.compilerargs}"/>\r
+                    <compilerarg value="-processorpath"/>\r
+                    <compilerarg path="@{processorpath}:${empty.dir}"/>\r
+                    <compilerarg line="${ap.processors.internal}"/>\r
+                    <compilerarg line="${annotation.processing.processor.options}"/>\r
+                    <compilerarg value="-s"/>\r
+                    <compilerarg path="@{apgeneratedsrcdir}"/>\r
+                    <compilerarg line="${ap.proc.none.internal}"/>\r
+                    <customize/>\r
+                </javac>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-ap-cmdline-properties" name="-init-macrodef-javac-without-processors" unless="ap.supported.internal">\r
+        <macrodef name="javac" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${src.dir}" name="srcdir"/>\r
+            <attribute default="${build.classes.dir}" name="destdir"/>\r
+            <attribute default="${javac.classpath}" name="classpath"/>\r
+            <attribute default="${javac.processorpath}" name="processorpath"/>\r
+            <attribute default="${build.generated.sources.dir}/ap-source-output" name="apgeneratedsrcdir"/>\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="${javac.debug}" name="debug"/>\r
+            <attribute default="${empty.dir}" name="sourcepath"/>\r
+            <attribute default="${empty.dir}" name="gensrcdir"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <property location="${build.dir}/empty" name="empty.dir"/>\r
+                <mkdir dir="${empty.dir}"/>\r
+                <javac debug="@{debug}" deprecation="${javac.deprecation}" destdir="@{destdir}" encoding="${source.encoding}" excludes="@{excludes}" fork="${javac.fork}" includeantruntime="false" includes="@{includes}" source="${javac.source}" sourcepath="@{sourcepath}" srcdir="@{srcdir}" target="${javac.target}" tempdir="${java.io.tmpdir}">\r
+                    <src>\r
+                        <dirset dir="@{gensrcdir}" erroronmissingdir="false">\r
+                            <include name="*"/>\r
+                        </dirset>\r
+                    </src>\r
+                    <classpath>\r
+                        <path path="@{classpath}"/>\r
+                    </classpath>\r
+                    <compilerarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                    <compilerarg line="${javac.profile.cmd.line.arg}"/>\r
+                    <compilerarg line="${javac.compilerargs}"/>\r
+                    <customize/>\r
+                </javac>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-javac-with-processors,-init-macrodef-javac-without-processors" name="-init-macrodef-javac">\r
+        <macrodef name="depend" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${src.dir}" name="srcdir"/>\r
+            <attribute default="${build.classes.dir}" name="destdir"/>\r
+            <attribute default="${javac.classpath}" name="classpath"/>\r
+            <sequential>\r
+                <depend cache="${build.dir}/depcache" destdir="@{destdir}" excludes="${excludes}" includes="${includes}" srcdir="@{srcdir}">\r
+                    <classpath>\r
+                        <path path="@{classpath}"/>\r
+                    </classpath>\r
+                </depend>\r
+            </sequential>\r
+        </macrodef>\r
+        <macrodef name="force-recompile" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${build.classes.dir}" name="destdir"/>\r
+            <sequential>\r
+                <fail unless="javac.includes">Must set javac.includes</fail>\r
+                <pathconvert pathsep="${line.separator}" property="javac.includes.binary">\r
+                    <path>\r
+                        <filelist dir="@{destdir}" files="${javac.includes}"/>\r
+                    </path>\r
+                    <globmapper from="*.java" to="*.class"/>\r
+                </pathconvert>\r
+                <tempfile deleteonexit="true" property="javac.includesfile.binary"/>\r
+                <echo file="${javac.includesfile.binary}" message="${javac.includes.binary}"/>\r
+                <delete>\r
+                    <files includesfile="${javac.includesfile.binary}"/>\r
+                </delete>\r
+                <delete>\r
+                    <fileset file="${javac.includesfile.binary}"/>\r
+                </delete>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target if="${junit.available}" name="-init-macrodef-junit-init">\r
+        <condition else="false" property="nb.junit.batch" value="true">\r
+            <and>\r
+                <istrue value="${junit.available}"/>\r
+                <not>\r
+                    <isset property="test.method"/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <condition else="false" property="nb.junit.single" value="true">\r
+            <and>\r
+                <istrue value="${junit.available}"/>\r
+                <isset property="test.method"/>\r
+            </and>\r
+        </condition>\r
+    </target>\r
+    <target name="-init-test-properties">\r
+        <property name="test.binaryincludes" value="&lt;nothing&gt;"/>\r
+        <property name="test.binarytestincludes" value=""/>\r
+        <property name="test.binaryexcludes" value=""/>\r
+    </target>\r
+    <target if="${nb.junit.single}" name="-init-macrodef-junit-single" unless="${nb.junit.batch}">\r
+        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <property name="junit.forkmode" value="perTest"/>\r
+                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">\r
+                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>\r
+                    <syspropertyset>\r
+                        <propertyref prefix="test-sys-prop."/>\r
+                        <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+                    </syspropertyset>\r
+                    <formatter type="brief" usefile="false"/>\r
+                    <formatter type="xml"/>\r
+                    <jvmarg value="-ea"/>\r
+                    <customize/>\r
+                </junit>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-batch" unless="${nb.junit.single}">\r
+        <macrodef name="junit" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <property name="junit.forkmode" value="perTest"/>\r
+                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">\r
+                    <batchtest todir="${build.test.results.dir}">\r
+                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">\r
+                            <filename name="@{testincludes}"/>\r
+                        </fileset>\r
+                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">\r
+                            <filename name="${test.binarytestincludes}"/>\r
+                        </fileset>\r
+                    </batchtest>\r
+                    <syspropertyset>\r
+                        <propertyref prefix="test-sys-prop."/>\r
+                        <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+                    </syspropertyset>\r
+                    <formatter type="brief" usefile="false"/>\r
+                    <formatter type="xml"/>\r
+                    <jvmarg value="-ea"/>\r
+                    <customize/>\r
+                </junit>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-junit-init,-init-macrodef-junit-single, -init-macrodef-junit-batch" if="${junit.available}" name="-init-macrodef-junit"/>\r
+    <target if="${testng.available}" name="-init-macrodef-testng">\r
+        <macrodef name="testng" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <condition else="" property="testng.methods.arg" value="@{testincludes}.@{testmethods}">\r
+                    <isset property="test.method"/>\r
+                </condition>\r
+                <union id="test.set">\r
+                    <fileset dir="${test.src.dir}" excludes="@{excludes},**/*.xml,${excludes}" includes="@{includes}">\r
+                        <filename name="@{testincludes}"/>\r
+                    </fileset>\r
+                </union>\r
+                <taskdef classname="org.testng.TestNGAntTask" classpath="${run.test.classpath}" name="testng"/>\r
+                <testng classfilesetref="test.set" failureProperty="tests.failed" listeners="org.testng.reporters.VerboseReporter" methods="${testng.methods.arg}" mode="${testng.mode}" outputdir="${build.test.results.dir}" suitename="SummerOfCode" testname="TestNG tests" workingDir="${work.dir}">\r
+                    <xmlfileset dir="${build.test.classes.dir}" includes="@{testincludes}"/>\r
+                    <propertyset>\r
+                        <propertyref prefix="test-sys-prop."/>\r
+                        <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+                    </propertyset>\r
+                    <customize/>\r
+                </testng>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target name="-init-macrodef-test-impl">\r
+        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element implicit="true" name="customize" optional="true"/>\r
+            <sequential>\r
+                <echo>No tests executed.</echo>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-junit" if="${junit.available}" name="-init-macrodef-junit-impl">\r
+        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element implicit="true" name="customize" optional="true"/>\r
+            <sequential>\r
+                <j2seproject3:junit excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">\r
+                    <customize/>\r
+                </j2seproject3:junit>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-testng" if="${testng.available}" name="-init-macrodef-testng-impl">\r
+        <macrodef name="test-impl" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element implicit="true" name="customize" optional="true"/>\r
+            <sequential>\r
+                <j2seproject3:testng excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">\r
+                    <customize/>\r
+                </j2seproject3:testng>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-test-impl,-init-macrodef-junit-impl,-init-macrodef-testng-impl" name="-init-macrodef-test">\r
+        <macrodef name="test" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <sequential>\r
+                <j2seproject3:test-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">\r
+                    <customize>\r
+                        <classpath>\r
+                            <path path="${run.test.classpath}"/>\r
+                        </classpath>\r
+                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                        <jvmarg line="${run.jvmargs}"/>\r
+                        <jvmarg line="${run.jvmargs.ide}"/>\r
+                    </customize>\r
+                </j2seproject3:test-impl>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target if="${junit.available}" name="-init-macrodef-junit-debug" unless="${nb.junit.batch}">\r
+        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <property name="junit.forkmode" value="perTest"/>\r
+                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">\r
+                    <test methods="@{testmethods}" name="@{testincludes}" todir="${build.test.results.dir}"/>\r
+                    <syspropertyset>\r
+                        <propertyref prefix="test-sys-prop."/>\r
+                        <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+                    </syspropertyset>\r
+                    <formatter type="brief" usefile="false"/>\r
+                    <formatter type="xml"/>\r
+                    <jvmarg value="-ea"/>\r
+                    <jvmarg line="${debug-args-line}"/>\r
+                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>\r
+                    <customize/>\r
+                </junit>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-test-properties" if="${nb.junit.batch}" name="-init-macrodef-junit-debug-batch">\r
+        <macrodef name="junit-debug" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <property name="junit.forkmode" value="perTest"/>\r
+                <junit dir="${work.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" forkmode="${junit.forkmode}" showoutput="true" tempdir="${build.dir}">\r
+                    <batchtest todir="${build.test.results.dir}">\r
+                        <fileset dir="${test.src.dir}" excludes="@{excludes},${excludes}" includes="@{includes}">\r
+                            <filename name="@{testincludes}"/>\r
+                        </fileset>\r
+                        <fileset dir="${build.test.classes.dir}" excludes="@{excludes},${excludes},${test.binaryexcludes}" includes="${test.binaryincludes}">\r
+                            <filename name="${test.binarytestincludes}"/>\r
+                        </fileset>\r
+                    </batchtest>\r
+                    <syspropertyset>\r
+                        <propertyref prefix="test-sys-prop."/>\r
+                        <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+                    </syspropertyset>\r
+                    <formatter type="brief" usefile="false"/>\r
+                    <formatter type="xml"/>\r
+                    <jvmarg value="-ea"/>\r
+                    <jvmarg line="${debug-args-line}"/>\r
+                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>\r
+                    <customize/>\r
+                </junit>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-junit-debug,-init-macrodef-junit-debug-batch" if="${junit.available}" name="-init-macrodef-junit-debug-impl">\r
+        <macrodef name="test-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <element implicit="true" name="customize" optional="true"/>\r
+            <sequential>\r
+                <j2seproject3:junit-debug excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">\r
+                    <customize/>\r
+                </j2seproject3:junit-debug>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target if="${testng.available}" name="-init-macrodef-testng-debug">\r
+        <macrodef name="testng-debug" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${main.class}" name="testClass"/>\r
+            <attribute default="" name="testMethod"/>\r
+            <element name="customize2" optional="true"/>\r
+            <sequential>\r
+                <condition else="-testclass @{testClass}" property="test.class.or.method" value="-methods @{testClass}.@{testMethod}">\r
+                    <isset property="test.method"/>\r
+                </condition>\r
+                <condition else="-suitename SummerOfCode -testname @{testClass} ${test.class.or.method}" property="testng.cmd.args" value="@{testClass}">\r
+                    <matches pattern=".*\.xml" string="@{testClass}"/>\r
+                </condition>\r
+                <delete dir="${build.test.results.dir}" quiet="true"/>\r
+                <mkdir dir="${build.test.results.dir}"/>\r
+                <j2seproject3:debug classname="org.testng.TestNG" classpath="${debug.test.classpath}">\r
+                    <customize>\r
+                        <customize2/>\r
+                        <jvmarg value="-ea"/>\r
+                        <arg line="${testng.debug.mode}"/>\r
+                        <arg line="-d ${build.test.results.dir}"/>\r
+                        <arg line="-listener org.testng.reporters.VerboseReporter"/>\r
+                        <arg line="${testng.cmd.args}"/>\r
+                    </customize>\r
+                </j2seproject3:debug>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-testng-debug" if="${testng.available}" name="-init-macrodef-testng-debug-impl">\r
+        <macrodef name="testng-debug-impl" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${main.class}" name="testClass"/>\r
+            <attribute default="" name="testMethod"/>\r
+            <element implicit="true" name="customize2" optional="true"/>\r
+            <sequential>\r
+                <j2seproject3:testng-debug testClass="@{testClass}" testMethod="@{testMethod}">\r
+                    <customize2/>\r
+                </j2seproject3:testng-debug>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-junit-debug-impl" if="${junit.available}" name="-init-macrodef-test-debug-junit">\r
+        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <attribute default="${main.class}" name="testClass"/>\r
+            <attribute default="" name="testMethod"/>\r
+            <sequential>\r
+                <j2seproject3:test-debug-impl excludes="@{excludes}" includes="@{includes}" testincludes="@{testincludes}" testmethods="@{testmethods}">\r
+                    <customize>\r
+                        <classpath>\r
+                            <path path="${run.test.classpath}"/>\r
+                        </classpath>\r
+                        <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                        <jvmarg line="${run.jvmargs}"/>\r
+                        <jvmarg line="${run.jvmargs.ide}"/>\r
+                    </customize>\r
+                </j2seproject3:test-debug-impl>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-testng-debug-impl" if="${testng.available}" name="-init-macrodef-test-debug-testng">\r
+        <macrodef name="test-debug" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${includes}" name="includes"/>\r
+            <attribute default="${excludes}" name="excludes"/>\r
+            <attribute default="**" name="testincludes"/>\r
+            <attribute default="" name="testmethods"/>\r
+            <attribute default="${main.class}" name="testClass"/>\r
+            <attribute default="" name="testMethod"/>\r
+            <sequential>\r
+                <j2seproject3:testng-debug-impl testClass="@{testClass}" testMethod="@{testMethod}">\r
+                    <customize2>\r
+                        <syspropertyset>\r
+                            <propertyref prefix="test-sys-prop."/>\r
+                            <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+                        </syspropertyset>\r
+                    </customize2>\r
+                </j2seproject3:testng-debug-impl>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-init-macrodef-test-debug-junit,-init-macrodef-test-debug-testng" name="-init-macrodef-test-debug"/>\r
+    <!--\r
+                pre NB7.2 profiling section; consider it deprecated\r
+            -->\r
+    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile, -profile-init-check" if="profiler.info.jvmargs.agent" name="profile-init"/>\r
+    <target if="profiler.info.jvmargs.agent" name="-profile-pre-init">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target if="profiler.info.jvmargs.agent" name="-profile-post-init">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target if="profiler.info.jvmargs.agent" name="-profile-init-macrodef-profile">\r
+        <macrodef name="resolve">\r
+            <attribute name="name"/>\r
+            <attribute name="value"/>\r
+            <sequential>\r
+                <property name="@{name}" value="${env.@{value}}"/>\r
+            </sequential>\r
+        </macrodef>\r
+        <macrodef name="profile">\r
+            <attribute default="${main.class}" name="classname"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <property environment="env"/>\r
+                <resolve name="profiler.current.path" value="${profiler.info.pathvar}"/>\r
+                <java classname="@{classname}" dir="${profiler.info.dir}" failonerror="${java.failonerror}" fork="true" jvm="${profiler.info.jvm}">\r
+                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                    <jvmarg value="${profiler.info.jvmargs.agent}"/>\r
+                    <jvmarg line="${profiler.info.jvmargs}"/>\r
+                    <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>\r
+                    <arg line="${application.args}"/>\r
+                    <classpath>\r
+                        <path path="${run.classpath}"/>\r
+                    </classpath>\r
+                    <syspropertyset>\r
+                        <propertyref prefix="run-sys-prop."/>\r
+                        <mapper from="run-sys-prop.*" to="*" type="glob"/>\r
+                    </syspropertyset>\r
+                    <customize/>\r
+                </java>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target depends="-profile-pre-init, init, -profile-post-init, -profile-init-macrodef-profile" if="profiler.info.jvmargs.agent" name="-profile-init-check">\r
+        <fail unless="profiler.info.jvm">Must set JVM to use for profiling in profiler.info.jvm</fail>\r
+        <fail unless="profiler.info.jvmargs.agent">Must set profiler agent JVM arguments in profiler.info.jvmargs.agent</fail>\r
+    </target>\r
+    <!--\r
+                end of pre NB7.2 profiling section\r
+            -->\r
+    <target depends="-init-debug-args" name="-init-macrodef-nbjpda">\r
+        <macrodef name="nbjpdastart" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+            <attribute default="${main.class}" name="name"/>\r
+            <attribute default="${debug.classpath}" name="classpath"/>\r
+            <attribute default="" name="stopclassname"/>\r
+            <sequential>\r
+                <nbjpdastart addressproperty="jpda.address" name="@{name}" stopclassname="@{stopclassname}" transport="${debug-transport}">\r
+                    <classpath>\r
+                        <path path="@{classpath}"/>\r
+                    </classpath>\r
+                </nbjpdastart>\r
+            </sequential>\r
+        </macrodef>\r
+        <macrodef name="nbjpdareload" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+            <attribute default="${build.classes.dir}" name="dir"/>\r
+            <sequential>\r
+                <nbjpdareload>\r
+                    <fileset dir="@{dir}" includes="${fix.classes}">\r
+                        <include name="${fix.includes}*.class"/>\r
+                    </fileset>\r
+                </nbjpdareload>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target name="-init-debug-args">\r
+        <property name="version-output" value="java version &quot;${ant.java.version}"/>\r
+        <condition property="have-jdk-older-than-1.4">\r
+            <or>\r
+                <contains string="${version-output}" substring="java version &quot;1.0"/>\r
+                <contains string="${version-output}" substring="java version &quot;1.1"/>\r
+                <contains string="${version-output}" substring="java version &quot;1.2"/>\r
+                <contains string="${version-output}" substring="java version &quot;1.3"/>\r
+            </or>\r
+        </condition>\r
+        <condition else="-Xdebug" property="debug-args-line" value="-Xdebug -Xnoagent -Djava.compiler=none">\r
+            <istrue value="${have-jdk-older-than-1.4}"/>\r
+        </condition>\r
+        <condition else="dt_socket" property="debug-transport-by-os" value="dt_shmem">\r
+            <os family="windows"/>\r
+        </condition>\r
+        <condition else="${debug-transport-by-os}" property="debug-transport" value="${debug.transport}">\r
+            <isset property="debug.transport"/>\r
+        </condition>\r
+    </target>\r
+    <target depends="-init-debug-args" name="-init-macrodef-debug">\r
+        <macrodef name="debug" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${main.class}" name="classname"/>\r
+            <attribute default="${debug.classpath}" name="classpath"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">\r
+                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                    <jvmarg line="${debug-args-line}"/>\r
+                    <jvmarg value="-Xrunjdwp:transport=${debug-transport},address=${jpda.address}"/>\r
+                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>\r
+                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>\r
+                    <jvmarg line="${run.jvmargs}"/>\r
+                    <jvmarg line="${run.jvmargs.ide}"/>\r
+                    <classpath>\r
+                        <path path="@{classpath}"/>\r
+                    </classpath>\r
+                    <syspropertyset>\r
+                        <propertyref prefix="run-sys-prop."/>\r
+                        <mapper from="run-sys-prop.*" to="*" type="glob"/>\r
+                    </syspropertyset>\r
+                    <customize/>\r
+                </java>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target name="-init-macrodef-java">\r
+        <macrodef name="java" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+            <attribute default="${main.class}" name="classname"/>\r
+            <attribute default="${run.classpath}" name="classpath"/>\r
+            <attribute default="jvm" name="jvm"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <java classname="@{classname}" dir="${work.dir}" failonerror="${java.failonerror}" fork="true">\r
+                    <jvmarg line="${endorsed.classpath.cmd.line.arg}"/>\r
+                    <jvmarg value="-Dfile.encoding=${runtime.encoding}"/>\r
+                    <redirector errorencoding="${runtime.encoding}" inputencoding="${runtime.encoding}" outputencoding="${runtime.encoding}"/>\r
+                    <jvmarg line="${run.jvmargs}"/>\r
+                    <jvmarg line="${run.jvmargs.ide}"/>\r
+                    <classpath>\r
+                        <path path="@{classpath}"/>\r
+                    </classpath>\r
+                    <syspropertyset>\r
+                        <propertyref prefix="run-sys-prop."/>\r
+                        <mapper from="run-sys-prop.*" to="*" type="glob"/>\r
+                    </syspropertyset>\r
+                    <customize/>\r
+                </java>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target name="-init-macrodef-copylibs">\r
+        <macrodef name="copylibs" uri="http://www.netbeans.org/ns/j2se-project/3">\r
+            <attribute default="${manifest.file}" name="manifest"/>\r
+            <element name="customize" optional="true"/>\r
+            <sequential>\r
+                <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>\r
+                <pathconvert property="run.classpath.without.build.classes.dir">\r
+                    <path path="${run.classpath}"/>\r
+                    <map from="${build.classes.dir.resolved}" to=""/>\r
+                </pathconvert>\r
+                <pathconvert pathsep=" " property="jar.classpath">\r
+                    <path path="${run.classpath.without.build.classes.dir}"/>\r
+                    <chainedmapper>\r
+                        <flattenmapper/>\r
+                        <filtermapper>\r
+                            <replacestring from=" " to="%20"/>\r
+                        </filtermapper>\r
+                        <globmapper from="*" to="lib/*"/>\r
+                    </chainedmapper>\r
+                </pathconvert>\r
+                <taskdef classname="org.netbeans.modules.java.j2seproject.copylibstask.CopyLibs" classpath="${libs.CopyLibs.classpath}" name="copylibs"/>\r
+                <copylibs compress="${jar.compress}" excludeFromCopy="${copylibs.excludes}" index="${jar.index}" indexMetaInf="${jar.index.metainf}" jarfile="${dist.jar}" manifest="@{manifest}" rebase="${copylibs.rebase}" runtimeclasspath="${run.classpath.without.build.classes.dir}">\r
+                    <fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>\r
+                    <manifest>\r
+                        <attribute name="Class-Path" value="${jar.classpath}"/>\r
+                        <customize/>\r
+                    </manifest>\r
+                </copylibs>\r
+            </sequential>\r
+        </macrodef>\r
+    </target>\r
+    <target name="-init-presetdef-jar">\r
+        <presetdef name="jar" uri="http://www.netbeans.org/ns/j2se-project/1">\r
+            <jar compress="${jar.compress}" index="${jar.index}" jarfile="${dist.jar}">\r
+                <j2seproject1:fileset dir="${build.classes.dir}" excludes="${dist.archive.excludes}"/>\r
+            </jar>\r
+        </presetdef>\r
+    </target>\r
+    <target name="-init-ap-cmdline-properties">\r
+        <property name="annotation.processing.enabled" value="true"/>\r
+        <property name="annotation.processing.processors.list" value=""/>\r
+        <property name="annotation.processing.processor.options" value=""/>\r
+        <property name="annotation.processing.run.all.processors" value="true"/>\r
+        <property name="javac.processorpath" value="${javac.classpath}"/>\r
+        <property name="javac.test.processorpath" value="${javac.test.classpath}"/>\r
+        <condition property="ap.supported.internal" value="true">\r
+            <not>\r
+                <matches pattern="1\.[0-5](\..*)?" string="${javac.source}"/>\r
+            </not>\r
+        </condition>\r
+    </target>\r
+    <target depends="-init-ap-cmdline-properties" if="ap.supported.internal" name="-init-ap-cmdline-supported">\r
+        <condition else="" property="ap.processors.internal" value="-processor ${annotation.processing.processors.list}">\r
+            <isfalse value="${annotation.processing.run.all.processors}"/>\r
+        </condition>\r
+        <condition else="" property="ap.proc.none.internal" value="-proc:none">\r
+            <isfalse value="${annotation.processing.enabled}"/>\r
+        </condition>\r
+    </target>\r
+    <target depends="-init-ap-cmdline-properties,-init-ap-cmdline-supported" name="-init-ap-cmdline">\r
+        <property name="ap.cmd.line.internal" value=""/>\r
+    </target>\r
+    <target depends="-pre-init,-init-private,-init-user,-init-project,-do-init,-post-init,-init-check,-init-macrodef-property,-init-macrodef-javac,-init-macrodef-test,-init-macrodef-test-debug,-init-macrodef-nbjpda,-init-macrodef-debug,-init-macrodef-java,-init-presetdef-jar,-init-ap-cmdline" name="init"/>\r
+    <!--\r
+                ===================\r
+                COMPILATION SECTION\r
+                ===================\r
+            -->\r
+    <target name="-deps-jar-init" unless="built-jar.properties">\r
+        <property location="${build.dir}/built-jar.properties" name="built-jar.properties"/>\r
+        <delete file="${built-jar.properties}" quiet="true"/>\r
+    </target>\r
+    <target if="already.built.jar.${basedir}" name="-warn-already-built-jar">\r
+        <echo level="warn" message="Cycle detected: SummerOfCode was already built"/>\r
+    </target>\r
+    <target depends="init,-deps-jar-init" name="deps-jar" unless="no.deps">\r
+        <mkdir dir="${build.dir}"/>\r
+        <touch file="${built-jar.properties}" verbose="false"/>\r
+        <property file="${built-jar.properties}" prefix="already.built.jar."/>\r
+        <antcall target="-warn-already-built-jar"/>\r
+        <propertyfile file="${built-jar.properties}">\r
+            <entry key="${basedir}" value=""/>\r
+        </propertyfile>\r
+    </target>\r
+    <target depends="init,-check-automatic-build,-clean-after-automatic-build" name="-verify-automatic-build"/>\r
+    <target depends="init" name="-check-automatic-build">\r
+        <available file="${build.classes.dir}/.netbeans_automatic_build" property="netbeans.automatic.build"/>\r
+    </target>\r
+    <target depends="init" if="netbeans.automatic.build" name="-clean-after-automatic-build">\r
+        <antcall target="clean"/>\r
+    </target>\r
+    <target depends="init,deps-jar" name="-pre-pre-compile">\r
+        <mkdir dir="${build.classes.dir}"/>\r
+    </target>\r
+    <target name="-pre-compile">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target if="do.depend.true" name="-compile-depend">\r
+        <pathconvert property="build.generated.subdirs">\r
+            <dirset dir="${build.generated.sources.dir}" erroronmissingdir="false">\r
+                <include name="*"/>\r
+            </dirset>\r
+        </pathconvert>\r
+        <j2seproject3:depend srcdir="${src.dir}:${build.generated.subdirs}"/>\r
+    </target>\r
+    <target depends="init,deps-jar,-pre-pre-compile,-pre-compile, -copy-persistence-xml,-compile-depend" if="have.sources" name="-do-compile">\r
+        <j2seproject3:javac gensrcdir="${build.generated.sources.dir}"/>\r
+        <copy todir="${build.classes.dir}">\r
+            <fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>\r
+        </copy>\r
+    </target>\r
+    <target if="has.persistence.xml" name="-copy-persistence-xml">\r
+        <mkdir dir="${build.classes.dir}/META-INF"/>\r
+        <copy todir="${build.classes.dir}/META-INF">\r
+            <fileset dir="${meta.inf.dir}" includes="persistence.xml orm.xml"/>\r
+        </copy>\r
+    </target>\r
+    <target name="-post-compile">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile,-do-compile,-post-compile" description="Compile project." name="compile"/>\r
+    <target name="-pre-compile-single">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">\r
+        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>\r
+        <j2seproject3:force-recompile/>\r
+        <j2seproject3:javac excludes="" gensrcdir="${build.generated.sources.dir}" includes="${javac.includes}" sourcepath="${src.dir}"/>\r
+    </target>\r
+    <target name="-post-compile-single">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init,deps-jar,-verify-automatic-build,-pre-pre-compile,-pre-compile-single,-do-compile-single,-post-compile-single" name="compile-single"/>\r
+    <!--\r
+                ====================\r
+                JAR BUILDING SECTION\r
+                ====================\r
+            -->\r
+    <target depends="init" name="-pre-pre-jar">\r
+        <dirname file="${dist.jar}" property="dist.jar.dir"/>\r
+        <mkdir dir="${dist.jar.dir}"/>\r
+    </target>\r
+    <target name="-pre-jar">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init" if="do.archive" name="-do-jar-create-manifest" unless="manifest.available">\r
+        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>\r
+        <touch file="${tmp.manifest.file}" verbose="false"/>\r
+    </target>\r
+    <target depends="init" if="do.archive+manifest.available" name="-do-jar-copy-manifest">\r
+        <tempfile deleteonexit="true" destdir="${build.dir}" property="tmp.manifest.file"/>\r
+        <copy file="${manifest.file}" tofile="${tmp.manifest.file}"/>\r
+    </target>\r
+    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+main.class.available" name="-do-jar-set-mainclass">\r
+        <manifest file="${tmp.manifest.file}" mode="update">\r
+            <attribute name="Main-Class" value="${main.class}"/>\r
+        </manifest>\r
+    </target>\r
+    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+profile.available" name="-do-jar-set-profile">\r
+        <manifest file="${tmp.manifest.file}" mode="update">\r
+            <attribute name="Profile" value="${javac.profile}"/>\r
+        </manifest>\r
+    </target>\r
+    <target depends="init,-do-jar-create-manifest,-do-jar-copy-manifest" if="do.archive+splashscreen.available" name="-do-jar-set-splashscreen">\r
+        <basename file="${application.splash}" property="splashscreen.basename"/>\r
+        <mkdir dir="${build.classes.dir}/META-INF"/>\r
+        <copy failonerror="false" file="${application.splash}" todir="${build.classes.dir}/META-INF"/>\r
+        <manifest file="${tmp.manifest.file}" mode="update">\r
+            <attribute name="SplashScreen-Image" value="META-INF/${splashscreen.basename}"/>\r
+        </manifest>\r
+    </target>\r
+    <target depends="init,-init-macrodef-copylibs,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.mkdist" name="-do-jar-copylibs">\r
+        <j2seproject3:copylibs manifest="${tmp.manifest.file}"/>\r
+        <echo level="info">To run this application from the command line without Ant, try:</echo>\r
+        <property location="${dist.jar}" name="dist.jar.resolved"/>\r
+        <echo level="info">java -jar "${dist.jar.resolved}"</echo>\r
+    </target>\r
+    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen" if="do.archive" name="-do-jar-jar" unless="do.mkdist">\r
+        <j2seproject1:jar manifest="${tmp.manifest.file}"/>\r
+        <property location="${build.classes.dir}" name="build.classes.dir.resolved"/>\r
+        <property location="${dist.jar}" name="dist.jar.resolved"/>\r
+        <pathconvert property="run.classpath.with.dist.jar">\r
+            <path path="${run.classpath}"/>\r
+            <map from="${build.classes.dir.resolved}" to="${dist.jar.resolved}"/>\r
+        </pathconvert>\r
+        <condition else="" property="jar.usage.message" value="To run this application from the command line without Ant, try:${line.separator}${platform.java} -cp ${run.classpath.with.dist.jar} ${main.class}">\r
+            <isset property="main.class.available"/>\r
+        </condition>\r
+        <condition else="debug" property="jar.usage.level" value="info">\r
+            <isset property="main.class.available"/>\r
+        </condition>\r
+        <echo level="${jar.usage.level}" message="${jar.usage.message}"/>\r
+    </target>\r
+    <target depends="-do-jar-copylibs" if="do.archive" name="-do-jar-delete-manifest">\r
+        <delete>\r
+            <fileset file="${tmp.manifest.file}"/>\r
+        </delete>\r
+    </target>\r
+    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-jar,-do-jar-delete-manifest" name="-do-jar-without-libraries"/>\r
+    <target depends="init,compile,-pre-pre-jar,-pre-jar,-do-jar-create-manifest,-do-jar-copy-manifest,-do-jar-set-mainclass,-do-jar-set-profile,-do-jar-set-splashscreen,-do-jar-copylibs,-do-jar-delete-manifest" name="-do-jar-with-libraries"/>\r
+    <target name="-post-jar">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init,compile,-pre-jar,-do-jar-without-libraries,-do-jar-with-libraries,-post-jar" name="-do-jar"/>\r
+    <target depends="init,compile,-pre-jar,-do-jar,-post-jar" description="Build JAR." name="jar"/>\r
+    <!--\r
+                =================\r
+                EXECUTION SECTION\r
+                =================\r
+            -->\r
+    <target depends="init,compile" description="Run a main class." name="run">\r
+        <j2seproject1:java>\r
+            <customize>\r
+                <arg line="${application.args}"/>\r
+            </customize>\r
+        </j2seproject1:java>\r
+    </target>\r
+    <target name="-do-not-recompile">\r
+        <property name="javac.includes.binary" value=""/>\r
+    </target>\r
+    <target depends="init,compile-single" name="run-single">\r
+        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>\r
+        <j2seproject1:java classname="${run.class}"/>\r
+    </target>\r
+    <target depends="init,compile-test-single" name="run-test-with-main">\r
+        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>\r
+        <j2seproject1:java classname="${run.class}" classpath="${run.test.classpath}"/>\r
+    </target>\r
+    <!--\r
+                =================\r
+                DEBUGGING SECTION\r
+                =================\r
+            -->\r
+    <target depends="init" if="netbeans.home" name="-debug-start-debugger">\r
+        <j2seproject1:nbjpdastart name="${debug.class}"/>\r
+    </target>\r
+    <target depends="init" if="netbeans.home" name="-debug-start-debugger-main-test">\r
+        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${debug.class}"/>\r
+    </target>\r
+    <target depends="init,compile" name="-debug-start-debuggee">\r
+        <j2seproject3:debug>\r
+            <customize>\r
+                <arg line="${application.args}"/>\r
+            </customize>\r
+        </j2seproject3:debug>\r
+    </target>\r
+    <target depends="init,compile,-debug-start-debugger,-debug-start-debuggee" description="Debug project in IDE." if="netbeans.home" name="debug"/>\r
+    <target depends="init" if="netbeans.home" name="-debug-start-debugger-stepinto">\r
+        <j2seproject1:nbjpdastart stopclassname="${main.class}"/>\r
+    </target>\r
+    <target depends="init,compile,-debug-start-debugger-stepinto,-debug-start-debuggee" if="netbeans.home" name="debug-stepinto"/>\r
+    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-single">\r
+        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>\r
+        <j2seproject3:debug classname="${debug.class}"/>\r
+    </target>\r
+    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-single" if="netbeans.home" name="debug-single"/>\r
+    <target depends="init,compile-test-single" if="netbeans.home" name="-debug-start-debuggee-main-test">\r
+        <fail unless="debug.class">Must select one file in the IDE or set debug.class</fail>\r
+        <j2seproject3:debug classname="${debug.class}" classpath="${debug.test.classpath}"/>\r
+    </target>\r
+    <target depends="init,compile-test-single,-debug-start-debugger-main-test,-debug-start-debuggee-main-test" if="netbeans.home" name="debug-test-with-main"/>\r
+    <target depends="init" name="-pre-debug-fix">\r
+        <fail unless="fix.includes">Must set fix.includes</fail>\r
+        <property name="javac.includes" value="${fix.includes}.java"/>\r
+    </target>\r
+    <target depends="init,-pre-debug-fix,compile-single" if="netbeans.home" name="-do-debug-fix">\r
+        <j2seproject1:nbjpdareload/>\r
+    </target>\r
+    <target depends="init,-pre-debug-fix,-do-debug-fix" if="netbeans.home" name="debug-fix"/>\r
+    <!--\r
+                =================\r
+                PROFILING SECTION\r
+                =================\r
+            -->\r
+    <!--\r
+                pre NB7.2 profiler integration\r
+            -->\r
+    <target depends="profile-init,compile" description="Profile a project in the IDE." if="profiler.info.jvmargs.agent" name="-profile-pre72">\r
+        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>\r
+        <nbprofiledirect>\r
+            <classpath>\r
+                <path path="${run.classpath}"/>\r
+            </classpath>\r
+        </nbprofiledirect>\r
+        <profile/>\r
+    </target>\r
+    <target depends="profile-init,compile-single" description="Profile a selected class in the IDE." if="profiler.info.jvmargs.agent" name="-profile-single-pre72">\r
+        <fail unless="profile.class">Must select one file in the IDE or set profile.class</fail>\r
+        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>\r
+        <nbprofiledirect>\r
+            <classpath>\r
+                <path path="${run.classpath}"/>\r
+            </classpath>\r
+        </nbprofiledirect>\r
+        <profile classname="${profile.class}"/>\r
+    </target>\r
+    <target depends="profile-init,compile-single" if="profiler.info.jvmargs.agent" name="-profile-applet-pre72">\r
+        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>\r
+        <nbprofiledirect>\r
+            <classpath>\r
+                <path path="${run.classpath}"/>\r
+            </classpath>\r
+        </nbprofiledirect>\r
+        <profile classname="sun.applet.AppletViewer">\r
+            <customize>\r
+                <arg value="${applet.url}"/>\r
+            </customize>\r
+        </profile>\r
+    </target>\r
+    <target depends="profile-init,compile-test-single" if="profiler.info.jvmargs.agent" name="-profile-test-single-pre72">\r
+        <fail unless="netbeans.home">This target only works when run from inside the NetBeans IDE.</fail>\r
+        <nbprofiledirect>\r
+            <classpath>\r
+                <path path="${run.test.classpath}"/>\r
+            </classpath>\r
+        </nbprofiledirect>\r
+        <junit dir="${profiler.info.dir}" errorproperty="tests.failed" failureproperty="tests.failed" fork="true" jvm="${profiler.info.jvm}" showoutput="true">\r
+            <env key="${profiler.info.pathvar}" path="${profiler.info.agentpath}:${profiler.current.path}"/>\r
+            <jvmarg value="${profiler.info.jvmargs.agent}"/>\r
+            <jvmarg line="${profiler.info.jvmargs}"/>\r
+            <test name="${profile.class}"/>\r
+            <classpath>\r
+                <path path="${run.test.classpath}"/>\r
+            </classpath>\r
+            <syspropertyset>\r
+                <propertyref prefix="test-sys-prop."/>\r
+                <mapper from="test-sys-prop.*" to="*" type="glob"/>\r
+            </syspropertyset>\r
+            <formatter type="brief" usefile="false"/>\r
+            <formatter type="xml"/>\r
+        </junit>\r
+    </target>\r
+    <!--\r
+                end of pre NB72 profiling section\r
+            -->\r
+    <target if="netbeans.home" name="-profile-check">\r
+        <condition property="profiler.configured">\r
+            <or>\r
+                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-agentpath:"/>\r
+                <contains casesensitive="true" string="${run.jvmargs.ide}" substring="-javaagent:"/>\r
+            </or>\r
+        </condition>\r
+    </target>\r
+    <target depends="-profile-check,-profile-pre72" description="Profile a project in the IDE." if="profiler.configured" name="profile" unless="profiler.info.jvmargs.agent">\r
+        <startprofiler/>\r
+        <antcall target="run"/>\r
+    </target>\r
+    <target depends="-profile-check,-profile-single-pre72" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-single" unless="profiler.info.jvmargs.agent">\r
+        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>\r
+        <startprofiler/>\r
+        <antcall target="run-single"/>\r
+    </target>\r
+    <target depends="-profile-test-single-pre72" description="Profile a selected test in the IDE." name="profile-test-single"/>\r
+    <target depends="-profile-check" description="Profile a selected test in the IDE." if="profiler.configured" name="profile-test" unless="profiler.info.jvmargs">\r
+        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>\r
+        <startprofiler/>\r
+        <antcall target="test-single"/>\r
+    </target>\r
+    <target depends="-profile-check" description="Profile a selected class in the IDE." if="profiler.configured" name="profile-test-with-main">\r
+        <fail unless="run.class">Must select one file in the IDE or set run.class</fail>\r
+        <startprofiler/>\r
+        <antcal target="run-test-with-main"/>\r
+    </target>\r
+    <target depends="-profile-check,-profile-applet-pre72" if="profiler.configured" name="profile-applet" unless="profiler.info.jvmargs.agent">\r
+        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>\r
+        <startprofiler/>\r
+        <antcall target="run-applet"/>\r
+    </target>\r
+    <!--\r
+                ===============\r
+                JAVADOC SECTION\r
+                ===============\r
+            -->\r
+    <target depends="init" if="have.sources" name="-javadoc-build">\r
+        <mkdir dir="${dist.javadoc.dir}"/>\r
+        <condition else="" property="javadoc.endorsed.classpath.cmd.line.arg" value="-J${endorsed.classpath.cmd.line.arg}">\r
+            <and>\r
+                <isset property="endorsed.classpath.cmd.line.arg"/>\r
+                <not>\r
+                    <equals arg1="${endorsed.classpath.cmd.line.arg}" arg2=""/>\r
+                </not>\r
+            </and>\r
+        </condition>\r
+        <condition else="" property="bug5101868workaround" value="*.java">\r
+            <matches pattern="1\.[56](\..*)?" string="${java.version}"/>\r
+        </condition>\r
+        <javadoc additionalparam="-J-Dfile.encoding=${file.encoding} ${javadoc.additionalparam}" author="${javadoc.author}" charset="UTF-8" destdir="${dist.javadoc.dir}" docencoding="UTF-8" encoding="${javadoc.encoding.used}" failonerror="true" noindex="${javadoc.noindex}" nonavbar="${javadoc.nonavbar}" notree="${javadoc.notree}" private="${javadoc.private}" source="${javac.source}" splitindex="${javadoc.splitindex}" use="${javadoc.use}" useexternalfile="true" version="${javadoc.version}" windowtitle="${javadoc.windowtitle}">\r
+            <classpath>\r
+                <path path="${javac.classpath}"/>\r
+            </classpath>\r
+            <fileset dir="${src.dir}" excludes="${bug5101868workaround},${excludes}" includes="${includes}">\r
+                <filename name="**/*.java"/>\r
+            </fileset>\r
+            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">\r
+                <include name="**/*.java"/>\r
+                <exclude name="*.java"/>\r
+            </fileset>\r
+            <arg line="${javadoc.endorsed.classpath.cmd.line.arg}"/>\r
+        </javadoc>\r
+        <copy todir="${dist.javadoc.dir}">\r
+            <fileset dir="${src.dir}" excludes="${excludes}" includes="${includes}">\r
+                <filename name="**/doc-files/**"/>\r
+            </fileset>\r
+            <fileset dir="${build.generated.sources.dir}" erroronmissingdir="false">\r
+                <include name="**/doc-files/**"/>\r
+            </fileset>\r
+        </copy>\r
+    </target>\r
+    <target depends="init,-javadoc-build" if="netbeans.home" name="-javadoc-browse" unless="no.javadoc.preview">\r
+        <nbbrowse file="${dist.javadoc.dir}/index.html"/>\r
+    </target>\r
+    <target depends="init,-javadoc-build,-javadoc-browse" description="Build Javadoc." name="javadoc"/>\r
+    <!--\r
+                =========================\r
+                TEST COMPILATION SECTION\r
+                =========================\r
+            -->\r
+    <target depends="init,compile" if="have.tests" name="-pre-pre-compile-test">\r
+        <mkdir dir="${build.test.classes.dir}"/>\r
+    </target>\r
+    <target name="-pre-compile-test">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target if="do.depend.true" name="-compile-test-depend">\r
+        <j2seproject3:depend classpath="${javac.test.classpath}" destdir="${build.test.classes.dir}" srcdir="${test.src.dir}"/>\r
+    </target>\r
+    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test,-compile-test-depend" if="have.tests" name="-do-compile-test">\r
+        <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" processorpath="${javac.test.processorpath}" srcdir="${test.src.dir}"/>\r
+        <copy todir="${build.test.classes.dir}">\r
+            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>\r
+        </copy>\r
+    </target>\r
+    <target name="-post-compile-test">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test,-do-compile-test,-post-compile-test" name="compile-test"/>\r
+    <target name="-pre-compile-test-single">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init,deps-jar,compile,-pre-pre-compile-test,-pre-compile-test-single" if="have.tests" name="-do-compile-test-single">\r
+        <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>\r
+        <j2seproject3:force-recompile destdir="${build.test.classes.dir}"/>\r
+        <j2seproject3:javac apgeneratedsrcdir="${build.test.classes.dir}" classpath="${javac.test.classpath}" debug="true" destdir="${build.test.classes.dir}" excludes="" includes="${javac.includes}" processorpath="${javac.test.processorpath}" sourcepath="${test.src.dir}" srcdir="${test.src.dir}"/>\r
+        <copy todir="${build.test.classes.dir}">\r
+            <fileset dir="${test.src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>\r
+        </copy>\r
+    </target>\r
+    <target name="-post-compile-test-single">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init,compile,-pre-pre-compile-test,-pre-compile-test-single,-do-compile-test-single,-post-compile-test-single" name="compile-test-single"/>\r
+    <!--\r
+                =======================\r
+                TEST EXECUTION SECTION\r
+                =======================\r
+            -->\r
+    <target depends="init" if="have.tests" name="-pre-test-run">\r
+        <mkdir dir="${build.test.results.dir}"/>\r
+    </target>\r
+    <target depends="init,compile-test,-pre-test-run" if="have.tests" name="-do-test-run">\r
+        <j2seproject3:test includes="${includes}" testincludes="**/*Test.java"/>\r
+    </target>\r
+    <target depends="init,compile-test,-pre-test-run,-do-test-run" if="have.tests" name="-post-test-run">\r
+        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>\r
+    </target>\r
+    <target depends="init" if="have.tests" name="test-report"/>\r
+    <target depends="init" if="netbeans.home+have.tests" name="-test-browse"/>\r
+    <target depends="init,compile-test,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests." name="test"/>\r
+    <target depends="init" if="have.tests" name="-pre-test-run-single">\r
+        <mkdir dir="${build.test.results.dir}"/>\r
+    </target>\r
+    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single">\r
+        <fail unless="test.includes">Must select some files in the IDE or set test.includes</fail>\r
+        <j2seproject3:test excludes="" includes="${test.includes}" testincludes="${test.includes}"/>\r
+    </target>\r
+    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single" if="have.tests" name="-post-test-run-single">\r
+        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>\r
+    </target>\r
+    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single,-post-test-run-single" description="Run single unit test." name="test-single"/>\r
+    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-do-test-run-single-method">\r
+        <fail unless="test.class">Must select some files in the IDE or set test.class</fail>\r
+        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>\r
+        <j2seproject3:test excludes="" includes="${javac.includes}" testincludes="${test.class}" testmethods="${test.method}"/>\r
+    </target>\r
+    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method" if="have.tests" name="-post-test-run-single-method">\r
+        <fail if="tests.failed" unless="ignore.failing.tests">Some tests failed; see details above.</fail>\r
+    </target>\r
+    <target depends="init,compile-test-single,-pre-test-run-single,-do-test-run-single-method,-post-test-run-single-method" description="Run single unit test." name="test-single-method"/>\r
+    <!--\r
+                =======================\r
+                TEST DEBUGGING SECTION\r
+                =======================\r
+            -->\r
+    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test">\r
+        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>\r
+        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testincludes="${javac.includes}"/>\r
+    </target>\r
+    <target depends="init,compile-test-single,-pre-test-run-single" if="have.tests" name="-debug-start-debuggee-test-method">\r
+        <fail unless="test.class">Must select one file in the IDE or set test.class</fail>\r
+        <fail unless="test.method">Must select some method in the IDE or set test.method</fail>\r
+        <j2seproject3:test-debug excludes="" includes="${javac.includes}" testClass="${test.class}" testMethod="${test.method}" testincludes="${test.class}" testmethods="${test.method}"/>\r
+    </target>\r
+    <target depends="init,compile-test" if="netbeans.home+have.tests" name="-debug-start-debugger-test">\r
+        <j2seproject1:nbjpdastart classpath="${debug.test.classpath}" name="${test.class}"/>\r
+    </target>\r
+    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test" name="debug-test"/>\r
+    <target depends="init,compile-test-single,-debug-start-debugger-test,-debug-start-debuggee-test-method" name="debug-test-method"/>\r
+    <target depends="init,-pre-debug-fix,compile-test-single" if="netbeans.home" name="-do-debug-fix-test">\r
+        <j2seproject1:nbjpdareload dir="${build.test.classes.dir}"/>\r
+    </target>\r
+    <target depends="init,-pre-debug-fix,-do-debug-fix-test" if="netbeans.home" name="debug-fix-test"/>\r
+    <!--\r
+                =========================\r
+                APPLET EXECUTION SECTION\r
+                =========================\r
+            -->\r
+    <target depends="init,compile-single" name="run-applet">\r
+        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>\r
+        <j2seproject1:java classname="sun.applet.AppletViewer">\r
+            <customize>\r
+                <arg value="${applet.url}"/>\r
+            </customize>\r
+        </j2seproject1:java>\r
+    </target>\r
+    <!--\r
+                =========================\r
+                APPLET DEBUGGING  SECTION\r
+                =========================\r
+            -->\r
+    <target depends="init,compile-single" if="netbeans.home" name="-debug-start-debuggee-applet">\r
+        <fail unless="applet.url">Must select one file in the IDE or set applet.url</fail>\r
+        <j2seproject3:debug classname="sun.applet.AppletViewer">\r
+            <customize>\r
+                <arg value="${applet.url}"/>\r
+            </customize>\r
+        </j2seproject3:debug>\r
+    </target>\r
+    <target depends="init,compile-single,-debug-start-debugger,-debug-start-debuggee-applet" if="netbeans.home" name="debug-applet"/>\r
+    <!--\r
+                ===============\r
+                CLEANUP SECTION\r
+                ===============\r
+            -->\r
+    <target name="-deps-clean-init" unless="built-clean.properties">\r
+        <property location="${build.dir}/built-clean.properties" name="built-clean.properties"/>\r
+        <delete file="${built-clean.properties}" quiet="true"/>\r
+    </target>\r
+    <target if="already.built.clean.${basedir}" name="-warn-already-built-clean">\r
+        <echo level="warn" message="Cycle detected: SummerOfCode was already built"/>\r
+    </target>\r
+    <target depends="init,-deps-clean-init" name="deps-clean" unless="no.deps">\r
+        <mkdir dir="${build.dir}"/>\r
+        <touch file="${built-clean.properties}" verbose="false"/>\r
+        <property file="${built-clean.properties}" prefix="already.built.clean."/>\r
+        <antcall target="-warn-already-built-clean"/>\r
+        <propertyfile file="${built-clean.properties}">\r
+            <entry key="${basedir}" value=""/>\r
+        </propertyfile>\r
+    </target>\r
+    <target depends="init" name="-do-clean">\r
+        <delete dir="${build.dir}"/>\r
+        <delete dir="${dist.dir}" followsymlinks="false" includeemptydirs="true"/>\r
+    </target>\r
+    <target name="-post-clean">\r
+        <!-- Empty placeholder for easier customization. -->\r
+        <!-- You can override this target in the ../build.xml file. -->\r
+    </target>\r
+    <target depends="init,deps-clean,-do-clean,-post-clean" description="Clean build products." name="clean"/>\r
+    <target name="-check-call-dep">\r
+        <property file="${call.built.properties}" prefix="already.built."/>\r
+        <condition property="should.call.dep">\r
+            <and>\r
+                <not>\r
+                    <isset property="already.built.${call.subproject}"/>\r
+                </not>\r
+                <available file="${call.script}"/>\r
+            </and>\r
+        </condition>\r
+    </target>\r
+    <target depends="-check-call-dep" if="should.call.dep" name="-maybe-call-dep">\r
+        <ant antfile="${call.script}" inheritall="false" target="${call.target}">\r
+            <propertyset>\r
+                <propertyref prefix="transfer."/>\r
+                <mapper from="transfer.*" to="*" type="glob"/>\r
+            </propertyset>\r
+        </ant>\r
+    </target>\r
+</project>\r
diff --git a/anton/SummerOfCode/nbproject/genfiles.properties b/anton/SummerOfCode/nbproject/genfiles.properties
new file mode 100644 (file)
index 0000000..421e395
--- /dev/null
@@ -0,0 +1,8 @@
+build.xml.data.CRC32=79da8f9b\r
+build.xml.script.CRC32=68ea11f2\r
+build.xml.stylesheet.CRC32=8064a381@1.79.1.48\r
+# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.\r
+# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.\r
+nbproject/build-impl.xml.data.CRC32=79da8f9b\r
+nbproject/build-impl.xml.script.CRC32=b273453e\r
+nbproject/build-impl.xml.stylesheet.CRC32=05530350@1.79.1.48\r
diff --git a/anton/SummerOfCode/nbproject/private/private.properties b/anton/SummerOfCode/nbproject/private/private.properties
new file mode 100644 (file)
index 0000000..8d245d5
--- /dev/null
@@ -0,0 +1,2 @@
+compile.on.save=true\r
+user.properties.file=C:\\Users\\ad2472\\AppData\\Roaming\\NetBeans\\8.1\\build.properties\r
diff --git a/anton/SummerOfCode/nbproject/project.properties b/anton/SummerOfCode/nbproject/project.properties
new file mode 100644 (file)
index 0000000..eeffe9d
--- /dev/null
@@ -0,0 +1,74 @@
+annotation.processing.enabled=true\r
+annotation.processing.enabled.in.editor=false\r
+annotation.processing.processor.options=\r
+annotation.processing.processors.list=\r
+annotation.processing.run.all.processors=true\r
+annotation.processing.source.output=${build.generated.sources.dir}/ap-source-output\r
+build.classes.dir=${build.dir}/classes\r
+build.classes.excludes=**/*.java,**/*.form\r
+# This directory is removed when the project is cleaned:\r
+build.dir=build\r
+build.generated.dir=${build.dir}/generated\r
+build.generated.sources.dir=${build.dir}/generated-sources\r
+# Only compile against the classpath explicitly listed here:\r
+build.sysclasspath=ignore\r
+build.test.classes.dir=${build.dir}/test/classes\r
+build.test.results.dir=${build.dir}/test/results\r
+# Uncomment to specify the preferred debugger connection transport:\r
+#debug.transport=dt_socket\r
+debug.classpath=\\r
+    ${run.classpath}\r
+debug.test.classpath=\\r
+    ${run.test.classpath}\r
+# Files in build.classes.dir which should be excluded from distribution jar\r
+dist.archive.excludes=\r
+# This directory is removed when the project is cleaned:\r
+dist.dir=dist\r
+dist.jar=${dist.dir}/SummerOfCode.jar\r
+dist.javadoc.dir=${dist.dir}/javadoc\r
+excludes=\r
+includes=**\r
+jar.compress=false\r
+javac.classpath=\r
+# Space-separated list of extra javac options\r
+javac.compilerargs=\r
+javac.deprecation=false\r
+javac.external.vm=true\r
+javac.processorpath=\\r
+    ${javac.classpath}\r
+javac.source=1.8\r
+javac.target=1.8\r
+javac.test.classpath=\\r
+    ${javac.classpath}:\\r
+    ${build.classes.dir}\r
+javac.test.processorpath=\\r
+    ${javac.test.classpath}\r
+javadoc.additionalparam=\r
+javadoc.author=false\r
+javadoc.encoding=${source.encoding}\r
+javadoc.noindex=false\r
+javadoc.nonavbar=false\r
+javadoc.notree=false\r
+javadoc.private=false\r
+javadoc.splitindex=true\r
+javadoc.use=true\r
+javadoc.version=false\r
+javadoc.windowtitle=\r
+main.class=summerofcode.Day0\r
+manifest.file=manifest.mf\r
+meta.inf.dir=${src.dir}/META-INF\r
+mkdist.disabled=false\r
+platform.active=default_platform\r
+run.classpath=\\r
+    ${javac.classpath}:\\r
+    ${build.classes.dir}\r
+# Space-separated list of JVM arguments used when running the project.\r
+# You may also define separate properties like run-sys-prop.name=value instead of -Dname=value.\r
+# To set system properties for unit tests define test-sys-prop.name=value:\r
+run.jvmargs=\r
+run.test.classpath=\\r
+    ${javac.test.classpath}:\\r
+    ${build.test.classes.dir}\r
+source.encoding=UTF-8\r
+src.dir=src\r
+test.src.dir=test\r
diff --git a/anton/SummerOfCode/nbproject/project.xml b/anton/SummerOfCode/nbproject/project.xml
new file mode 100644 (file)
index 0000000..fa3708e
--- /dev/null
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<project xmlns="http://www.netbeans.org/ns/project/1">\r
+    <type>org.netbeans.modules.java.j2seproject</type>\r
+    <configuration>\r
+        <data xmlns="http://www.netbeans.org/ns/j2se-project/3">\r
+            <name>SummerOfCode</name>\r
+            <source-roots>\r
+                <root id="src.dir"/>\r
+            </source-roots>\r
+            <test-roots>\r
+                <root id="test.src.dir"/>\r
+            </test-roots>\r
+        </data>\r
+    </configuration>\r
+</project>\r
diff --git a/anton/SummerOfCode/src/summerofcode/Day0.java b/anton/SummerOfCode/src/summerofcode/Day0.java
new file mode 100644 (file)
index 0000000..2e1ee07
--- /dev/null
@@ -0,0 +1,44 @@
+package summerofcode;\r
+\r
+import java.io.FileReader;\r
+import java.util.Scanner;\r
+\r
+/**\r
+ *\r
+ * @author Anton Dil\r
+ */\r
+public class Day0\r
+{\r
+   public static void main(String[] args) throws Exception\r
+   {  \r
+      Scanner sc = new Scanner(new FileReader("00-prices.txt"));  \r
+      \r
+      String id, loc, bestId = "";\r
+      int nullarbor = 0;\r
+      int price, extras, nextCost;      \r
+      int bestCost = Integer.MAX_VALUE;\r
+      \r
+      while(sc.hasNext())\r
+      {\r
+         id = sc.next();         \r
+         price = sc.nextInt();         \r
+         loc = sc.next();        \r
+         extras = sc.nextInt();         \r
+                  \r
+         if(loc.contains("Nullarbor"))\r
+            nullarbor++;\r
+         \r
+         nextCost = price + extras - Math.min(extras, 500);         \r
+         \r
+         if(nextCost < bestCost)\r
+         {\r
+            bestCost = nextCost;         \r
+            bestId = id;\r
+         }\r
+      }      \r
+      \r
+      System.out.println("Nullarbor holidays " + nullarbor);\r
+      System.out.println("Best price holiday " + bestCost + " id " + bestId );\r
+   }\r
+   \r
+}\r
diff --git a/anton/SummerOfCode/src/summerofcode/Day1.java b/anton/SummerOfCode/src/summerofcode/Day1.java
new file mode 100644 (file)
index 0000000..68bd847
--- /dev/null
@@ -0,0 +1,78 @@
+/*\r
+ * Day 1 parts 1 and 2\r
+ */\r
+package summerofcode;\r
+\r
+import java.io.FileReader;\r
+import java.util.HashMap;\r
+import java.util.Map;\r
+import java.util.Scanner;\r
+\r
+/**\r
+ *\r
+ * @author Anton Dil\r
+ */\r
+public class Day1\r
+{\r
+   private final static Map<String,Double> scores = new HashMap<>();\r
+   \r
+   static\r
+   {\r
+      scores.put("Almaty", 2.0);\r
+      scores.put("Brorfelde", 0.9);\r
+      scores.put("Estacada", 0.4);\r
+      scores.put("Jayuya", 0.6);\r
+      scores.put("Karlukovo", 2.2);\r
+      scores.put("Morgantown", 2.9);\r
+      scores.put("Nordkapp", 1.5);\r
+      scores.put("Nullarbor", 2.2);\r
+      scores.put("Puente-Laguna-Garzonkuala-Penyu", 0.4);\r
+      scores.put("Uzupis", 0.9);\r
+   }\r
+   \r
+   public static void main(String[] args) throws Exception\r
+   { \r
+      Scanner sc = new Scanner(new FileReader("01-holidays.txt"));  \r
+      \r
+      String id, loc, bestId = "";\r
+      double value, score;\r
+      double bestValue = 0;      \r
+      int price, days;      \r
+      int afford = 0;\r
+      \r
+      while(sc.hasNext())\r
+      {\r
+         id = sc.next();         \r
+         price = sc.nextInt();         \r
+         loc = sc.next();        \r
+         days = sc.nextInt(); \r
+         \r
+         if(scores.get(loc) != null)\r
+         {\r
+            score = scores.get(loc);\r
+         }\r
+         else\r
+         {\r
+            score = 1.0;\r
+         }\r
+      \r
+         //only consider holidays we can afford        \r
+         if(price <= 1200)\r
+         {                     \r
+            value = score * days/price;   \r
+         \r
+            System.out.printf("%s %d %s %d value %.5f %n", id, price, loc, days, value);\r
+            afford++;\r
+            \r
+            if(value > bestValue)\r
+            {\r
+               bestValue = value;\r
+               bestId = id;\r
+            }\r
+         }\r
+      }      \r
+\r
+      System.out.println("Affordable " + afford);\r
+      System.out.printf("Best value is id %s with value %f%n", bestId, bestValue);\r
+   }\r
+}\r
diff --git a/anton/SummerOfCode/src/summerofcode/Day2.java b/anton/SummerOfCode/src/summerofcode/Day2.java
new file mode 100644 (file)
index 0000000..3a9aa62
--- /dev/null
@@ -0,0 +1,46 @@
+package summerofcode;\r
+\r
+import java.io.FileReader;\r
+import java.util.Scanner;\r
+\r
+/**\r
+ *\r
+ * @author Anton Dil\r
+ */\r
+public class Day2\r
+{\r
+   public static void main(String[] args) throws Exception\r
+   {\r
+      Scanner sc = new Scanner(new FileReader("02-lifts.txt"));\r
+      int exit = Integer.MIN_VALUE; //replaceable floor value\r
+      String input = "";\r
+      int floor = 0;\r
+\r
+      while (sc.hasNext())\r
+      {\r
+         input = sc.next(); //just one line of input in fact\r
+      }\r
+\r
+      System.out.println("Input was " + input);\r
+\r
+      for (char ch : input.toCharArray())\r
+      {\r
+         switch (ch)\r
+         {\r
+            case 'v':\r
+               floor--;\r
+               break;\r
+            case '^':\r
+               floor++;\r
+               break;\r
+            case '=':\r
+               if (floor > exit)\r
+               {\r
+                  exit = floor;\r
+               }\r
+         }\r
+      }\r
+\r
+      System.out.printf("final floor %d, highest exit %d%n", floor, exit);\r
+   }\r
+}\r
diff --git a/anton/SummerOfCode/src/summerofcode/Day3.java b/anton/SummerOfCode/src/summerofcode/Day3.java
new file mode 100644 (file)
index 0000000..b6f082a
--- /dev/null
@@ -0,0 +1,104 @@
+package summerofcode;\r
+\r
+/**\r
+ *\r
+ * @author Anton Dil\r
+ */\r
+public class Day3\r
+{\r
+   static final String pass = "the traveller in the grey riding-coat, who called himself mr. melville, was contemplating the malice of which the gods are capable.";\r
+\r
+   public static void main(String[] args)\r
+   {\r
+      part1();\r
+      System.out.println("\n PART 2 ");\r
+      part2();\r
+   }\r
+\r
+   static void part2()\r
+   {\r
+      int[] newcode =\r
+      {\r
+         ci('r'), ci('i')\r
+      };\r
+\r
+      final int alpha = 5, beta = 11;\r
+\r
+      System.out.printf("newcode %d %d %n", newcode[0], newcode[1]);\r
+\r
+      for (int i = 0; i < pass.length(); i++)\r
+      {\r
+         char nextCh = pass.charAt(i);\r
+\r
+         if (nextCh >= 'a' && nextCh <= 'z')\r
+         {\r
+            newcode[0] = wrap2(newcode[0] + alpha * newcode[1]);\r
+            newcode[1] = wrap2(newcode[1] + beta * ci(nextCh));\r
+\r
+            System.out.printf("nextchar %c newcode %c %c %n", nextCh, ic(newcode[0]), ic(newcode[1]));\r
+         } //else skip this char\r
+\r
+      }\r
+   }\r
+\r
+   static void part1()\r
+   {\r
+      //assuming string length > 1\r
+      int[] oldcode =\r
+      {\r
+         ci(pass.charAt(0)), ci(pass.charAt(1))\r
+      };\r
+\r
+      System.out.printf("oldcode %d %d %n", oldcode[0], oldcode[1]);\r
+\r
+      for (int i = 2; i < pass.length(); i++)\r
+      {\r
+         char nextCh = pass.charAt(i);\r
+\r
+         if (nextCh >= 'a' && nextCh <= 'z')\r
+         {\r
+            //System.out.printf(" next char %c %d %n", nextCh, ci(nextCh));\r
+            oldcode[0] = wrap(oldcode[0] + oldcode[1]);\r
+            oldcode[1] = wrap(oldcode[1] + ci(nextCh));\r
+\r
+            System.out.printf("next char %c oldcode %c %c %n", nextCh, ic(oldcode[0]), ic(oldcode[1]));\r
+         } //else skip this char\r
+\r
+      }\r
+   }\r
+\r
+   //char conversion to int scale, 1-based\r
+   static int ci(char c)\r
+   {\r
+      return c - 'a' + 1;\r
+   }\r
+\r
+   //for readability, the int in char form\r
+   static char ic(int x)\r
+   {\r
+      return (char) (x + 'a' - 1);\r
+   }\r
+\r
+   //oldwrap only needed adjustment by 26\r
+   static int wrap(int x)\r
+   {\r
+      if (x > 26)\r
+      {\r
+         return x - 26;\r
+      }\r
+\r
+      return x;\r
+   }\r
+\r
+   //new wrap needs a modulus\r
+   static int wrap2(int x)\r
+   {\r
+      if (x > 26)\r
+      {\r
+         return (x - 1) % 26 + 1;\r
+      }\r
+\r
+      return x;\r
+   }\r
+\r
+}\r