cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/2] cordova-plugin-file git commit: Set VERSION to 4.3.3-dev (via coho)
Date Thu, 02 Mar 2017 23:56:20 GMT
Set VERSION to 4.3.3-dev (via coho)


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/commit/69487ada
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/tree/69487ada
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/diff/69487ada

Branch: refs/heads/master
Commit: 69487adaae0b8541a5aa3b39543fb6833c0b42a8
Parents: 25464e9
Author: Steve Gill <stevengill97@gmail.com>
Authored: Tue Feb 28 17:56:00 2017 -0800
Committer: Steve Gill <stevengill97@gmail.com>
Committed: Thu Mar 2 14:33:18 2017 -0800

----------------------------------------------------------------------
 package.json     |   2 +-
 plugin.xml       | 698 +++++++++++++++++++++++++++++---------------------
 tests/plugin.xml |  56 +++-
 3 files changed, 445 insertions(+), 311 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/69487ada/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index 84172a8..7c41f1d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "cordova-plugin-file",
-  "version": "4.3.2",
+  "version": "4.3.3-dev",
   "description": "Cordova File Plugin",
   "types": "./types/index.d.ts",
   "cordova": {

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/69487ada/plugin.xml
----------------------------------------------------------------------
diff --git a/plugin.xml b/plugin.xml
index 6a889d6..66ccc66 100644
--- a/plugin.xml
+++ b/plugin.xml
@@ -1,320 +1,424 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-file" version="4.3.2">
-  <name>File</name>
-  <description>Cordova File Plugin</description>
-  <license>Apache 2.0</license>
-  <keywords>cordova,file</keywords>
-  <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git</repo>
-  <issue>https://issues.apache.org/jira/browse/CB/component/12320651</issue>
-  <dependency id="cordova-plugin-compat" version="^1.0.0"/>
-  <js-module src="www/DirectoryEntry.js" name="DirectoryEntry">
-    <clobbers target="window.DirectoryEntry"/>
-  </js-module>
-  <js-module src="www/DirectoryReader.js" name="DirectoryReader">
-    <clobbers target="window.DirectoryReader"/>
-  </js-module>
-  <js-module src="www/Entry.js" name="Entry">
-    <clobbers target="window.Entry"/>
-  </js-module>
-  <js-module src="www/File.js" name="File">
-    <clobbers target="window.File"/>
-  </js-module>
-  <js-module src="www/FileEntry.js" name="FileEntry">
-    <clobbers target="window.FileEntry"/>
-  </js-module>
-  <js-module src="www/FileError.js" name="FileError">
-    <clobbers target="window.FileError"/>
-  </js-module>
-  <js-module src="www/FileReader.js" name="FileReader">
-    <clobbers target="window.FileReader"/>
-  </js-module>
-  <js-module src="www/FileSystem.js" name="FileSystem">
-    <clobbers target="window.FileSystem"/>
-  </js-module>
-  <js-module src="www/FileUploadOptions.js" name="FileUploadOptions">
-    <clobbers target="window.FileUploadOptions"/>
-  </js-module>
-  <js-module src="www/FileUploadResult.js" name="FileUploadResult">
-    <clobbers target="window.FileUploadResult"/>
-  </js-module>
-  <js-module src="www/FileWriter.js" name="FileWriter">
-    <clobbers target="window.FileWriter"/>
-  </js-module>
-  <js-module src="www/Flags.js" name="Flags">
-    <clobbers target="window.Flags"/>
-  </js-module>
-  <js-module src="www/LocalFileSystem.js" name="LocalFileSystem">
-    <clobbers target="window.LocalFileSystem"/>
-    <merges target="window"/>
-  </js-module>
-  <js-module src="www/Metadata.js" name="Metadata">
-    <clobbers target="window.Metadata"/>
-  </js-module>
-  <js-module src="www/ProgressEvent.js" name="ProgressEvent">
-    <clobbers target="window.ProgressEvent"/>
-  </js-module>
-  <js-module src="www/fileSystems.js" name="fileSystems"/>
-  <js-module src="www/requestFileSystem.js" name="requestFileSystem">
-    <clobbers target="window.requestFileSystem"/>
-  </js-module>
-  <js-module src="www/resolveLocalFileSystemURI.js" name="resolveLocalFileSystemURI">
-    <merges target="window"/>
-  </js-module>
-  <js-module src="www/browser/isChrome.js" name="isChrome">
-    <runs/>
-  </js-module>
-  <platform name="android">
-    <info>
-The Android Persistent storage location now defaults to "Internal". Please check this plugin's
README to see if your application needs any changes in its config.xml.
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
 
-If this is a new application no changes are required.
+    http://www.apache.org/licenses/LICENSE-2.0
 
-If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation"
you may need to add:
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
 
-      "&lt;preference name="AndroidPersistentFileLocation" value="Compatibility" /&gt;"
+<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
+xmlns:android="http://schemas.android.com/apk/res/android"
+           id="cordova-plugin-file"
+      version="4.3.3-dev">
+    <name>File</name>
+    <description>Cordova File Plugin</description>
+    <license>Apache 2.0</license>
+    <keywords>cordova,file</keywords>
+    <repo>https://git-wip-us.apache.org/repos/asf/cordova-plugin-file.git</repo>
+    <issue>https://issues.apache.org/jira/browse/CB/component/12320651</issue>
+    <dependency id="cordova-plugin-compat" version="^1.0.0" />
 
-to config.xml in order for the application to find previously stored files.
-        </info>
-    <config-file target="res/xml/config.xml" parent="/*">
-      <feature name="File">
-        <param name="android-package" value="org.apache.cordova.file.FileUtils"/>
-        <param name="onload" value="true"/>
-      </feature>
-      <allow-navigation href="cdvfile:*"/>
-    </config-file>
-    <config-file target="AndroidManifest.xml" parent="/*">
-      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
-    </config-file>
-    <source-file src="src/android/EncodingException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/FileExistsException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/InvalidModificationException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/NoModificationAllowedException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/TypeMismatchException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/FileUtils.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/DirectoryManager.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/LocalFilesystemURL.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/Filesystem.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/LocalFilesystem.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/ContentFilesystem.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/AssetFilesystem.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/PendingRequests.java" target-dir="src/org/apache/cordova/file"/>
-    <js-module src="www/android/FileSystem.js" name="androidFileSystem">
-      <merges target="FileSystem"/>
-    </js-module>
-    <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
-      <runs/>
-    </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
-      <runs/>
-    </js-module>
-  </platform>
-  <platform name="amazon-fireos">
-    <config-file target="res/xml/config.xml" parent="/*">
-      <feature name="File">
-        <param name="android-package" value="org.apache.cordova.file.FileUtils"/>
-        <param name="onload" value="true"/>
-      </feature>
-    </config-file>
-    <config-file target="AndroidManifest.xml" parent="/*">
-      <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
-    </config-file>
-    <source-file src="src/android/EncodingException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/FileExistsException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/InvalidModificationException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/NoModificationAllowedException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/TypeMismatchException.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/FileUtils.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/DirectoryManager.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/LocalFilesystemURL.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/Filesystem.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/LocalFilesystem.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/ContentFilesystem.java" target-dir="src/org/apache/cordova/file"/>
-    <source-file src="src/android/AssetFilesystem.java" target-dir="src/org/apache/cordova/file"/>
-    <js-module src="www/android/FileSystem.js" name="androidFileSystem">
-      <merges target="window.FileSystem"/>
-    </js-module>
-    <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
-      <runs/>
-    </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
-      <runs/>
-    </js-module>
-  </platform>
-  <platform name="ubuntu">
-    <header-file src="src/ubuntu/file.h"/>
-    <source-file src="src/ubuntu/file.cpp"/>
-    <js-module src="www/ubuntu/FileSystem.js" name="ubuntuFileSystem1">
-      <merges target="window.FileSystem"/>
-    </js-module>
-    <js-module src="www/ubuntu/FileWriter.js" name="FileWriter1">
-      <merges target="window.FileWriter"/>
-    </js-module>
-    <js-module src="www/ubuntu/fileSystems-roots.js" name="fileSystems-roots">
-      <runs/>
-    </js-module>
-  </platform>
-  <platform name="ios">
-    <config-file target="config.xml" parent="/*">
-      <feature name="File">
-        <param name="ios-package" value="CDVFile"/>
-        <param name="onload" value="true"/>
-      </feature>
-    </config-file>
-    <header-file src="src/ios/CDVFile.h"/>
-    <header-file src="src/ios/CDVLocalFilesystem.h"/>
-    <header-file src="src/ios/CDVAssetLibraryFilesystem.h"/>
-    <source-file src="src/ios/CDVFile.m"/>
-    <source-file src="src/ios/CDVLocalFilesystem.m"/>
-    <source-file src="src/ios/CDVAssetLibraryFilesystem.m"/>
-    <js-module src="www/ios/FileSystem.js" name="iosFileSystem">
-      <merges target="FileSystem"/>
-    </js-module>
-    <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
-      <runs/>
-    </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
-      <runs/>
-    </js-module>
-    <framework src="AssetsLibrary.framework"/>
-    <framework src="MobileCoreServices.framework"/>
-  </platform>
-  <platform name="osx">
-    <config-file target="config.xml" parent="/*">
-      <feature name="File">
-        <param name="ios-package" value="CDVFile"/>
-        <param name="onload" value="true"/>
-      </feature>
-    </config-file>
-    <header-file src="src/osx/CDVFile.h"/>
-    <header-file src="src/osx/CDVLocalFilesystem.h"/>
-    <source-file src="src/osx/CDVFile.m"/>
-    <source-file src="src/osx/CDVLocalFilesystem.m"/>
-    <js-module src="www/osx/FileSystem.js" name="osxFileSystem">
-      <merges target="FileSystem"/>
-    </js-module>
-    <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
-      <runs/>
-    </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
-      <runs/>
-    </js-module>
-  </platform>
-  <platform name="wp7">
-    <config-file target="config.xml" parent="/*">
-      <feature name="File">
-        <param name="wp-package" value="File"/>
-      </feature>
-    </config-file>
-    <source-file src="src/wp/File.cs"/>
-    <js-module src="www/wp/FileUploadOptions.js" name="FileUploadOptions1">
-      <merges target="window.FileUploadOptions"/>
-    </js-module>
-  </platform>
-  <platform name="wp8">
-    <config-file target="config.xml" parent="/*">
-      <feature name="File">
-        <param name="wp-package" value="File"/>
-      </feature>
-    </config-file>
-    <source-file src="src/wp/File.cs"/>
-    <js-module src="www/wp/FileUploadOptions.js" name="FileUploadOptions1">
-      <merges target="window.FileUploadOptions"/>
-    </js-module>
-  </platform>
-  <platform name="blackberry10">
-    <config-file target="www/config.xml" parent="/widget">
-      <feature name="File" value="File"/>
-    </config-file>
-    <js-module src="www/blackberry10/FileProxy.js" name="FileProxy">
-      <runs/>
+    <js-module src="www/DirectoryEntry.js" name="DirectoryEntry">
+        <clobbers target="window.DirectoryEntry" />
     </js-module>
-    <js-module src="www/blackberry10/info.js" name="bb10FileSystemInfo">
-      <runs/>
+
+    <js-module src="www/DirectoryReader.js" name="DirectoryReader">
+        <clobbers target="window.DirectoryReader" />
     </js-module>
-    <js-module src="www/blackberry10/createEntryFromNative.js" name="bb10CreateEntryFromNative">
-      <runs/>
+
+    <js-module src="www/Entry.js" name="Entry">
+        <clobbers target="window.Entry" />
     </js-module>
-    <js-module src="www/blackberry10/requestAnimationFrame.js" name="bb10RequestAnimationFrame">
-      <runs/>
+
+    <js-module src="www/File.js" name="File">
+        <clobbers target="window.File" />
     </js-module>
-    <js-module src="www/blackberry10/FileSystem.js" name="bb10FileSystem">
-      <merges target="window.FileSystem"/>
+
+    <js-module src="www/FileEntry.js" name="FileEntry">
+        <clobbers target="window.FileEntry" />
     </js-module>
-    <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
-      <runs/>
+
+    <js-module src="www/FileError.js" name="FileError">
+        <clobbers target="window.FileError" />
     </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
+
+    <js-module src="www/FileReader.js" name="FileReader">
+        <clobbers target="window.FileReader" />
     </js-module>
-    <js-module src="www/blackberry10/copyTo.js" name="copyToProxy"/>
-    <js-module src="www/blackberry10/getDirectory.js" name="getDirectoryProxy"/>
-    <js-module src="www/blackberry10/getFile.js" name="getFileProxy"/>
-    <js-module src="www/blackberry10/getFileMetadata.js" name="getFileMetadataProxy"/>
-    <js-module src="www/blackberry10/getMetadata.js" name="getMetadataProxy"/>
-    <js-module src="www/blackberry10/getParent.js" name="getParentProxy"/>
-    <js-module src="www/blackberry10/moveTo.js" name="moveToProxy"/>
-    <js-module src="www/blackberry10/readAsArrayBuffer.js" name="readAsArrayBufferProxy"/>
-    <js-module src="www/blackberry10/readAsBinaryString.js" name="readAsBinaryStringProxy"/>
-    <js-module src="www/blackberry10/readAsDataURL.js" name="readAsDataURLProxy"/>
-    <js-module src="www/blackberry10/readAsText.js" name="readAsTextProxy"/>
-    <js-module src="www/blackberry10/readEntries.js" name="readEntriesProxy"/>
-    <js-module src="www/blackberry10/remove.js" name="removeProxy"/>
-    <js-module src="www/blackberry10/removeRecursively.js" name="removeRecursivelyProxy"/>
-    <js-module src="www/blackberry10/resolveLocalFileSystemURI.js" name="resolveLocalFileSystemURIProxy"/>
-    <js-module src="www/blackberry10/requestAllFileSystems.js" name="requestAllFileSystemsProxy"/>
-    <js-module src="www/blackberry10/requestFileSystem.js" name="requestFileSystemProxy"/>
-    <js-module src="www/blackberry10/setMetadata.js" name="setMetadataProxy"/>
-    <js-module src="www/blackberry10/truncate.js" name="truncateProxy"/>
-    <js-module src="www/blackberry10/write.js" name="writeProxy"/>
-    <source-file src="src/blackberry10/index.js" target-dir="File"/>
-  </platform>
-  <platform name="windows8">
-    <js-module src="src/windows/FileProxy.js" name="FileProxy">
-      <runs/>
+
+    <js-module src="www/FileSystem.js" name="FileSystem">
+        <clobbers target="window.FileSystem" />
     </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
-      <runs/>
+
+    <js-module src="www/FileUploadOptions.js" name="FileUploadOptions">
+        <clobbers target="window.FileUploadOptions" />
     </js-module>
-  </platform>
-  <platform name="windows">
-    <js-module src="src/windows/FileProxy.js" name="FileProxy">
-      <runs/>
+
+    <js-module src="www/FileUploadResult.js" name="FileUploadResult">
+        <clobbers target="window.FileUploadResult" />
     </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
-      <runs/>
+
+    <js-module src="www/FileWriter.js" name="FileWriter">
+        <clobbers target="window.FileWriter" />
     </js-module>
-  </platform>
-  <platform name="firefoxos">
-    <js-module src="src/firefoxos/FileProxy.js" name="FileProxy">
-      <runs/>
+
+    <js-module src="www/Flags.js" name="Flags">
+        <clobbers target="window.Flags" />
     </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
-      <runs/>
+
+    <js-module src="www/LocalFileSystem.js" name="LocalFileSystem">
+        <!-- Non-standards way -->
+        <clobbers target="window.LocalFileSystem" />
+        <!-- Standards-compliant way -->
+        <merges target="window" />
     </js-module>
-    <js-module src="www/firefoxos/FileSystem.js" name="firefoxFileSystem">
-      <merges target="window.FileSystem"/>
+
+    <js-module src="www/Metadata.js" name="Metadata">
+        <clobbers target="window.Metadata" />
     </js-module>
-  </platform>
-  <platform name="browser">
-    <js-module src="www/browser/Preparing.js" name="Preparing">
-      <runs/>
+
+    <js-module src="www/ProgressEvent.js" name="ProgressEvent">
+        <clobbers target="window.ProgressEvent" />
     </js-module>
-    <js-module src="src/browser/FileProxy.js" name="browserFileProxy">
-      <runs/>
+
+    <js-module src="www/fileSystems.js" name="fileSystems" />
+
+    <js-module src="www/requestFileSystem.js" name="requestFileSystem">
+        <clobbers target="window.requestFileSystem" />
     </js-module>
-    <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
-      <merges target="cordova"/>
-      <runs/>
+
+    <js-module src="www/resolveLocalFileSystemURI.js" name="resolveLocalFileSystemURI">
+        <merges target="window" />
     </js-module>
-    <js-module src="www/browser/FileSystem.js" name="firefoxFileSystem">
-      <merges target="window.FileSystem"/>
+
+    <!-- Required for browserify: we always link module below as there is conditional
reference
+    to this module from requestFileSystem and resolveLocalFileSystemURI modules. -->
+    <js-module src="www/browser/isChrome.js" name="isChrome">
+        <runs />
     </js-module>
-  </platform>
+
+    <!-- android -->
+    <platform name="android">
+        <info>
+The Android Persistent storage location now defaults to "Internal". Please check this plugin's
README to see if your application needs any changes in its config.xml.
+
+If this is a new application no changes are required.
+
+If this is an update to an existing application that did not specify an "AndroidPersistentFileLocation"
you may need to add:
+
+      "&lt;preference name="AndroidPersistentFileLocation" value="Compatibility" /&gt;"
+
+to config.xml in order for the application to find previously stored files.
+        </info>
+        <config-file target="res/xml/config.xml" parent="/*">
+            <feature name="File" >
+                <param name="android-package" value="org.apache.cordova.file.FileUtils"/>
+                <param name="onload" value="true" />
+            </feature>
+            <allow-navigation href="cdvfile:*" />
+        </config-file>
+
+        <config-file target="AndroidManifest.xml" parent="/*">
+            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
+        </config-file>
+
+        <source-file src="src/android/EncodingException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/FileExistsException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/InvalidModificationException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/NoModificationAllowedException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/TypeMismatchException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/FileUtils.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/DirectoryManager.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/LocalFilesystemURL.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/Filesystem.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/LocalFilesystem.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/ContentFilesystem.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/AssetFilesystem.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/PendingRequests.java" target-dir="src/org/apache/cordova/file"
/>
+
+        <!-- android specific file apis -->
+        <js-module src="www/android/FileSystem.js" name="androidFileSystem">
+            <merges target="FileSystem" />
+        </js-module>
+        <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
+            <runs/>
+        </js-module>
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+            <runs/>
+        </js-module>
+    </platform>
+
+    <!-- amazon-fireos -->
+    <platform name="amazon-fireos">
+        <config-file target="res/xml/config.xml" parent="/*">
+            <feature name="File" >
+                <param name="android-package" value="org.apache.cordova.file.FileUtils"/>
+                <param name="onload" value="true" />
+            </feature>
+        </config-file>
+
+        <config-file target="AndroidManifest.xml" parent="/*">
+            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
/>
+        </config-file>
+
+        <source-file src="src/android/EncodingException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/FileExistsException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/InvalidModificationException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/NoModificationAllowedException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/TypeMismatchException.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/FileUtils.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/DirectoryManager.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/LocalFilesystemURL.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/Filesystem.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/LocalFilesystem.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/ContentFilesystem.java" target-dir="src/org/apache/cordova/file"
/>
+        <source-file src="src/android/AssetFilesystem.java" target-dir="src/org/apache/cordova/file"
/>
+
+
+        <!-- android specific file apis -->
+        <js-module src="www/android/FileSystem.js" name="androidFileSystem">
+            <merges target="window.FileSystem" />
+        </js-module>
+        <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
+            <runs/>
+        </js-module>
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+            <runs/>
+        </js-module>
+    </platform>
+
+    <!-- ubuntu -->
+    <platform name="ubuntu">
+        <header-file src="src/ubuntu/file.h" />
+        <source-file src="src/ubuntu/file.cpp" />
+        <js-module src="www/ubuntu/FileSystem.js" name="ubuntuFileSystem1">
+            <merges target="window.FileSystem" />
+        </js-module>
+        <js-module src="www/ubuntu/FileWriter.js" name="FileWriter1">
+            <merges target="window.FileWriter" />
+        </js-module>
+        <js-module src="www/ubuntu/fileSystems-roots.js" name="fileSystems-roots">
+            <runs/>
+        </js-module>
+    </platform>
+
+    <!-- ios -->
+    <platform name="ios">
+        <config-file target="config.xml" parent="/*">
+            <feature name="File">
+                <param name="ios-package" value="CDVFile" />
+                <param name="onload" value="true" />
+            </feature>
+        </config-file>
+        <header-file src="src/ios/CDVFile.h" />
+        <source-file src="src/ios/CDVFile.m" />
+        <header-file src="src/ios/CDVLocalFilesystem.h" />
+        <source-file src="src/ios/CDVLocalFilesystem.m" />
+        <header-file src="src/ios/CDVAssetLibraryFilesystem.h" />
+        <source-file src="src/ios/CDVAssetLibraryFilesystem.m" />
+
+        <!-- ios specific file apis -->
+        <js-module src="www/ios/FileSystem.js" name="iosFileSystem">
+            <merges target="FileSystem" />
+        </js-module>
+
+        <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
+            <runs/>
+        </js-module>
+
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+            <runs/>
+        </js-module>
+
+        <framework src="AssetsLibrary.framework" />
+        <framework src="MobileCoreServices.framework" />
+    </platform>
+
+    <!-- osx -->
+    <platform name="osx">
+        <config-file target="config.xml" parent="/*">
+            <feature name="File">
+                <param name="ios-package" value="CDVFile" />
+                <param name="onload" value="true" />
+            </feature>
+        </config-file>
+        <header-file src="src/osx/CDVFile.h" />
+        <source-file src="src/osx/CDVFile.m" />
+        <header-file src="src/osx/CDVLocalFilesystem.h" />
+        <source-file src="src/osx/CDVLocalFilesystem.m" />
+
+        <!-- osx specific file apis -->
+        <js-module src="www/osx/FileSystem.js" name="osxFileSystem">
+            <merges target="FileSystem" />
+        </js-module>
+
+        <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
+            <runs/>
+        </js-module>
+
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+            <runs/>
+        </js-module>
+    </platform>
+
+    <!-- wp7 -->
+    <platform name="wp7">
+        <config-file target="config.xml" parent="/*">
+            <feature name="File">
+                <param name="wp-package" value="File"/>
+            </feature>
+        </config-file>
+
+        <source-file src="src/wp/File.cs" />
+
+        <!-- wp specific file apis -->
+        <js-module src="www/wp/FileUploadOptions.js" name="FileUploadOptions1">
+            <merges target="window.FileUploadOptions" />
+        </js-module>
+
+    </platform>
+
+    <!-- wp8 -->
+    <platform name="wp8">
+        <config-file target="config.xml" parent="/*">
+            <feature name="File">
+                <param name="wp-package" value="File"/>
+            </feature>
+        </config-file>
+
+        <source-file src="src/wp/File.cs" />
+
+        <!-- wp specific file apis -->
+        <js-module src="www/wp/FileUploadOptions.js" name="FileUploadOptions1">
+            <merges target="window.FileUploadOptions" />
+        </js-module>
+
+    </platform>
+
+    <!-- blackberry10 -->
+    <platform name="blackberry10">
+        <config-file target="www/config.xml" parent="/widget">
+            <feature name="File" value="File" />
+        </config-file>
+        <js-module src="www/blackberry10/FileProxy.js" name="FileProxy" >
+            <runs />
+        </js-module>
+        <js-module src="www/blackberry10/info.js" name="bb10FileSystemInfo">
+            <runs />
+        </js-module>
+        <js-module src="www/blackberry10/createEntryFromNative.js" name="bb10CreateEntryFromNative">
+            <runs />
+        </js-module>
+        <js-module src="www/blackberry10/requestAnimationFrame.js" name="bb10RequestAnimationFrame">
+            <runs />
+        </js-module>
+        <js-module src="www/blackberry10/FileSystem.js" name="bb10FileSystem">
+            <merges target="window.FileSystem" />
+        </js-module>
+        <js-module src="www/fileSystems-roots.js" name="fileSystems-roots">
+            <runs/>
+        </js-module>
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+        </js-module>
+        <js-module src="www/blackberry10/copyTo.js" name="copyToProxy" />
+        <js-module src="www/blackberry10/getDirectory.js" name="getDirectoryProxy" />
+        <js-module src="www/blackberry10/getFile.js" name="getFileProxy" />
+        <js-module src="www/blackberry10/getFileMetadata.js" name="getFileMetadataProxy"
/>
+        <js-module src="www/blackberry10/getMetadata.js" name="getMetadataProxy" />
+        <js-module src="www/blackberry10/getParent.js" name="getParentProxy" />
+        <js-module src="www/blackberry10/moveTo.js" name="moveToProxy" />
+        <js-module src="www/blackberry10/readAsArrayBuffer.js" name="readAsArrayBufferProxy"
/>
+        <js-module src="www/blackberry10/readAsBinaryString.js" name="readAsBinaryStringProxy"
/>
+        <js-module src="www/blackberry10/readAsDataURL.js" name="readAsDataURLProxy" />
+        <js-module src="www/blackberry10/readAsText.js" name="readAsTextProxy" />
+        <js-module src="www/blackberry10/readEntries.js" name="readEntriesProxy" />
+        <js-module src="www/blackberry10/remove.js" name="removeProxy" />
+        <js-module src="www/blackberry10/removeRecursively.js" name="removeRecursivelyProxy"
/>
+        <js-module src="www/blackberry10/resolveLocalFileSystemURI.js" name="resolveLocalFileSystemURIProxy"
/>
+        <js-module src="www/blackberry10/requestAllFileSystems.js" name="requestAllFileSystemsProxy"
/>
+        <js-module src="www/blackberry10/requestFileSystem.js" name="requestFileSystemProxy"
/>
+        <js-module src="www/blackberry10/setMetadata.js" name="setMetadataProxy" />
+        <js-module src="www/blackberry10/truncate.js" name="truncateProxy" />
+        <js-module src="www/blackberry10/write.js" name="writeProxy" />
+        <source-file src="src/blackberry10/index.js" target-dir="File" />
+    </platform>
+
+    <!-- windows8 -->
+    <platform name="windows8">
+        <js-module src="src/windows/FileProxy.js" name="FileProxy">
+            <runs />
+        </js-module>
+
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+            <runs/>
+        </js-module>
+    </platform>
+
+    <!-- windows -->
+    <platform name="windows">
+        <js-module src="src/windows/FileProxy.js" name="FileProxy">
+            <runs />
+        </js-module>
+
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+            <runs/>
+        </js-module>
+    </platform>
+
+    <!-- firefox os -->
+    <platform name="firefoxos">
+        <js-module src="src/firefoxos/FileProxy.js" name="FileProxy">
+            <runs />
+        </js-module>
+
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+            <runs/>
+        </js-module>
+
+        <!-- Firefox OS specific file apis -->
+        <js-module src="www/firefoxos/FileSystem.js" name="firefoxFileSystem">
+            <merges target="window.FileSystem" />
+        </js-module>
+    </platform>
+
+    <platform name="browser">
+        <!-- File for Chrome -->
+        <js-module src="www/browser/Preparing.js" name="Preparing">
+            <runs />
+        </js-module>
+
+        <js-module src="src/browser/FileProxy.js" name="browserFileProxy">
+            <runs />
+        </js-module>
+
+        <js-module src="www/fileSystemPaths.js" name="fileSystemPaths">
+            <merges target="cordova" />
+            <runs />
+        </js-module>
+
+        <js-module src="www/browser/FileSystem.js" name="firefoxFileSystem">
+            <merges target="window.FileSystem" />
+        </js-module>
+    </platform>
+
 </plugin>

http://git-wip-us.apache.org/repos/asf/cordova-plugin-file/blob/69487ada/tests/plugin.xml
----------------------------------------------------------------------
diff --git a/tests/plugin.xml b/tests/plugin.xml
index b38fb04..d9233c5 100644
--- a/tests/plugin.xml
+++ b/tests/plugin.xml
@@ -1,14 +1,44 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:rim="http://www.blackberry.com/ns/widgets"
xmlns:android="http://schemas.android.com/apk/res/android" id="cordova-plugin-file-tests"
version="4.3.2">
-  <name>Cordova File Plugin Tests</name>
-  <license>Apache 2.0</license>
-  <js-module src="tests.js" name="tests"/>
-  <platform name="android">
-    <source-file src="src/android/TestContentProvider.java" target-dir="src/org/apache/cordova/file/test"/>
-    <config-file target="AndroidManifest.xml" parent="/*/application">
-      <provider android:name="org.apache.cordova.file.test.TestContentProvider" android:authorities="org.apache.cordova.file.testprovider"
android:exported="false"/>
-    </config-file>
-    <asset src="www/fixtures/asset-test" target="fixtures/asset-test"/>
-    <dependency id="cordova-plugin-contacts"/>
-  </platform>
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+    http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+
+<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
+    xmlns:rim="http://www.blackberry.com/ns/widgets"
+    xmlns:android="http://schemas.android.com/apk/res/android"
+    id="cordova-plugin-file-tests"
+    version="4.3.3-dev">
+
+    <name>Cordova File Plugin Tests</name>
+    <license>Apache 2.0</license>
+
+    <js-module src="tests.js" name="tests">
+    </js-module>
+
+    <platform name="android">
+        <source-file src="src/android/TestContentProvider.java" target-dir="src/org/apache/cordova/file/test"
/>
+        <config-file target="AndroidManifest.xml" parent="/*/application">
+            <provider
+                android:name="org.apache.cordova.file.test.TestContentProvider"
+                android:authorities="org.apache.cordova.file.testprovider"
+                android:exported="false" />
+        </config-file>
+        <asset src="www/fixtures/asset-test" target="fixtures/asset-test" />
+        <dependency id="cordova-plugin-contacts" />
+    </platform>
 </plugin>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message