diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/simple-web-0.1.jar b/lib/ext/simple-web-0.1.jar
deleted file mode 100644
index 3d9bafa..0000000
--- a/lib/ext/simple-web-0.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/simple-web-0.1.jar b/lib/ext/simple-web-0.1.jar
deleted file mode 100644
index 3d9bafa..0000000
--- a/lib/ext/simple-web-0.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/vst-1.1.1.jar b/lib/ext/vst-1.1.1.jar
deleted file mode 100644
index f862543..0000000
--- a/lib/ext/vst-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/simple-web-0.1.jar b/lib/ext/simple-web-0.1.jar
deleted file mode 100644
index 3d9bafa..0000000
--- a/lib/ext/simple-web-0.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/vst-1.1.1.jar b/lib/ext/vst-1.1.1.jar
deleted file mode 100644
index f862543..0000000
--- a/lib/ext/vst-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/h2-1.3.166.jar b/lib/h2-1.3.166.jar
deleted file mode 100644
index 4985063..0000000
--- a/lib/h2-1.3.166.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/simple-web-0.1.jar b/lib/ext/simple-web-0.1.jar
deleted file mode 100644
index 3d9bafa..0000000
--- a/lib/ext/simple-web-0.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/vst-1.1.1.jar b/lib/ext/vst-1.1.1.jar
deleted file mode 100644
index f862543..0000000
--- a/lib/ext/vst-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/h2-1.3.166.jar b/lib/h2-1.3.166.jar
deleted file mode 100644
index 4985063..0000000
--- a/lib/h2-1.3.166.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-api-1.6.4.jar b/lib/slf4j-api-1.6.4.jar
deleted file mode 100644
index 4d23f41..0000000
--- a/lib/slf4j-api-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/simple-web-0.1.jar b/lib/ext/simple-web-0.1.jar
deleted file mode 100644
index 3d9bafa..0000000
--- a/lib/ext/simple-web-0.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/vst-1.1.1.jar b/lib/ext/vst-1.1.1.jar
deleted file mode 100644
index f862543..0000000
--- a/lib/ext/vst-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/h2-1.3.166.jar b/lib/h2-1.3.166.jar
deleted file mode 100644
index 4985063..0000000
--- a/lib/h2-1.3.166.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-api-1.6.4.jar b/lib/slf4j-api-1.6.4.jar
deleted file mode 100644
index 4d23f41..0000000
--- a/lib/slf4j-api-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-simple-1.6.4.jar b/lib/slf4j-simple-1.6.4.jar
deleted file mode 100644
index 3d1b8d9..0000000
--- a/lib/slf4j-simple-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/simple-web-0.1.jar b/lib/ext/simple-web-0.1.jar
deleted file mode 100644
index 3d9bafa..0000000
--- a/lib/ext/simple-web-0.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/vst-1.1.1.jar b/lib/ext/vst-1.1.1.jar
deleted file mode 100644
index f862543..0000000
--- a/lib/ext/vst-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/h2-1.3.166.jar b/lib/h2-1.3.166.jar
deleted file mode 100644
index 4985063..0000000
--- a/lib/h2-1.3.166.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-api-1.6.4.jar b/lib/slf4j-api-1.6.4.jar
deleted file mode 100644
index 4d23f41..0000000
--- a/lib/slf4j-api-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-simple-1.6.4.jar b/lib/slf4j-simple-1.6.4.jar
deleted file mode 100644
index 3d1b8d9..0000000
--- a/lib/slf4j-simple-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/script/default.build.properties b/script/default.build.properties
index 70c5de6..1d713f9 100644
--- a/script/default.build.properties
+++ b/script/default.build.properties
@@ -6,4 +6,4 @@
project.name=SimpleJdbcStatistics
project.dir=${root.dir}
-jar.name=jdbc-stats-1.2
+jar.name=jdbc-stats-1.3
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/simple-web-0.1.jar b/lib/ext/simple-web-0.1.jar
deleted file mode 100644
index 3d9bafa..0000000
--- a/lib/ext/simple-web-0.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/vst-1.1.1.jar b/lib/ext/vst-1.1.1.jar
deleted file mode 100644
index f862543..0000000
--- a/lib/ext/vst-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/h2-1.3.166.jar b/lib/h2-1.3.166.jar
deleted file mode 100644
index 4985063..0000000
--- a/lib/h2-1.3.166.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-api-1.6.4.jar b/lib/slf4j-api-1.6.4.jar
deleted file mode 100644
index 4d23f41..0000000
--- a/lib/slf4j-api-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-simple-1.6.4.jar b/lib/slf4j-simple-1.6.4.jar
deleted file mode 100644
index 3d1b8d9..0000000
--- a/lib/slf4j-simple-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/script/default.build.properties b/script/default.build.properties
index 70c5de6..1d713f9 100644
--- a/script/default.build.properties
+++ b/script/default.build.properties
@@ -6,4 +6,4 @@
project.name=SimpleJdbcStatistics
project.dir=${root.dir}
-jar.name=jdbc-stats-1.2
+jar.name=jdbc-stats-1.3
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..b38d037
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1 @@
+rootProject.name = 'simple-jdbc-stats'
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..aeeb256
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,3 @@
+# Created by .ignore support plugin (hsz.mobi)
+local.properties
+gradle.properties
diff --git a/.idea/.name b/.idea/.name
index b4ad836..5a42f42 100644
--- a/.idea/.name
+++ b/.idea/.name
@@ -1 +1 @@
-Simple-jdbc-statistics
\ No newline at end of file
+simple-jdbc-stats
\ No newline at end of file
diff --git a/.idea/encodings.xml b/.idea/encodings.xml
index e206d70..f758959 100644
--- a/.idea/encodings.xml
+++ b/.idea/encodings.xml
@@ -1,5 +1,6 @@
-
-
-
+
+
+
+
\ No newline at end of file
diff --git a/.idea/gradle.xml b/.idea/gradle.xml
new file mode 100644
index 0000000..1fa251e
--- /dev/null
+++ b/.idea/gradle.xml
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
new file mode 100644
index 0000000..a98a1ed
--- /dev/null
+++ b/.idea/libraries/Gradle__com_h2database_h2_1_4_190.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
new file mode 100644
index 0000000..aa298b2
--- /dev/null
+++ b/.idea/libraries/Gradle__javax_servlet_javax_servlet_api_3_1_0.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__junit_junit_4_11.xml b/.idea/libraries/Gradle__junit_junit_4_11.xml
new file mode 100644
index 0000000..dc26b34
--- /dev/null
+++ b/.idea/libraries/Gradle__junit_junit_4_11.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
new file mode 100644
index 0000000..b7cf8d4
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_template_very_simple_templates_1_2.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
new file mode 100644
index 0000000..5af2242
--- /dev/null
+++ b/.idea/libraries/Gradle__nl_astraeus_web_simple_web_0_1.xml
@@ -0,0 +1,9 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
new file mode 100644
index 0000000..8262f72
--- /dev/null
+++ b/.idea/libraries/Gradle__org_hamcrest_hamcrest_core_1_3.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
new file mode 100644
index 0000000..b2449d1
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_api_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
new file mode 100644
index 0000000..ea11182
--- /dev/null
+++ b/.idea/libraries/Gradle__org_slf4j_slf4j_simple_1_7_12.xml
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
index be607d9..b52a5fe 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -8,9 +8,8 @@
http://www.w3.org/1999/xhtml
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
index 0e22cb8..3ee7fbf 100644
--- a/.idea/modules.xml
+++ b/.idea/modules.xml
@@ -2,10 +2,7 @@
-
-
-
+
-
-
+
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
index e9c8948..59f71d7 100644
--- a/.idea/vcs.xml
+++ b/.idea/vcs.xml
@@ -3,7 +3,8 @@
+
+
-
-
+
\ No newline at end of file
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..3d0e572
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,55 @@
+group 'nl.astraeus.jdbc'
+version '1.4-SNAPSHOT'
+
+apply plugin: 'java'
+apply plugin: 'idea'
+apply plugin: 'maven'
+apply plugin: 'findbugs'
+
+sourceSets {
+ main.java.srcDirs += 'src'
+ main.resources.srcDirs += 'src'
+
+ test.java.srcDirs += 'test'
+ test.resources.srcDirs += 'test'
+}
+
+sourceCompatibility = 1.5
+
+repositories {
+ maven {
+ url "http://nexus.astraeus.nl/nexus/content/groups/public"
+ }
+}
+
+dependencies {
+ testCompile group: 'junit', name: 'junit', version: '4.11'
+
+ compile "nl.astraeus.template:very-simple-templates:1.+"
+ compile "nl.astraeus.web:simple-web:0.1"
+ compile "org.slf4j:slf4j-api:1.7.+"
+ compile "org.slf4j:slf4j-simple:1.7.+"
+ compile "com.h2database:h2:1.4.+"
+}
+
+uploadArchives {
+ repositories {
+ mavenDeployer {
+ repository(url: "http://nexus.astraeus.nl/nexus/content/repositories/releases") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ snapshotRepository(url: "http://nexus.astraeus.nl/nexus/content/repositories/snapshots") {
+ authentication(userName: nexusUsername, password: nexusPassword)
+ }
+ }
+ }
+}
+
+findbugs {
+ ignoreFailures = true
+}
+
+javadoc {
+ failOnError = false
+}
+
diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000..30d399d
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.jar
Binary files differ
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c48905
--- /dev/null
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,6 @@
+#Sat Oct 17 14:30:47 CEST 2015
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-2.5-all.zip
diff --git a/gradlew b/gradlew
new file mode 100755
index 0000000..91a7e26
--- /dev/null
+++ b/gradlew
@@ -0,0 +1,164 @@
+#!/usr/bin/env bash
+
+##############################################################################
+##
+## Gradle start up script for UN*X
+##
+##############################################################################
+
+# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+DEFAULT_JVM_OPTS=""
+
+APP_NAME="Gradle"
+APP_BASE_NAME=`basename "$0"`
+
+# Use the maximum available, or set MAX_FD != -1 to use that value.
+MAX_FD="maximum"
+
+warn ( ) {
+ echo "$*"
+}
+
+die ( ) {
+ echo
+ echo "$*"
+ echo
+ exit 1
+}
+
+# OS specific support (must be 'true' or 'false').
+cygwin=false
+msys=false
+darwin=false
+case "`uname`" in
+ CYGWIN* )
+ cygwin=true
+ ;;
+ Darwin* )
+ darwin=true
+ ;;
+ MINGW* )
+ msys=true
+ ;;
+esac
+
+# For Cygwin, ensure paths are in UNIX format before anything is touched.
+if $cygwin ; then
+ [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
+fi
+
+# Attempt to set APP_HOME
+# Resolve links: $0 may be a link
+PRG="$0"
+# Need this for relative symlinks.
+while [ -h "$PRG" ] ; do
+ ls=`ls -ld "$PRG"`
+ link=`expr "$ls" : '.*-> \(.*\)$'`
+ if expr "$link" : '/.*' > /dev/null; then
+ PRG="$link"
+ else
+ PRG=`dirname "$PRG"`"/$link"
+ fi
+done
+SAVED="`pwd`"
+cd "`dirname \"$PRG\"`/" >&-
+APP_HOME="`pwd -P`"
+cd "$SAVED" >&-
+
+CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
+
+# Determine the Java command to use to start the JVM.
+if [ -n "$JAVA_HOME" ] ; then
+ if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
+ # IBM's JDK on AIX uses strange locations for the executables
+ JAVACMD="$JAVA_HOME/jre/sh/java"
+ else
+ JAVACMD="$JAVA_HOME/bin/java"
+ fi
+ if [ ! -x "$JAVACMD" ] ; then
+ die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+ fi
+else
+ JAVACMD="java"
+ which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+
+Please set the JAVA_HOME variable in your environment to match the
+location of your Java installation."
+fi
+
+# Increase the maximum file descriptors if we can.
+if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then
+ MAX_FD_LIMIT=`ulimit -H -n`
+ if [ $? -eq 0 ] ; then
+ if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
+ MAX_FD="$MAX_FD_LIMIT"
+ fi
+ ulimit -n $MAX_FD
+ if [ $? -ne 0 ] ; then
+ warn "Could not set maximum file descriptor limit: $MAX_FD"
+ fi
+ else
+ warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
+ fi
+fi
+
+# For Darwin, add options to specify how the application appears in the dock
+if $darwin; then
+ GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
+fi
+
+# For Cygwin, switch paths to Windows format before running java
+if $cygwin ; then
+ APP_HOME=`cygpath --path --mixed "$APP_HOME"`
+ CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
+
+ # We build the pattern for arguments to be converted via cygpath
+ ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
+ SEP=""
+ for dir in $ROOTDIRSRAW ; do
+ ROOTDIRS="$ROOTDIRS$SEP$dir"
+ SEP="|"
+ done
+ OURCYGPATTERN="(^($ROOTDIRS))"
+ # Add a user-defined pattern to the cygpath arguments
+ if [ "$GRADLE_CYGPATTERN" != "" ] ; then
+ OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
+ fi
+ # Now convert the arguments - kludge to limit ourselves to /bin/sh
+ i=0
+ for arg in "$@" ; do
+ CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
+ CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
+
+ if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
+ eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
+ else
+ eval `echo args$i`="\"$arg\""
+ fi
+ i=$((i+1))
+ done
+ case $i in
+ (0) set -- ;;
+ (1) set -- "$args0" ;;
+ (2) set -- "$args0" "$args1" ;;
+ (3) set -- "$args0" "$args1" "$args2" ;;
+ (4) set -- "$args0" "$args1" "$args2" "$args3" ;;
+ (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
+ (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
+ (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
+ (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
+ (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
+ esac
+fi
+
+# Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules
+function splitJvmOpts() {
+ JVM_OPTS=("$@")
+}
+eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS
+JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME"
+
+exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@"
diff --git a/gradlew.bat b/gradlew.bat
new file mode 100644
index 0000000..8a0b282
--- /dev/null
+++ b/gradlew.bat
@@ -0,0 +1,90 @@
+@if "%DEBUG%" == "" @echo off
+@rem ##########################################################################
+@rem
+@rem Gradle startup script for Windows
+@rem
+@rem ##########################################################################
+
+@rem Set local scope for the variables with windows NT shell
+if "%OS%"=="Windows_NT" setlocal
+
+@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
+set DEFAULT_JVM_OPTS=
+
+set DIRNAME=%~dp0
+if "%DIRNAME%" == "" set DIRNAME=.
+set APP_BASE_NAME=%~n0
+set APP_HOME=%DIRNAME%
+
+@rem Find java.exe
+if defined JAVA_HOME goto findJavaFromJavaHome
+
+set JAVA_EXE=java.exe
+%JAVA_EXE% -version >NUL 2>&1
+if "%ERRORLEVEL%" == "0" goto init
+
+echo.
+echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:findJavaFromJavaHome
+set JAVA_HOME=%JAVA_HOME:"=%
+set JAVA_EXE=%JAVA_HOME%/bin/java.exe
+
+if exist "%JAVA_EXE%" goto init
+
+echo.
+echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
+echo.
+echo Please set the JAVA_HOME variable in your environment to match the
+echo location of your Java installation.
+
+goto fail
+
+:init
+@rem Get command-line arguments, handling Windowz variants
+
+if not "%OS%" == "Windows_NT" goto win9xME_args
+if "%@eval[2+2]" == "4" goto 4NT_args
+
+:win9xME_args
+@rem Slurp the command line arguments.
+set CMD_LINE_ARGS=
+set _SKIP=2
+
+:win9xME_args_slurp
+if "x%~1" == "x" goto execute
+
+set CMD_LINE_ARGS=%*
+goto execute
+
+:4NT_args
+@rem Get arguments from the 4NT Shell from JP Software
+set CMD_LINE_ARGS=%$
+
+:execute
+@rem Setup the command line
+
+set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
+
+@rem Execute Gradle
+"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
+
+:end
+@rem End local scope for the variables with windows NT shell
+if "%ERRORLEVEL%"=="0" goto mainEnd
+
+:fail
+rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
+rem the _cmd.exe /c_ return code!
+if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
+exit /b 1
+
+:mainEnd
+if "%OS%"=="Windows_NT" endlocal
+
+:omega
diff --git a/lib/build/cobertura/cobertura.jar b/lib/build/cobertura/cobertura.jar
deleted file mode 100644
index 438fe55..0000000
--- a/lib/build/cobertura/cobertura.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-3.0.jar b/lib/build/cobertura/lib/asm-3.0.jar
deleted file mode 100644
index 112f5bd..0000000
--- a/lib/build/cobertura/lib/asm-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/asm-tree-3.0.jar b/lib/build/cobertura/lib/asm-tree-3.0.jar
deleted file mode 100644
index 2a4b208..0000000
--- a/lib/build/cobertura/lib/asm-tree-3.0.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar b/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
deleted file mode 100644
index 23488d2..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-2.0.8.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/jakarta-oro-license.txt b/lib/build/cobertura/lib/jakarta-oro-license.txt
deleted file mode 100644
index 3879a98..0000000
--- a/lib/build/cobertura/lib/jakarta-oro-license.txt
+++ /dev/null
@@ -1,53 +0,0 @@
-/* ====================================================================
- * The Apache Software License, Version 1.1
- *
- * Copyright (c) 2000-2002 The Apache Software Foundation. All rights
- * reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- *
- * 1. Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in
- * the documentation and/or other materials provided with the
- * distribution.
- *
- * 3. The end-user documentation included with the redistribution,
- * if any, must include the following acknowledgment:
- * "This product includes software developed by the
- * Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself,
- * if and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "Apache" and "Apache Software Foundation", "Jakarta-Oro"
- * must not be used to endorse or promote products derived from this
- * software without prior written permission. For written
- * permission, please contact apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache"
- * or "Jakarta-Oro", nor may "Apache" or "Jakarta-Oro" appear in their
- * level, without prior written permission of the Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
- * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
- * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
- * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
- * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
- * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
- * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
- * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
- * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
- * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
- * SUCH DAMAGE.
- * ====================================================================
- *
- * This software consists of voluntary contributions made by many
- * individuals on behalf of the Apache Software Foundation. For more
- * information on the Apache Software Foundation, please see
- * .
- */
diff --git a/lib/build/cobertura/lib/log4j-1.2.9.jar b/lib/build/cobertura/lib/log4j-1.2.9.jar
deleted file mode 100644
index a6568b0..0000000
--- a/lib/build/cobertura/lib/log4j-1.2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/cobertura/lib/log4j-license.txt b/lib/build/cobertura/lib/log4j-license.txt
deleted file mode 100644
index b2f1f19..0000000
--- a/lib/build/cobertura/lib/log4j-license.txt
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * ============================================================================
- * The Apache Software License, Version 1.1
- * ============================================================================
- *
- * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without modifica-
- * tion, are permitted provided that the following conditions are met:
- *
- * 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- *
- * 2. Redistributions in binary form must reproduce the above copyright notice,
- * this list of conditions and the following disclaimer in the documentation
- * and/or other materials provided with the distribution.
- *
- * 3. The end-user documentation included with the redistribution, if any, must
- * include the following acknowledgment: "This product includes software
- * developed by the Apache Software Foundation (http://www.apache.org/)."
- * Alternately, this acknowledgment may appear in the software itself, if
- * and wherever such third-party acknowledgments normally appear.
- *
- * 4. The names "log4j" and "Apache Software Foundation" must not be used to
- * endorse or promote products derived from this software without prior
- * written permission. For written permission, please contact
- * apache@apache.org.
- *
- * 5. Products derived from this software may not be called "Apache", nor may
- * "Apache" appear in their level, without prior written permission of the
- * Apache Software Foundation.
- *
- * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
- * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
- * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
- * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLU-
- * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
- * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
- * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * This software consists of voluntary contributions made by many individuals
- * on behalf of the Apache Software Foundation. For more information on the
- * Apache Software Foundation, please see .
- *
- */
diff --git a/lib/build/findbugs-1.3.9/annotations.jar b/lib/build/findbugs-1.3.9/annotations.jar
deleted file mode 100644
index ce70abe..0000000
--- a/lib/build/findbugs-1.3.9/annotations.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/ant.jar b/lib/build/findbugs-1.3.9/ant.jar
deleted file mode 100644
index 0a56a58..0000000
--- a/lib/build/findbugs-1.3.9/ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-3.1.jar b/lib/build/findbugs-1.3.9/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/findbugs-1.3.9/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar b/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
deleted file mode 100644
index c3a62a2..0000000
--- a/lib/build/findbugs-1.3.9/asm-analysis-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar b/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
deleted file mode 100644
index 5f696ae..0000000
--- a/lib/build/findbugs-1.3.9/asm-commons-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar b/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
deleted file mode 100644
index 5ad4cf2..0000000
--- a/lib/build/findbugs-1.3.9/asm-tree-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-util-3.1.jar b/lib/build/findbugs-1.3.9/asm-util-3.1.jar
deleted file mode 100644
index 3702a14..0000000
--- a/lib/build/findbugs-1.3.9/asm-util-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar b/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
deleted file mode 100644
index 8695f56..0000000
--- a/lib/build/findbugs-1.3.9/asm-xml-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/bcel.jar b/lib/build/findbugs-1.3.9/bcel.jar
deleted file mode 100644
index 8d1217b..0000000
--- a/lib/build/findbugs-1.3.9/bcel.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar b/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
deleted file mode 100644
index 532939e..0000000
--- a/lib/build/findbugs-1.3.9/commons-lang-2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar b/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
deleted file mode 100644
index c8c4dbb..0000000
--- a/lib/build/findbugs-1.3.9/dom4j-1.6.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs-ant.jar b/lib/build/findbugs-1.3.9/findbugs-ant.jar
deleted file mode 100644
index 4fe8076..0000000
--- a/lib/build/findbugs-1.3.9/findbugs-ant.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/findbugs.jar b/lib/build/findbugs-1.3.9/findbugs.jar
deleted file mode 100644
index b070f5d..0000000
--- a/lib/build/findbugs-1.3.9/findbugs.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jFormatString.jar b/lib/build/findbugs-1.3.9/jFormatString.jar
deleted file mode 100644
index eadfd91..0000000
--- a/lib/build/findbugs-1.3.9/jFormatString.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar b/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/findbugs-1.3.9/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jdepend-2.9.jar b/lib/build/findbugs-1.3.9/jdepend-2.9.jar
deleted file mode 100644
index 1838bbb..0000000
--- a/lib/build/findbugs-1.3.9/jdepend-2.9.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/jsr305.jar b/lib/build/findbugs-1.3.9/jsr305.jar
deleted file mode 100644
index a9afc66..0000000
--- a/lib/build/findbugs-1.3.9/jsr305.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar b/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
deleted file mode 100644
index ebfe068..0000000
--- a/lib/build/findbugs-1.3.9/mysql-connector-java-5.1.7-bin.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-4.5.jar b/lib/build/junit/junit-4.5.jar
deleted file mode 100644
index 7a4df6c..0000000
--- a/lib/build/junit/junit-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/junit/junit-dep-4.5.jar b/lib/build/junit/junit-dep-4.5.jar
deleted file mode 100644
index b362fc1..0000000
--- a/lib/build/junit/junit-dep-4.5.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/ccl.jar b/lib/build/ncss/ccl.jar
deleted file mode 100644
index 1407078..0000000
--- a/lib/build/ncss/ccl.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javacc.jar b/lib/build/ncss/javacc.jar
deleted file mode 100644
index 38f8426..0000000
--- a/lib/build/ncss/javacc.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancss.jar b/lib/build/ncss/javancss.jar
deleted file mode 100644
index 235bc80..0000000
--- a/lib/build/ncss/javancss.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/javancssanttask.jar b/lib/build/ncss/javancssanttask.jar
deleted file mode 100644
index 80841c4..0000000
--- a/lib/build/ncss/javancssanttask.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/ncss/jhbasic.jar b/lib/build/ncss/jhbasic.jar
deleted file mode 100644
index 064d3fb..0000000
--- a/lib/build/ncss/jhbasic.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/asm-3.1.jar b/lib/build/pmd/asm-3.1.jar
deleted file mode 100644
index b3baf3f..0000000
--- a/lib/build/pmd/asm-3.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/jaxen-1.1.1.jar b/lib/build/pmd/jaxen-1.1.1.jar
deleted file mode 100644
index b633631..0000000
--- a/lib/build/pmd/jaxen-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/junit-4.4.jar b/lib/build/pmd/junit-4.4.jar
deleted file mode 100644
index 649b0b3..0000000
--- a/lib/build/pmd/junit-4.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/build/pmd/pmd-4.2.4.jar b/lib/build/pmd/pmd-4.2.4.jar
deleted file mode 100644
index 45face5..0000000
--- a/lib/build/pmd/pmd-4.2.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/simple-web-0.1.jar b/lib/ext/simple-web-0.1.jar
deleted file mode 100644
index 3d9bafa..0000000
--- a/lib/ext/simple-web-0.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/ext/vst-1.1.1.jar b/lib/ext/vst-1.1.1.jar
deleted file mode 100644
index f862543..0000000
--- a/lib/ext/vst-1.1.1.jar
+++ /dev/null
Binary files differ
diff --git a/lib/h2-1.3.166.jar b/lib/h2-1.3.166.jar
deleted file mode 100644
index 4985063..0000000
--- a/lib/h2-1.3.166.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-api-1.6.4.jar b/lib/slf4j-api-1.6.4.jar
deleted file mode 100644
index 4d23f41..0000000
--- a/lib/slf4j-api-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/lib/slf4j-simple-1.6.4.jar b/lib/slf4j-simple-1.6.4.jar
deleted file mode 100644
index 3d1b8d9..0000000
--- a/lib/slf4j-simple-1.6.4.jar
+++ /dev/null
Binary files differ
diff --git a/script/default.build.properties b/script/default.build.properties
index 70c5de6..1d713f9 100644
--- a/script/default.build.properties
+++ b/script/default.build.properties
@@ -6,4 +6,4 @@
project.name=SimpleJdbcStatistics
project.dir=${root.dir}
-jar.name=jdbc-stats-1.2
+jar.name=jdbc-stats-1.3
diff --git a/settings.gradle b/settings.gradle
new file mode 100644
index 0000000..b38d037
--- /dev/null
+++ b/settings.gradle
@@ -0,0 +1 @@
+rootProject.name = 'simple-jdbc-stats'
diff --git a/simple-jdbc-stats.iml b/simple-jdbc-stats.iml
new file mode 100644
index 0000000..c39d6da
--- /dev/null
+++ b/simple-jdbc-stats.iml
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file