Ant build script for Titanium Android module svg-view
diff --git a/android/build/classes/com/geraudbourdin/svgview/SvgViewBootstrap.class b/android/build/classes/com/geraudbourdin/svgview/SvgViewBootstrap.class
deleted file mode 100644
index 283d928..0000000
Binary files a/android/build/classes/com/geraudbourdin/svgview/SvgViewBootstrap.class and /dev/null differ
diff --git a/android/build/classes/com/geraudbourdin/svgview/SvgViewModule.class b/android/build/classes/com/geraudbourdin/svgview/SvgViewModule.class
deleted file mode 100644
index 671a3fc..0000000
Binary files a/android/build/classes/com/geraudbourdin/svgview/SvgViewModule.class and /dev/null differ
diff --git a/android/build/classes/com/geraudbourdin/svgview/ViewProxy$1.class b/android/build/classes/com/geraudbourdin/svgview/ViewProxy$1.class
deleted file mode 100644
index 926102f..0000000
Binary files a/android/build/classes/com/geraudbourdin/svgview/ViewProxy$1.class and /dev/null differ
diff --git a/android/build/classes/com/geraudbourdin/svgview/ViewProxy$SvgView.class b/android/build/classes/com/geraudbourdin/svgview/ViewProxy$SvgView.class
deleted file mode 100644
index 88586b5..0000000
Binary files a/android/build/classes/com/geraudbourdin/svgview/ViewProxy$SvgView.class and /dev/null differ
diff --git a/android/build/classes/com/geraudbourdin/svgview/ViewProxy.class b/android/build/classes/com/geraudbourdin/svgview/ViewProxy.class
deleted file mode 100644
index c29cba8..0000000
Binary files a/android/build/classes/com/geraudbourdin/svgview/ViewProxy.class and /dev/null differ
diff --git a/android/build/classes/org/appcelerator/titanium/bindings/svg-view.json b/android/build/classes/org/appcelerator/titanium/bindings/SvgView.json
similarity index 100%
rename from android/build/classes/org/appcelerator/titanium/bindings/svg-view.json
rename to android/build/classes/org/appcelerator/titanium/bindings/SvgView.json
diff --git a/android/build/docs/index.html b/android/build/docs/index.html
deleted file mode 100644
index af47491..0000000
--- a/android/build/docs/index.html
+++ /dev/null
@@ -1,22 +0,0 @@
-svg-view Module
-Description
-TODO: Enter your module description here
-Accessing the svg-view Module
-To access this module from JavaScript, you would do the following:
-var svg_view = require("com.geraudbourdin.svgview");
-
-The svg_view variable is a reference to the Module object.
-Reference
-TODO: If your module has an API, you should document
-the reference here.
-svg_view.function
-TODO: This is an example of a module function.
-svg_view.property
-TODO: This is an example of a module property.
-Usage
-TODO: Enter your usage example here
-Author
-TODO: Enter your author name, email and other contact
-details you want to share here.
-License
-TODO: Enter your license/legal information here.
\ No newline at end of file
diff --git a/android/build/generated/Application.mk b/android/build/generated/Application.mk
deleted file mode 100644
index 2ee847b..0000000
--- a/android/build/generated/Application.mk
+++ /dev/null
@@ -1,6 +0,0 @@
-# Main NDK build script for com.geraudbourdin.svgview
-
-APP_BUILD_SCRIPT := jni/Android.mk
-TARGET_PLATFORM := android-10
-APP_STL := stlport_shared
-APP_ABI := armeabi armeabi-v7a x86
diff --git a/android/build/generated/BootstrapJS.cpp b/android/build/generated/BootstrapJS.cpp
deleted file mode 100644
index ec6eb9d..0000000
--- a/android/build/generated/BootstrapJS.cpp
+++ /dev/null
@@ -1,25 +0,0 @@
-#ifndef KROLL_NATIVES_H
-#define KROLL_NATIVES_H
-
-#include
-
-namespace titanium {
-
- const char bootstrap_native[] = { 47, 42, 42, 10, 32, 42, 32, 65, 112, 112, 99, 101, 108, 101, 114, 97, 116, 111, 114, 32, 84, 105, 116, 97, 110, 105, 117, 109, 32, 77, 111, 98, 105, 108, 101, 10, 32, 42, 32, 67, 111, 112, 121, 114, 105, 103, 104, 116, 32, 40, 99, 41, 32, 50, 48, 49, 49, 32, 98, 121, 32, 65, 112, 112, 99, 101, 108, 101, 114, 97, 116, 111, 114, 44, 32, 73, 110, 99, 46, 32, 65, 108, 108, 32, 82, 105, 103, 104, 116, 115, 32, 82, 101, 115, 101, 114, 118, 101, 100, 46, 10, 32, 42, 32, 76, 105, 99, 101, 110, 115, 101, 100, 32, 117, 110, 100, 101, 114, 32, 116, 104, 101, 32, 116, 101, 114, 109, 115, 32, 111, 102, 32, 116, 104, 101, 32, 65, 112, 97, 99, 104, 101, 32, 80, 117, 98, 108, 105, 99, 32, 76, 105, 99, 101, 110, 115, 101, 10, 32, 42, 32, 80, 108, 101, 97, 115, 101, 32, 115, 101, 101, 32, 116, 104, 101, 32, 76, 73, 67, 69, 78, 83, 69, 32, 105, 110, 99, 108, 117, 100, 101, 100, 32, 119, 105, 116, 104, 32, 116, 104, 105, 115, 32, 100, 105, 115, 116, 114, 105, 98, 117, 116, 105, 111, 110, 32, 102, 111, 114, 32, 100, 101, 116, 97, 105, 108, 115, 46, 10, 32, 42, 10, 32, 42, 32, 87, 97, 114, 110, 105, 110, 103, 58, 32, 84, 104, 105, 115, 32, 102, 105, 108, 101, 32, 105, 115, 32, 71, 69, 78, 69, 82, 65, 84, 69, 68, 44, 32, 97, 110, 100, 32, 115, 104, 111, 117, 108, 100, 32, 110, 111, 116, 32, 98, 101, 32, 109, 111, 100, 105, 102, 105, 101, 100, 10, 32, 42, 47, 10, 118, 97, 114, 32, 98, 111, 111, 116, 115, 116, 114, 97, 112, 32, 61, 32, 107, 114, 111, 108, 108, 46, 78, 97, 116, 105, 118, 101, 77, 111, 100, 117, 108, 101, 46, 114, 101, 113, 117, 105, 114, 101, 40, 34, 98, 111, 111, 116, 115, 116, 114, 97, 112, 34, 41, 44, 10, 9, 105, 110, 118, 111, 107, 101, 114, 32, 61, 32, 107, 114, 111, 108, 108, 46, 78, 97, 116, 105, 118, 101, 77, 111, 100, 117, 108, 101, 46, 114, 101, 113, 117, 105, 114, 101, 40, 34, 105, 110, 118, 111, 107, 101, 114, 34, 41, 44, 10, 9, 84, 105, 116, 97, 110, 105, 117, 109, 32, 61, 32, 107, 114, 111, 108, 108, 46, 98, 105, 110, 100, 105, 110, 103, 40, 34, 84, 105, 116, 97, 110, 105, 117, 109, 34, 41, 46, 84, 105, 116, 97, 110, 105, 117, 109, 59, 10, 10, 102, 117, 110, 99, 116, 105, 111, 110, 32, 109, 111, 100, 117, 108, 101, 66, 111, 111, 116, 115, 116, 114, 97, 112, 40, 109, 111, 100, 117, 108, 101, 66, 105, 110, 100, 105, 110, 103, 41, 32, 123, 10, 9, 102, 117, 110, 99, 116, 105, 111, 110, 32, 108, 97, 122, 121, 71, 101, 116, 40, 111, 98, 106, 101, 99, 116, 44, 32, 98, 105, 110, 100, 105, 110, 103, 44, 32, 110, 97, 109, 101, 44, 32, 110, 97, 109, 101, 115, 112, 97, 99, 101, 41, 32, 123, 10, 9, 9, 114, 101, 116, 117, 114, 110, 32, 98, 111, 111, 116, 115, 116, 114, 97, 112, 46, 108, 97, 122, 121, 71, 101, 116, 40, 111, 98, 106, 101, 99, 116, 44, 32, 98, 105, 110, 100, 105, 110, 103, 44, 10, 9, 9, 9, 110, 97, 109, 101, 44, 32, 110, 97, 109, 101, 115, 112, 97, 99, 101, 44, 32, 109, 111, 100, 117, 108, 101, 66, 105, 110, 100, 105, 110, 103, 46, 103, 101, 116, 66, 105, 110, 100, 105, 110, 103, 41, 59, 10, 9, 125, 10, 10, 9, 118, 97, 114, 32, 109, 111, 100, 117, 108, 101, 32, 61, 32, 109, 111, 100, 117, 108, 101, 66, 105, 110, 100, 105, 110, 103, 46, 103, 101, 116, 66, 105, 110, 100, 105, 110, 103, 40, 34, 99, 111, 109, 46, 103, 101, 114, 97, 117, 100, 98, 111, 117, 114, 100, 105, 110, 46, 115, 118, 103, 118, 105, 101, 119, 46, 83, 118, 103, 86, 105, 101, 119, 77, 111, 100, 117, 108, 101, 34, 41, 91, 34, 83, 118, 103, 86, 105, 101, 119, 34, 93, 59, 10, 9, 118, 97, 114, 32, 105, 110, 118, 111, 99, 97, 116, 105, 111, 110, 65, 80, 73, 115, 32, 61, 32, 109, 111, 100, 117, 108, 101, 46, 105, 110, 118, 111, 99, 97, 116, 105, 111, 110, 65, 80, 73, 115, 32, 61, 32, 91, 93, 59, 10, 9, 109, 111, 100, 117, 108, 101, 46, 97, 112, 105, 78, 97, 109, 101, 32, 61, 32, 34, 83, 118, 103, 86, 105, 101, 119, 34, 59, 10, 10, 9, 102, 117, 110, 99, 116, 105, 111, 110, 32, 97, 100, 100, 73, 110, 118, 111, 99, 97, 116, 105, 111, 110, 65, 80, 73, 40, 109, 111, 100, 117, 108, 101, 44, 32, 109, 111, 100, 117, 108, 101, 78, 97, 109, 101, 115, 112, 97, 99, 101, 44, 32, 110, 97, 109, 101, 115, 112, 97, 99, 101, 44, 32, 97, 112, 105, 41, 32, 123, 10, 9, 9, 105, 110, 118, 111, 99, 97, 116, 105, 111, 110, 65, 80, 73, 115, 46, 112, 117, 115, 104, 40, 123, 32, 110, 97, 109, 101, 115, 112, 97, 99, 101, 58, 32, 110, 97, 109, 101, 115, 112, 97, 99, 101, 44, 32, 97, 112, 105, 58, 32, 97, 112, 105, 32, 125, 41, 59, 10, 9, 125, 10, 10, 9, 9, 97, 100, 100, 73, 110, 118, 111, 99, 97, 116, 105, 111, 110, 65, 80, 73, 40, 109, 111, 100, 117, 108, 101, 44, 32, 34, 83, 118, 103, 86, 105, 101, 119, 34, 44, 32, 34, 83, 118, 103, 86, 105, 101, 119, 34, 44, 32, 34, 99, 114, 101, 97, 116, 101, 86, 105, 101, 119, 34, 41, 59, 10, 10, 9, 9, 9, 105, 102, 32, 40, 33, 40, 34, 95, 95, 112, 114, 111, 112, 101, 114, 116, 105, 101, 115, 68, 101, 102, 105, 110, 101, 100, 95, 95, 34, 32, 105, 110, 32, 109, 111, 100, 117, 108, 101, 41, 41, 32, 123, 9, 9, 10, 9, 9, 79, 98, 106, 101, 99, 116, 46, 100, 101, 102, 105, 110, 101, 80, 114, 111, 112, 101, 114, 116, 105, 101, 115, 40, 109, 111, 100, 117, 108, 101, 44, 32, 123, 10, 9, 9, 9, 34, 86, 105, 101, 119, 34, 58, 32, 123, 10, 9, 9, 9, 9, 103, 101, 116, 58, 32, 102, 117, 110, 99, 116, 105, 111, 110, 40, 41, 32, 123, 10, 9, 9, 9, 9, 9, 118, 97, 114, 32, 86, 105, 101, 119, 32, 61, 32, 108, 97, 122, 121, 71, 101, 116, 40, 116, 104, 105, 115, 44, 32, 34, 99, 111, 109, 46, 103, 101, 114, 97, 117, 100, 98, 111, 117, 114, 100, 105, 110, 46, 115, 118, 103, 118, 105, 101, 119, 46, 86, 105, 101, 119, 80, 114, 111, 120, 121, 34, 44, 32, 34, 86, 105, 101, 119, 34, 44, 32, 34, 86, 105, 101, 119, 34, 41, 59, 10, 9, 9, 9, 9, 9, 114, 101, 116, 117, 114, 110, 32, 86, 105, 101, 119, 59, 10, 9, 9, 9, 9, 125, 44, 10, 9, 9, 9, 9, 99, 111, 110, 102, 105, 103, 117, 114, 97, 98, 108, 101, 58, 32, 116, 114, 117, 101, 10, 9, 9, 9, 125, 44, 10, 9, 9, 10, 9, 9, 125, 41, 59, 10, 9, 9, 109, 111, 100, 117, 108, 101, 46, 99, 111, 110, 115, 116, 114, 117, 99, 116, 111, 114, 46, 112, 114, 111, 116, 111, 116, 121, 112, 101, 46, 99, 114, 101, 97, 116, 101, 86, 105, 101, 119, 32, 61, 32, 102, 117, 110, 99, 116, 105, 111, 110, 40, 41, 32, 123, 10, 9, 9, 9, 114, 101, 116, 117, 114, 110, 32, 110, 101, 119, 32, 109, 111, 100, 117, 108, 101, 46, 86, 105, 101, 119, 40, 97, 114, 103, 117, 109, 101, 110, 116, 115, 41, 59, 10, 9, 9, 125, 10, 9, 9, 125, 10, 9, 9, 109, 111, 100, 117, 108, 101, 46, 95, 95, 112, 114, 111, 112, 101, 114, 116, 105, 101, 115, 68, 101, 102, 105, 110, 101, 100, 95, 95, 32, 61, 32, 116, 114, 117, 101, 59, 10, 9, 9, 114, 101, 116, 117, 114, 110, 32, 109, 111, 100, 117, 108, 101, 59, 10, 10, 125, 10, 101, 120, 112, 111, 114, 116, 115, 46, 98, 111, 111, 116, 115, 116, 114, 97, 112, 32, 61, 32, 109, 111, 100, 117, 108, 101, 66, 111, 111, 116, 115, 116, 114, 97, 112, 59, 10, 0 };
-
-struct _native {
- const char* name;
- const char* source;
- size_t source_length;
-};
-
-static const struct _native natives[] = {
-
- { "bootstrap", bootstrap_native, sizeof(bootstrap_native) - 1 },
-
- { NULL, NULL, 0 } /* sentinel */
-
-};
-
-}
-#endif
diff --git a/android/build/generated/KrollGeneratedBindings.cpp b/android/build/generated/KrollGeneratedBindings.cpp
deleted file mode 100644
index c673f58..0000000
--- a/android/build/generated/KrollGeneratedBindings.cpp
+++ /dev/null
@@ -1,75 +0,0 @@
-/* C++ code produced by gperf version 3.0.1 */
-/* Command-line: gperf -L C++ -E -t C:/Users/gtwin/AppData/Local/Temp/gtwin/svg-view-generated/KrollGeneratedBindings.gperf */
-/* Computed positions: -k'' */
-
-#line 3 "C:/Users/gtwin/AppData/Local/Temp/gtwin/svg-view-generated/KrollGeneratedBindings.gperf"
-
-
-#include
-#include
-#include
-
-#include "com.geraudbourdin.svgview.SvgViewModule.h"
-#include "com.geraudbourdin.svgview.ViewProxy.h"
-
-
-#line 14 "C:/Users/gtwin/AppData/Local/Temp/gtwin/svg-view-generated/KrollGeneratedBindings.gperf"
-struct titanium::bindings::BindEntry;
-/* maximum key range = 5, duplicates = 0 */
-
-class SvgViewBindings
-{
-private:
- static inline unsigned int hash (const char *str, unsigned int len);
-public:
- static struct titanium::bindings::BindEntry *lookupGeneratedInit (const char *str, unsigned int len);
-};
-
-inline /*ARGSUSED*/
-unsigned int
-SvgViewBindings::hash (register const char *str, register unsigned int len)
-{
- return len;
-}
-
-struct titanium::bindings::BindEntry *
-SvgViewBindings::lookupGeneratedInit (register const char *str, register unsigned int len)
-{
- enum
- {
- TOTAL_KEYWORDS = 2,
- MIN_WORD_LENGTH = 35,
- MAX_WORD_LENGTH = 39,
- MIN_HASH_VALUE = 35,
- MAX_HASH_VALUE = 39
- };
-
- static struct titanium::bindings::BindEntry wordlist[] =
- {
- {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
- {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
- {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
- {""}, {""}, {""}, {""}, {""}, {""}, {""}, {""},
-#line 17 "C:/Users/gtwin/AppData/Local/Temp/gtwin/svg-view-generated/KrollGeneratedBindings.gperf"
- {"com.geraudbourdin.svgview.ViewProxy", ::com::geraudbourdin::svgview::svgview::ViewProxy::bindProxy, ::com::geraudbourdin::svgview::svgview::ViewProxy::dispose},
- {""}, {""}, {""},
-#line 16 "C:/Users/gtwin/AppData/Local/Temp/gtwin/svg-view-generated/KrollGeneratedBindings.gperf"
- {"com.geraudbourdin.svgview.SvgViewModule", ::com::geraudbourdin::svgview::SvgViewModule::bindProxy, ::com::geraudbourdin::svgview::SvgViewModule::dispose}
- };
-
- if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
- {
- register int key = hash (str, len);
-
- if (key <= MAX_HASH_VALUE && key >= 0)
- {
- register const char *s = wordlist[key].name;
-
- if (*str == *s && !strcmp (str + 1, s + 1))
- return &wordlist[key];
- }
- }
- return 0;
-}
-#line 18 "C:/Users/gtwin/AppData/Local/Temp/gtwin/svg-view-generated/KrollGeneratedBindings.gperf"
-
diff --git a/android/build/generated/KrollGeneratedBindings.gperf b/android/build/generated/KrollGeneratedBindings.gperf
deleted file mode 100644
index 550af40..0000000
--- a/android/build/generated/KrollGeneratedBindings.gperf
+++ /dev/null
@@ -1,18 +0,0 @@
-%define lookup-function-name lookupGeneratedInit
-%define class-name SvgViewBindings
-%{
-
-#include
-#include
-#include
-
-#include "com.geraudbourdin.svgview.SvgViewModule.h"
-#include "com.geraudbourdin.svgview.ViewProxy.h"
-
-
-%}
-struct titanium::bindings::BindEntry;
-%%
-com.geraudbourdin.svgview.SvgViewModule, ::com::geraudbourdin::svgview::SvgViewModule::bindProxy, ::com::geraudbourdin::svgview::SvgViewModule::dispose
-com.geraudbourdin.svgview.ViewProxy, ::com::geraudbourdin::svgview::svgview::ViewProxy::bindProxy, ::com::geraudbourdin::svgview::svgview::ViewProxy::dispose
-%%
diff --git a/android/build/generated/SvgViewBootstrap.cpp b/android/build/generated/SvgViewBootstrap.cpp
deleted file mode 100644
index b804812..0000000
--- a/android/build/generated/SvgViewBootstrap.cpp
+++ /dev/null
@@ -1,116 +0,0 @@
-/**
- * Appcelerator Titanium Mobile
- * Copyright (c) 2011 by Appcelerator, Inc. All Rights Reserved.
- * Licensed under the terms of the Apache Public License
- * Please see the LICENSE included with this distribution for details.
- *
- * Warning: This file is GENERATED, and should not be modified
- */
-#include
-#include
-
-#include
-#include
-#include
-
-#include "BootstrapJS.cpp"
-#include "KrollGeneratedBindings.cpp"
-
-#define TAG "com.geraudbourdin.svgview"
-
-using namespace v8;
-
-static Persistent