Updated Manager replaceDatabase to take InputStreams for source DB and attachments, this supports using canned assets bundles with the App without requiring an intermediate copy on the local file system. Added StreamUtils class to support use of streams
Added ResourceUtils to simplify handling of resources
Added support for JAR based resource paths
Updated Manager replaceDatabase to take InputStreams for source DB and attachments, this supports using canned assets bundles with the App without requiring an intermediate copy on the local file system. Added StreamUtils class to support use of streams
Added ResourceUtils to simplify handling of resources
Add JAR support for getResourceListing
Added private replaceDatabase method that takes an Iterator over a set of Map.Entry objects, this guarantees that we only move forward through the attachments. Callers can use LinkedHashMap and SortedMap to enforce order.
Updated ManagerTest to use new Manager replaceDatabase method signature
For both push/pull replication limit executor thread pool to 5 to throttle parallel file transers
Reduced Replication executor thread pool to 2, this results on approx max open tcp sockets on sync_gateway of 12 per active replication.
Merge pull request #114 from couchbase/master_fix113

Master fix113
Issue #100 - Was seeing concurrent modifications in the logs.  Fix this.

https://github.com/couchbase/couchbase-lite-java-core/issues/100
Issue #111 - Fix: Why does Database ever let this.name be null?

https://github.com/couchbase/couchbase-lite-java-core/issues/111
Fixes https://github.com/couchbase/couchbase-lite-java/issues/2

https://github.com/couchbase/couchbase-lite-java/issues/2
Issue #109 - windows compatibility change.

https://github.com/couchbase/couchbase-lite-java-core/issues/109
Merge pull request #115 from couchbase/manager_replaceDatabase

Manager replaceDatabase takes InputStream instead of File
Fix issues according to couchbase-lite-java tests

Added Apache commons-logging-1.1.3.jar as required by Apache HttpClient. Missing commons-loggig jar file causes HttpClient to silently hang in worker threads. Removed invalid assertions causing some tests to fail.
Merge branch 'master' of https://github.com/couchbase/couchbase-lite-java-core
Issue #231 - enhance logging to debug this issue

https://github.com/couchbase/couchbase-lite-android/issues/231
Issue #231 - fix issue, remove inappropriate asyncTaskFinished call

https://github.com/couchbase/couchbase-lite-android/issues/231