You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2017/06/27 21:22:02 UTC

[21/51] [partial] cordova-lib git commit: Reorganized unit test directory. Changes include: - consolidate spec-cordova/ and spec-plugman/ into a single spec/ dir. - put jasmine config and helper modules in top-level spec dir. - changed package.json npm r

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/HISTORY.md
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/HISTORY.md b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/HISTORY.md
deleted file mode 100644
index 85e0f8d..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/HISTORY.md
+++ /dev/null
@@ -1,4 +0,0 @@
-1.0.0 / 2015-06-14
-==================
-
-  * Initial release

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/LICENSE
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/LICENSE b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/LICENSE
deleted file mode 100644
index aed0138..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2015 Douglas Christopher Wilson <do...@somethingdoug.com>
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/README.md
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/README.md b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/README.md
deleted file mode 100644
index e536ad2..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/README.md
+++ /dev/null
@@ -1,43 +0,0 @@
-# unpipe
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-image]][node-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Unpipe a stream from all destinations.
-
-## Installation
-
-```sh
-$ npm install unpipe
-```
-
-## API
-
-```js
-var unpipe = require('unpipe')
-```
-
-### unpipe(stream)
-
-Unpipes all destinations from a given stream. With stream 2+, this is
-equivalent to `stream.unpipe()`. When used with streams 1 style streams
-(typically Node.js 0.8 and below), this module attempts to undo the
-actions done in `stream.pipe(dest)`.
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/unpipe.svg
-[npm-url]: https://npmjs.org/package/unpipe
-[node-image]: https://img.shields.io/node/v/unpipe.svg
-[node-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/stream-utils/unpipe.svg
-[travis-url]: https://travis-ci.org/stream-utils/unpipe
-[coveralls-image]: https://img.shields.io/coveralls/stream-utils/unpipe.svg
-[coveralls-url]: https://coveralls.io/r/stream-utils/unpipe?branch=master
-[downloads-image]: https://img.shields.io/npm/dm/unpipe.svg
-[downloads-url]: https://npmjs.org/package/unpipe

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/index.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/index.js b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/index.js
deleted file mode 100644
index 15c3d97..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/index.js
+++ /dev/null
@@ -1,69 +0,0 @@
-/*!
- * unpipe
- * Copyright(c) 2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict'
-
-/**
- * Module exports.
- * @public
- */
-
-module.exports = unpipe
-
-/**
- * Determine if there are Node.js pipe-like data listeners.
- * @private
- */
-
-function hasPipeDataListeners(stream) {
-  var listeners = stream.listeners('data')
-
-  for (var i = 0; i < listeners.length; i++) {
-    if (listeners[i].name === 'ondata') {
-      return true
-    }
-  }
-
-  return false
-}
-
-/**
- * Unpipe a stream from all destinations.
- *
- * @param {object} stream
- * @public
- */
-
-function unpipe(stream) {
-  if (!stream) {
-    throw new TypeError('argument stream is required')
-  }
-
-  if (typeof stream.unpipe === 'function') {
-    // new-style
-    stream.unpipe()
-    return
-  }
-
-  // Node.js 0.8 hack
-  if (!hasPipeDataListeners(stream)) {
-    return
-  }
-
-  var listener
-  var listeners = stream.listeners('close')
-
-  for (var i = 0; i < listeners.length; i++) {
-    listener = listeners[i]
-
-    if (listener.name !== 'cleanup' && listener.name !== 'onclose') {
-      continue
-    }
-
-    // invoke the listener
-    listener.call(stream)
-  }
-}

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/package.json
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/package.json b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/package.json
deleted file mode 100644
index adbe284..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/unpipe/package.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
-  "_args": [
-    [
-      {
-        "raw": "unpipe@~1.0.0",
-        "scope": null,
-        "escapedName": "unpipe",
-        "name": "unpipe",
-        "rawSpec": "~1.0.0",
-        "spec": ">=1.0.0 <1.1.0",
-        "type": "range"
-      },
-      "/Users/auso/cordova/cordova-lib/cordova-lib/spec-cordova/fixtures/platforms/cordova-browser/node_modules/finalhandler"
-    ]
-  ],
-  "_from": "unpipe@>=1.0.0 <1.1.0",
-  "_id": "unpipe@1.0.0",
-  "_inCache": true,
-  "_location": "/unpipe",
-  "_npmUser": {
-    "name": "dougwilson",
-    "email": "doug@somethingdoug.com"
-  },
-  "_npmVersion": "1.4.28",
-  "_phantomChildren": {},
-  "_requested": {
-    "raw": "unpipe@~1.0.0",
-    "scope": null,
-    "escapedName": "unpipe",
-    "name": "unpipe",
-    "rawSpec": "~1.0.0",
-    "spec": ">=1.0.0 <1.1.0",
-    "type": "range"
-  },
-  "_requiredBy": [
-    "/finalhandler"
-  ],
-  "_resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz",
-  "_shasum": "b2bf4ee8514aae6165b4817829d21b2ef49904ec",
-  "_shrinkwrap": null,
-  "_spec": "unpipe@~1.0.0",
-  "_where": "/Users/auso/cordova/cordova-lib/cordova-lib/spec-cordova/fixtures/platforms/cordova-browser/node_modules/finalhandler",
-  "author": {
-    "name": "Douglas Christopher Wilson",
-    "email": "doug@somethingdoug.com"
-  },
-  "bugs": {
-    "url": "https://github.com/stream-utils/unpipe/issues"
-  },
-  "dependencies": {},
-  "description": "Unpipe a stream from all destinations",
-  "devDependencies": {
-    "istanbul": "0.3.15",
-    "mocha": "2.2.5",
-    "readable-stream": "1.1.13"
-  },
-  "directories": {},
-  "dist": {
-    "shasum": "b2bf4ee8514aae6165b4817829d21b2ef49904ec",
-    "tarball": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz"
-  },
-  "engines": {
-    "node": ">= 0.8"
-  },
-  "files": [
-    "HISTORY.md",
-    "LICENSE",
-    "README.md",
-    "index.js"
-  ],
-  "gitHead": "d2df901c06487430e78dca62b6edb8bb2fc5e99d",
-  "homepage": "https://github.com/stream-utils/unpipe",
-  "license": "MIT",
-  "maintainers": [
-    {
-      "name": "dougwilson",
-      "email": "doug@somethingdoug.com"
-    }
-  ],
-  "name": "unpipe",
-  "optionalDependencies": {},
-  "readme": "ERROR: No README data found!",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/stream-utils/unpipe.git"
-  },
-  "scripts": {
-    "test": "mocha --reporter spec --bail --check-leaks test/",
-    "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
-    "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
-  },
-  "version": "1.0.0"
-}

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/.travis.yml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/.travis.yml b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/.travis.yml
deleted file mode 100644
index af92b02..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/.travis.yml
+++ /dev/null
@@ -1,6 +0,0 @@
-language: "node_js"
-node_js:
-  - "0.4"
-  - "0.6"
-  - "0.8"
-  - "0.10"

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/LICENSE
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/LICENSE b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/LICENSE
deleted file mode 100644
index e33bd10..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/LICENSE
+++ /dev/null
@@ -1,20 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2013 Jared Hanson
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/README.md
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/README.md b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/README.md
deleted file mode 100644
index 2f94e9b..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/README.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# utils-merge
-
-Merges the properties from a source object into a destination object.
-
-## Install
-
-    $ npm install utils-merge
-
-## Usage
-
-```javascript
-var a = { foo: 'bar' }
-  , b = { bar: 'baz' };
-
-merge(a, b);
-// => { foo: 'bar', bar: 'baz' }
-```
-
-## Tests
-
-    $ npm install
-    $ npm test
-
-[![Build Status](https://secure.travis-ci.org/jaredhanson/utils-merge.png)](http://travis-ci.org/jaredhanson/utils-merge)
-
-## Credits
-
-  - [Jared Hanson](http://github.com/jaredhanson)
-
-## License
-
-[The MIT License](http://opensource.org/licenses/MIT)
-
-Copyright (c) 2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)>

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/index.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/index.js b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/index.js
deleted file mode 100644
index 4265c69..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/index.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/**
- * Merge object b with object a.
- *
- *     var a = { foo: 'bar' }
- *       , b = { bar: 'baz' };
- *
- *     merge(a, b);
- *     // => { foo: 'bar', bar: 'baz' }
- *
- * @param {Object} a
- * @param {Object} b
- * @return {Object}
- * @api public
- */
-
-exports = module.exports = function(a, b){
-  if (a && b) {
-    for (var key in b) {
-      a[key] = b[key];
-    }
-  }
-  return a;
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/package.json
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/package.json b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/package.json
deleted file mode 100644
index 7382123..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/utils-merge/package.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
-  "_args": [
-    [
-      {
-        "raw": "utils-merge@1.0.0",
-        "scope": null,
-        "escapedName": "utils-merge",
-        "name": "utils-merge",
-        "rawSpec": "1.0.0",
-        "spec": "1.0.0",
-        "type": "version"
-      },
-      "/Users/auso/cordova/cordova-lib/cordova-lib/spec-cordova/fixtures/platforms/cordova-browser/node_modules/express"
-    ]
-  ],
-  "_from": "utils-merge@1.0.0",
-  "_id": "utils-merge@1.0.0",
-  "_inCache": true,
-  "_location": "/utils-merge",
-  "_npmUser": {
-    "name": "jaredhanson",
-    "email": "jaredhanson@gmail.com"
-  },
-  "_npmVersion": "1.2.25",
-  "_phantomChildren": {},
-  "_requested": {
-    "raw": "utils-merge@1.0.0",
-    "scope": null,
-    "escapedName": "utils-merge",
-    "name": "utils-merge",
-    "rawSpec": "1.0.0",
-    "spec": "1.0.0",
-    "type": "version"
-  },
-  "_requiredBy": [
-    "/express"
-  ],
-  "_resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz",
-  "_shasum": "0294fb922bb9375153541c4f7096231f287c8af8",
-  "_shrinkwrap": null,
-  "_spec": "utils-merge@1.0.0",
-  "_where": "/Users/auso/cordova/cordova-lib/cordova-lib/spec-cordova/fixtures/platforms/cordova-browser/node_modules/express",
-  "author": {
-    "name": "Jared Hanson",
-    "email": "jaredhanson@gmail.com",
-    "url": "http://www.jaredhanson.net/"
-  },
-  "bugs": {
-    "url": "http://github.com/jaredhanson/utils-merge/issues"
-  },
-  "dependencies": {},
-  "description": "merge() utility function",
-  "devDependencies": {
-    "chai": "1.x.x",
-    "mocha": "1.x.x"
-  },
-  "directories": {},
-  "dist": {
-    "shasum": "0294fb922bb9375153541c4f7096231f287c8af8",
-    "tarball": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.0.tgz"
-  },
-  "engines": {
-    "node": ">= 0.4.0"
-  },
-  "homepage": "https://github.com/jaredhanson/utils-merge#readme",
-  "keywords": [
-    "util"
-  ],
-  "licenses": [
-    {
-      "type": "MIT",
-      "url": "http://www.opensource.org/licenses/MIT"
-    }
-  ],
-  "main": "./index",
-  "maintainers": [
-    {
-      "name": "jaredhanson",
-      "email": "jaredhanson@gmail.com"
-    }
-  ],
-  "name": "utils-merge",
-  "optionalDependencies": {},
-  "readme": "ERROR: No README data found!",
-  "repository": {
-    "type": "git",
-    "url": "git://github.com/jaredhanson/utils-merge.git"
-  },
-  "scripts": {
-    "test": "node_modules/.bin/mocha --reporter spec --require test/bootstrap/node test/*.test.js"
-  },
-  "version": "1.0.0"
-}

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/HISTORY.md
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/HISTORY.md b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/HISTORY.md
deleted file mode 100644
index ed68118..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/HISTORY.md
+++ /dev/null
@@ -1,29 +0,0 @@
-1.1.0 / 2015-09-29
-==================
-
-  * Only accept valid field names in the `field` argument
-    - Ensures the resulting string is a valid HTTP header value
-
-1.0.1 / 2015-07-08
-==================
-
-  * Fix setting empty header from empty `field`
-  * perf: enable strict mode
-  * perf: remove argument reassignments
-
-1.0.0 / 2014-08-10
-==================
-
-  * Accept valid `Vary` header string as `field`
-  * Add `vary.append` for low-level string manipulation
-  * Move to `jshttp` orgainzation
-
-0.1.0 / 2014-06-05
-==================
-
-  * Support array of fields to set
-
-0.0.0 / 2014-06-04
-==================
-
-  * Initial release

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/LICENSE
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/LICENSE b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/LICENSE
deleted file mode 100644
index 142ede3..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/LICENSE
+++ /dev/null
@@ -1,22 +0,0 @@
-(The MIT License)
-
-Copyright (c) 2014-2015 Douglas Christopher Wilson
-
-Permission is hereby granted, free of charge, to any person obtaining
-a copy of this software and associated documentation files (the
-'Software'), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be
-included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
-EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/README.md
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/README.md b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/README.md
deleted file mode 100644
index 5966542..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/README.md
+++ /dev/null
@@ -1,91 +0,0 @@
-# vary
-
-[![NPM Version][npm-image]][npm-url]
-[![NPM Downloads][downloads-image]][downloads-url]
-[![Node.js Version][node-version-image]][node-version-url]
-[![Build Status][travis-image]][travis-url]
-[![Test Coverage][coveralls-image]][coveralls-url]
-
-Manipulate the HTTP Vary header
-
-## Installation
-
-```sh
-$ npm install vary
-```
-
-## API
-
-```js
-var vary = require('vary')
-```
-
-### vary(res, field)
-
-Adds the given header `field` to the `Vary` response header of `res`.
-This can be a string of a single field, a string of a valid `Vary`
-header, or an array of multiple fields.
-
-This will append the header if not already listed, otherwise leaves
-it listed in the current location.
-
-```js
-// Append "Origin" to the Vary header of the response
-vary(res, 'Origin')
-```
-
-### vary.append(header, field)
-
-Adds the given header `field` to the `Vary` response header string `header`.
-This can be a string of a single field, a string of a valid `Vary` header,
-or an array of multiple fields.
-
-This will append the header if not already listed, otherwise leaves
-it listed in the current location. The new header string is returned.
-
-```js
-// Get header string appending "Origin" to "Accept, User-Agent"
-vary.append('Accept, User-Agent', 'Origin')
-```
-
-## Examples
-
-### Updating the Vary header when content is based on it
-
-```js
-var http = require('http')
-var vary = require('vary')
-
-http.createServer(function onRequest(req, res) {
-  // about to user-agent sniff
-  vary(res, 'User-Agent')
-
-  var ua = req.headers['user-agent'] || ''
-  var isMobile = /mobi|android|touch|mini/i.test(ua)
-
-  // serve site, depending on isMobile
-  res.setHeader('Content-Type', 'text/html')
-  res.end('You are (probably) ' + (isMobile ? '' : 'not ') + 'a mobile user')
-})
-```
-
-## Testing
-
-```sh
-$ npm test
-```
-
-## License
-
-[MIT](LICENSE)
-
-[npm-image]: https://img.shields.io/npm/v/vary.svg
-[npm-url]: https://npmjs.org/package/vary
-[node-version-image]: https://img.shields.io/node/v/vary.svg
-[node-version-url]: http://nodejs.org/download/
-[travis-image]: https://img.shields.io/travis/jshttp/vary/master.svg
-[travis-url]: https://travis-ci.org/jshttp/vary
-[coveralls-image]: https://img.shields.io/coveralls/jshttp/vary/master.svg
-[coveralls-url]: https://coveralls.io/r/jshttp/vary
-[downloads-image]: https://img.shields.io/npm/dm/vary.svg
-[downloads-url]: https://npmjs.org/package/vary

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/index.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/index.js b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/index.js
deleted file mode 100644
index 21dbaf1..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/index.js
+++ /dev/null
@@ -1,124 +0,0 @@
-/*!
- * vary
- * Copyright(c) 2014-2015 Douglas Christopher Wilson
- * MIT Licensed
- */
-
-'use strict';
-
-/**
- * Module exports.
- */
-
-module.exports = vary;
-module.exports.append = append;
-
-/**
- * RegExp to match field-name in RFC 7230 sec 3.2
- *
- * field-name    = token
- * token         = 1*tchar
- * tchar         = "!" / "#" / "$" / "%" / "&" / "'" / "*"
- *               / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~"
- *               / DIGIT / ALPHA
- *               ; any VCHAR, except delimiters
- */
-
-var fieldNameRegExp = /^[!#$%&'\*\+\-\.\^_`\|~0-9A-Za-z]+$/
-
-/**
- * Append a field to a vary header.
- *
- * @param {String} header
- * @param {String|Array} field
- * @return {String}
- * @api public
- */
-
-function append(header, field) {
-  if (typeof header !== 'string') {
-    throw new TypeError('header argument is required');
-  }
-
-  if (!field) {
-    throw new TypeError('field argument is required');
-  }
-
-  // get fields array
-  var fields = !Array.isArray(field)
-    ? parse(String(field))
-    : field;
-
-  // assert on invalid field names
-  for (var i = 0; i < fields.length; i++) {
-    if (!fieldNameRegExp.test(fields[i])) {
-      throw new TypeError('field argument contains an invalid header name');
-    }
-  }
-
-  // existing, unspecified vary
-  if (header === '*') {
-    return header;
-  }
-
-  // enumerate current values
-  var val = header;
-  var vals = parse(header.toLowerCase());
-
-  // unspecified vary
-  if (fields.indexOf('*') !== -1 || vals.indexOf('*') !== -1) {
-    return '*';
-  }
-
-  for (var i = 0; i < fields.length; i++) {
-    var fld = fields[i].toLowerCase();
-
-    // append value (case-preserving)
-    if (vals.indexOf(fld) === -1) {
-      vals.push(fld);
-      val = val
-        ? val + ', ' + fields[i]
-        : fields[i];
-    }
-  }
-
-  return val;
-}
-
-/**
- * Parse a vary header into an array.
- *
- * @param {String} header
- * @return {Array}
- * @api private
- */
-
-function parse(header) {
-  return header.trim().split(/ *, */);
-}
-
-/**
- * Mark that a request is varied on a header field.
- *
- * @param {Object} res
- * @param {String|Array} field
- * @api public
- */
-
-function vary(res, field) {
-  if (!res || !res.getHeader || !res.setHeader) {
-    // quack quack
-    throw new TypeError('res argument is required');
-  }
-
-  // get existing header
-  var val = res.getHeader('Vary') || ''
-  var header = Array.isArray(val)
-    ? val.join(', ')
-    : String(val);
-
-  // set new header
-  if ((val = append(header, field))) {
-    res.setHeader('Vary', val);
-  }
-}

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/package.json
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/package.json b/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/package.json
deleted file mode 100644
index 6b30447..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/node_modules/vary/package.json
+++ /dev/null
@@ -1,107 +0,0 @@
-{
-  "_args": [
-    [
-      {
-        "raw": "vary@~1.1.0",
-        "scope": null,
-        "escapedName": "vary",
-        "name": "vary",
-        "rawSpec": "~1.1.0",
-        "spec": ">=1.1.0 <1.2.0",
-        "type": "range"
-      },
-      "/Users/auso/cordova/cordova-lib/cordova-lib/spec-cordova/fixtures/platforms/cordova-browser/node_modules/compression"
-    ]
-  ],
-  "_from": "vary@>=1.1.0 <1.2.0",
-  "_id": "vary@1.1.0",
-  "_inCache": true,
-  "_location": "/vary",
-  "_npmUser": {
-    "name": "dougwilson",
-    "email": "doug@somethingdoug.com"
-  },
-  "_npmVersion": "1.4.28",
-  "_phantomChildren": {},
-  "_requested": {
-    "raw": "vary@~1.1.0",
-    "scope": null,
-    "escapedName": "vary",
-    "name": "vary",
-    "rawSpec": "~1.1.0",
-    "spec": ">=1.1.0 <1.2.0",
-    "type": "range"
-  },
-  "_requiredBy": [
-    "/compression",
-    "/express"
-  ],
-  "_resolved": "https://registry.npmjs.org/vary/-/vary-1.1.0.tgz",
-  "_shasum": "e1e5affbbd16ae768dd2674394b9ad3022653140",
-  "_shrinkwrap": null,
-  "_spec": "vary@~1.1.0",
-  "_where": "/Users/auso/cordova/cordova-lib/cordova-lib/spec-cordova/fixtures/platforms/cordova-browser/node_modules/compression",
-  "author": {
-    "name": "Douglas Christopher Wilson",
-    "email": "doug@somethingdoug.com"
-  },
-  "bugs": {
-    "url": "https://github.com/jshttp/vary/issues"
-  },
-  "dependencies": {},
-  "description": "Manipulate the HTTP Vary header",
-  "devDependencies": {
-    "istanbul": "0.3.21",
-    "mocha": "2.3.3",
-    "supertest": "1.1.0"
-  },
-  "directories": {},
-  "dist": {
-    "shasum": "e1e5affbbd16ae768dd2674394b9ad3022653140",
-    "tarball": "https://registry.npmjs.org/vary/-/vary-1.1.0.tgz"
-  },
-  "engines": {
-    "node": ">= 0.8"
-  },
-  "files": [
-    "HISTORY.md",
-    "LICENSE",
-    "README.md",
-    "index.js"
-  ],
-  "gitHead": "13b03e9bf97da9d83bfeac84d84144137d84c257",
-  "homepage": "https://github.com/jshttp/vary",
-  "keywords": [
-    "http",
-    "res",
-    "vary"
-  ],
-  "license": "MIT",
-  "maintainers": [
-    {
-      "name": "dougwilson",
-      "email": "doug@somethingdoug.com"
-    },
-    {
-      "name": "jongleberry",
-      "email": "jonathanrichardong@gmail.com"
-    },
-    {
-      "name": "fishrock123",
-      "email": "fishrock123@rocketmail.com"
-    }
-  ],
-  "name": "vary",
-  "optionalDependencies": {},
-  "readme": "ERROR: No README data found!",
-  "repository": {
-    "type": "git",
-    "url": "git+https://github.com/jshttp/vary.git"
-  },
-  "scripts": {
-    "test": "mocha --reporter spec --bail --check-leaks test/",
-    "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
-    "test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
-  },
-  "version": "1.1.0"
-}

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/platforms/cordova-browser/package.json
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/platforms/cordova-browser/package.json b/spec-cordova/fixtures/platforms/cordova-browser/package.json
deleted file mode 100644
index 3daf7d4..0000000
--- a/spec-cordova/fixtures/platforms/cordova-browser/package.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
-    "name": "cordova-browser",
-    "version": "4.2.0-dev",
-    "description": "cordova-browser release",
-    "main": "bin/create",
-    "repository": {
-        "type": "git",
-        "url": "https://git-wip-us.apache.org/repos/asf/cordova-browser.git"
-    },
-    "keywords": [
-        "cordova",
-        "browser",
-        "apache"
-    ],
-    "scripts": {
-        "test": "npm run jshint && npm run test-unit",
-        "test-unit": "node node_modules/jasmine-node/lib/jasmine-node/cli.js --captureExceptions tests/spec/",
-        "jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint tests"
-    },
-    "dependencies": {
-        "adm-zip": "^0.4.7",
-        "cordova-serve": "^1.0.0",
-        "nopt": "^3.0.6",
-        "q": "^1.4.1",
-        "shelljs": "^0.6.0"
-    },
-    "devDependencies": {
-        "jasmine-node": "~1",
-        "jshint": "^2.6.0",
-        "tmp": "^0.0.26"
-    },
-    "bundledDependencies": [
-        "adm-zip",
-        "cordova-serve",
-        "nopt",
-        "q",
-        "shelljs"
-    ],
-    "author": "Apache Software Foundation",
-    "contributors": [
-        {
-            "name": "Steve Gill",
-            "email": "steveng@adobe.com"
-        },
-        {
-            "name": "Suraj Pindoria",
-            "email": "spindori@adobe.com"
-        }
-    ],
-    "license": "Apache-2.0"
-}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/ChildBrowser/plugin.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/ChildBrowser/plugin.xml b/spec-cordova/fixtures/plugins/ChildBrowser/plugin.xml
deleted file mode 100644
index 700ef7c..0000000
--- a/spec-cordova/fixtures/plugins/ChildBrowser/plugin.xml
+++ /dev/null
@@ -1,126 +0,0 @@
-<?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://cordova.apache.org/ns/plugins/1.0"
-    xmlns:android="http://schemas.android.com/apk/res/android"
-    id="com.phonegap.plugins.childbrowser"
-    version="0.6.0">
-
-    <name>Child Browser</name>
-
-    <asset src="www/childbrowser" target="childbrowser" />
-    <asset src="www/childbrowser_file.html" target="childbrowser_file.html" />
-
-    <js-module src="www/childbrowser.js" name="ChildBrowser">
-        <clobbers target="childbrowser" />
-    </js-module>
-
-    <config-file target="config.xml" parent="/*">
-        <access origin="build.phonegap.com" />
-        <access origin="s3.amazonaws.com" />
-    </config-file>
-    
-    <info>No matter what platform you are installing to, this notice is very important.</info>
-
-    <!-- android -->
-    <platform name="android">
-        <config-file target="AndroidManifest.xml" parent="/manifest/application">
-            <activity android:name="com.phonegap.plugins.childBrowser.ChildBrowser"
-                      android:label="@string/app_name">
-                <intent-filter>
-                </intent-filter>
-            </activity>
-        </config-file>
-
-        <!-- CDV < 2.0 -->
-        <config-file target="res/xml/plugins.xml" parent="/plugins">
-            <plugin name="ChildBrowser"
-                value="com.phonegap.plugins.childBrowser.ChildBrowser"/>
-        </config-file>
-
-        <!-- CDV 2.0+ (for now) -->
-        <config-file target="res/xml/config.xml" parent="/cordova/plugins">
-            <plugin name="ChildBrowser"
-                value="com.phonegap.plugins.childBrowser.ChildBrowser"/>
-        </config-file>
-
-        <source-file src="src/android/ChildBrowser.java"
-                target-dir="src/com/phonegap/plugins/childBrowser" />
-        <info>Please make sure you read this because it is very important to complete the installation of your plugin.</info>
-    </platform>
-
-    <!-- ios -->
-    <platform name="ios">
-        <plugins-plist key="com.phonegap.plugins.childbrowser"
-            string="ChildBrowserCommand" />
-
-        <config-file target="config.xml" parent="/widget/plugins">
-            <plugin name="ChildBrowser"
-                value="ChildBrowserCommand" />
-        </config-file>
-
-        <resource-file src="src/ios/ChildBrowser.bundle" />
-        <resource-file src="src/ios/ChildBrowserViewController.xib" />
-
-        <config-file target="*-Info.plist" parent="AppId">
-            <string>$APP_ID</string>
-        </config-file>
-        
-        <config-file target="*-Info.plist" parent="CFBundleURLTypes">
-            <array>
-              <dict>
-                <key>PackageName</key>
-                <string>$PACKAGE_NAME</string>
-              </dict>
-            </array>
-        </config-file>
-
-        <header-file src="src/ios/ChildBrowserCommand.h" />
-        <header-file src="src/ios/ChildBrowserViewController.h" />
-        <header-file src="src/ios/TargetDirTest.h" target-dir="targetDir"/>
-
-        <source-file src="src/ios/ChildBrowserCommand.m" />
-        <source-file src="src/ios/ChildBrowserViewController.m" />
-        <source-file src="src/ios/preserveDirs/PreserveDirsTest.m" preserve-dirs="true" />
-        <header-file src="src/ios/TargetDirTest.m" target-dir="targetDir"/>
-
-        <!-- framework for testing (not actual dependency of ChildBrowser -->
-        <framework src="libsqlite3.dylib" />
-        <framework src="social.framework" weak="true" />
-        <framework src="music.framework" weak="rabbit" />
-    </platform>
-
-    <!-- wp8 -->
-    <platform name="wp8">
-        <resource-file src="src\wp7\Images\appbar.back.rest.png" />
-        <config-file target="config.xml" parent="/widget/plugins">
-            <plugin name="ChildBrowser"
-                value="ChildBrowser"/>
-        </config-file>
-
-        <source-file src="src\wp7\ChildBrowserCommand.cs"
-                     target-dir="Plugins\" />
-
-        <!-- modify the project file to include the added files -->
-        <config-file target=".csproj" parent=".">  
-        </config-file> 
-
-    </platform>
-</plugin>

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/ChildBrowser/src/android/ChildBrowser.java
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/ChildBrowser/src/android/ChildBrowser.java b/spec-cordova/fixtures/plugins/ChildBrowser/src/android/ChildBrowser.java
deleted file mode 100644
index 8b5fb29..0000000
--- a/spec-cordova/fixtures/plugins/ChildBrowser/src/android/ChildBrowser.java
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
-    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.
-*/
-

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser.js b/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser.js
deleted file mode 100644
index 08e02ee..0000000
--- a/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
-    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.
-*/
-
-
-

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser/image.jpg
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser/image.jpg b/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser/image.jpg
deleted file mode 100644
index 257cc56..0000000
--- a/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser/image.jpg
+++ /dev/null
@@ -1 +0,0 @@
-foo

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser_file.html
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser_file.html b/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser_file.html
deleted file mode 100644
index 6de7b8c..0000000
--- a/spec-cordova/fixtures/plugins/ChildBrowser/www/childbrowser_file.html
+++ /dev/null
@@ -1 +0,0 @@
-This is a test file.

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/android/plugin.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/android/plugin.xml b/spec-cordova/fixtures/plugins/android/plugin.xml
deleted file mode 100644
index d8f5619..0000000
--- a/spec-cordova/fixtures/plugins/android/plugin.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
-    xmlns:android="http://schemas.android.com/apk/res/android"
-    id="ca.filmaj.AndroidPlugin"
-    version="4.2.0">
-
-    <name>Android Plugin</name>
-
-    <asset src="www/android.js" target="android.js" />
-    <platform name="android">
-    </platform>
-</plugin>
-
-

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/android/src/android/Android.java
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/android/src/android/Android.java b/spec-cordova/fixtures/plugins/android/src/android/Android.java
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/android/src/android/SomethingWithR.java
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/android/src/android/SomethingWithR.java b/spec-cordova/fixtures/plugins/android/src/android/SomethingWithR.java
deleted file mode 100644
index c3af060..0000000
--- a/spec-cordova/fixtures/plugins/android/src/android/SomethingWithR.java
+++ /dev/null
@@ -1,6 +0,0 @@
-import com.yourapp.R;
-
-import android.app.*;
-
-public class SomethingWithR {
-}

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/android/www/android.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/android/www/android.js b/spec-cordova/fixtures/plugins/android/www/android.js
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/plugin.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/plugin.xml b/spec-cordova/fixtures/plugins/com.plugin.withhooks/plugin.xml
deleted file mode 100644
index 8e80560..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/plugin.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-        xmlns:android="http://schemas.android.com/apk/res/android"
-        id="com.plugin.withhooks"
-        version="0.0.1">
-    <name>Plugin with hooks</name>
-</plugin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnePlatform_bat.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnePlatform_bat.xml b/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnePlatform_bat.xml
deleted file mode 100644
index e1d6a0c..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnePlatform_bat.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-        xmlns:android="http://schemas.android.com/apk/res/android"
-        id="com.plugin.withhooks"
-        version="0.0.1">
-    <name>Plugin with hooks</name>
-
-    <hook type="before_plugin_install" src="scripts/beforeInstall01.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall2.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall.bat" />
-    <hook type="before_plugin_uninstall" src="scripts/beforeUninstall.js" />
-    <hook type="before_build" src="scripts/beforeBuild.js" />
-    <hook type="before_build" src="scripts/beforeBuild.bat" />
-
-    <platform name="android">
-        <hook type="before_plugin_install" src="scripts/android/androidBeforeInstall.js" />
-        <hook type="before_build" src="scripts/android/androidBeforeBuild.js" />
-    </platform>
-</plugin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnePlatform_sh.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnePlatform_sh.xml b/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnePlatform_sh.xml
deleted file mode 100644
index fef675a..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnePlatform_sh.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-        xmlns:android="http://schemas.android.com/apk/res/android"
-        id="com.plugin.withhooks"
-        version="0.0.1">
-    <name>Plugin with hooks</name>
-
-    <hook type="before_plugin_install" src="scripts/beforeInstall01.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall2.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall.sh" />
-    <hook type="before_plugin_uninstall" src="scripts/beforeUninstall.js" />
-    <hook type="before_build" src="scripts/beforeBuild.js" />
-    <hook type="before_build" src="scripts/beforeBuild.sh" />
-
-    <platform name="android">
-        <hook type="before_plugin_install" src="scripts/android/androidBeforeInstall.js" />
-        <hook type="before_build" src="scripts/android/androidBeforeBuild.js" />
-    </platform>
-</plugin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnlyNonPlatformScripts_bat.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnlyNonPlatformScripts_bat.xml b/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnlyNonPlatformScripts_bat.xml
deleted file mode 100644
index fcbdb61..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnlyNonPlatformScripts_bat.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-        xmlns:android="http://schemas.android.com/apk/res/android"
-        id="com.plugin.withhooks"
-        version="0.0.1">
-    <name>Plugin with hooks</name>
-
-    <hook type="before_plugin_install" src="scripts/beforeInstall01.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall2.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall.bat" />
-    <hook type="before_plugin_uninstall" src="scripts/beforeUninstall.js" />
-    <hook type="before_build" src="scripts/beforeBuild.js" />
-    <hook type="before_build" src="scripts/beforeBuild.bat" />
-</plugin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnlyNonPlatformScripts_sh.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnlyNonPlatformScripts_sh.xml b/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnlyNonPlatformScripts_sh.xml
deleted file mode 100644
index 7593ffe..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginOnlyNonPlatformScripts_sh.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-        xmlns:android="http://schemas.android.com/apk/res/android"
-        id="com.plugin.withhooks"
-        version="0.0.1">
-    <name>Plugin with hooks</name>
-
-    <hook type="before_plugin_install" src="scripts/beforeInstall01.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall2.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall.sh" />
-    <hook type="before_plugin_uninstall" src="scripts/beforeUninstall.js" />
-    <hook type="before_build" src="scripts/beforeBuild.js" />
-    <hook type="before_build" src="scripts/beforeBuild.sh" />
-</plugin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginTwoPlatforms_bat.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginTwoPlatforms_bat.xml b/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginTwoPlatforms_bat.xml
deleted file mode 100644
index 8fd6d38..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginTwoPlatforms_bat.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-        xmlns:android="http://schemas.android.com/apk/res/android"
-        id="com.plugin.withhooks"
-        version="0.0.1">
-    <name>Plugin with hooks</name>
-
-    <hook type="before_plugin_install" src="scripts/beforeInstall01.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall2.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall.bat" />
-    <hook type="before_plugin_uninstall" src="scripts/beforeUninstall.js" />
-    <hook type="before_build" src="scripts/beforeBuild.js" />
-    <hook type="before_build" src="scripts/beforeBuild.bat" />
-
-    <platform name="windows">
-        <hook type="before_plugin_install" src="scripts/windows/windowsBeforeInstall.js" />
-        <hook type="before_build" src="scripts/windows/windowsBeforeBuild.js" />
-    </platform>
-
-    <platform name="android">
-        <hook type="before_plugin_install" src="scripts/android/androidBeforeInstall.js" />
-        <hook type="before_build" src="scripts/android/androidBeforeBuild.js" />
-    </platform>
-</plugin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginTwoPlatforms_sh.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginTwoPlatforms_sh.xml b/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginTwoPlatforms_sh.xml
deleted file mode 100644
index 6a4e11d..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/pluginTwoPlatforms_sh.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-        xmlns:android="http://schemas.android.com/apk/res/android"
-        id="com.plugin.withhooks"
-        version="0.0.1">
-    <name>Plugin with hooks</name>
-
-    <hook type="before_plugin_install" src="scripts/beforeInstall01.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall2.js" />
-    <hook type="before_plugin_install" src="scripts/beforeInstall.sh" />
-    <hook type="before_plugin_uninstall" src="scripts/beforeUninstall.js" />
-    <hook type="before_build" src="scripts/beforeBuild.js" />
-    <hook type="before_build" src="scripts/beforeBuild.sh" />
-
-    <platform name="windows">
-        <hook type="before_plugin_install" src="scripts/windows/windowsBeforeInstall.js" />
-        <hook type="before_build" src="scripts/windows/windowsBeforeBuild.js" />
-    </platform>
-
-    <platform name="android">
-        <hook type="before_plugin_install" src="scripts/android/androidBeforeInstall.js" />
-        <hook type="before_build" src="scripts/android/androidBeforeBuild.js" />
-    </platform>
-</plugin>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeBuild.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeBuild.js b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeBuild.js
deleted file mode 100644
index 05a4ab6..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeBuild.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(context) {
-    var orderLogger = require(require('path').join(context.opts.projectRoot, 'scripts', 'orderLogger'));
-    orderLogger.logOrder('26', context);
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeInstall.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeInstall.js b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeInstall.js
deleted file mode 100644
index fbfb513..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/android/androidBeforeInstall.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(context) {
-    var orderLogger = require(require('path').join(context.opts.projectRoot, 'scripts', 'orderLogger'));
-    orderLogger.logOrder('25', context);
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.bat
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.bat b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.bat
deleted file mode 100644
index 768a404..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-echo 22 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.js b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.js
deleted file mode 100644
index 615c89a..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(context) {
-    var orderLogger = require(require('path').join(context.opts.projectRoot, 'scripts', 'orderLogger'));
-    orderLogger.logOrder('21', context);
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh
deleted file mode 100644
index 5698c11..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeBuild.sh
+++ /dev/null
@@ -1 +0,0 @@
-echo 22 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall.bat
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall.bat b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall.bat
deleted file mode 100644
index 7e6b0df..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-echo 19 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall.sh
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall.sh b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall.sh
deleted file mode 100644
index 2688501..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall.sh
+++ /dev/null
@@ -1 +0,0 @@
-echo 19 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall01.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall01.js b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall01.js
deleted file mode 100644
index 18dcc35..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall01.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(context) {
-    var orderLogger = require(require('path').join(context.opts.projectRoot, 'scripts', 'orderLogger'));
-    orderLogger.logOrder('17', context);
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall2.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall2.js b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall2.js
deleted file mode 100644
index 43fdbb2..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeInstall2.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(context) {
-    var orderLogger = require(require('path').join(context.opts.projectRoot, 'scripts', 'orderLogger'));
-    orderLogger.logOrder('18', context);
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeUninstall.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeUninstall.js b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeUninstall.js
deleted file mode 100644
index f6e5090..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/beforeUninstall.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(context) {
-    var orderLogger = require(require('path').join(context.opts.projectRoot, 'scripts', 'orderLogger'));
-    orderLogger.logOrder('20', context);
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeBuild.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeBuild.js b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeBuild.js
deleted file mode 100644
index 9e73fa7..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeBuild.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(context) {
-    var orderLogger = require(require('path').join(context.opts.projectRoot, 'scripts', 'orderLogger'));
-    orderLogger.logOrder('24', context);
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeInstall.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeInstall.js b/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeInstall.js
deleted file mode 100644
index 2a370f3..0000000
--- a/spec-cordova/fixtures/plugins/com.plugin.withhooks/scripts/windows/windowsBeforeInstall.js
+++ /dev/null
@@ -1,4 +0,0 @@
-module.exports = function(context) {
-    var orderLogger = require(require('path').join(context.opts.projectRoot, 'scripts', 'orderLogger'));
-    orderLogger.logOrder('23', context);
-};

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/LICENSE
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/LICENSE b/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/LICENSE
deleted file mode 100644
index 9b5e401..0000000
--- a/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/LICENSE
+++ /dev/null
@@ -1,202 +0,0 @@
-
-                                 Apache License
-                           Version 2.0, January 2004
-                        http://www.apache.org/licenses/
-
-   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
-   1. Definitions.
-
-      "License" shall mean the terms and conditions for use, reproduction,
-      and distribution as defined by Sections 1 through 9 of this document.
-
-      "Licensor" shall mean the copyright owner or entity authorized by
-      the copyright owner that is granting the License.
-
-      "Legal Entity" shall mean the union of the acting entity and all
-      other entities that control, are controlled by, or are under common
-      control with that entity. For the purposes of this definition,
-      "control" means (i) the power, direct or indirect, to cause the
-      direction or management of such entity, whether by contract or
-      otherwise, or (ii) ownership of fifty percent (50%) or more of the
-      outstanding shares, or (iii) beneficial ownership of such entity.
-
-      "You" (or "Your") shall mean an individual or Legal Entity
-      exercising permissions granted by this License.
-
-      "Source" form shall mean the preferred form for making modifications,
-      including but not limited to software source code, documentation
-      source, and configuration files.
-
-      "Object" form shall mean any form resulting from mechanical
-      transformation or translation of a Source form, including but
-      not limited to compiled object code, generated documentation,
-      and conversions to other media types.
-
-      "Work" shall mean the work of authorship, whether in Source or
-      Object form, made available under the License, as indicated by a
-      copyright notice that is included in or attached to the work
-      (an example is provided in the Appendix below).
-
-      "Derivative Works" shall mean any work, whether in Source or Object
-      form, that is based on (or derived from) the Work and for which the
-      editorial revisions, annotations, elaborations, or other modifications
-      represent, as a whole, an original work of authorship. For the purposes
-      of this License, Derivative Works shall not include works that remain
-      separable from, or merely link (or bind by name) to the interfaces of,
-      the Work and Derivative Works thereof.
-
-      "Contribution" shall mean any work of authorship, including
-      the original version of the Work and any modifications or additions
-      to that Work or Derivative Works thereof, that is intentionally
-      submitted to Licensor for inclusion in the Work by the copyright owner
-      or by an individual or Legal Entity authorized to submit on behalf of
-      the copyright owner. For the purposes of this definition, "submitted"
-      means any form of electronic, verbal, or written communication sent
-      to the Licensor or its representatives, including but not limited to
-      communication on electronic mailing lists, source code control systems,
-      and issue tracking systems that are managed by, or on behalf of, the
-      Licensor for the purpose of discussing and improving the Work, but
-      excluding communication that is conspicuously marked or otherwise
-      designated in writing by the copyright owner as "Not a Contribution."
-
-      "Contributor" shall mean Licensor and any individual or Legal Entity
-      on behalf of whom a Contribution has been received by Licensor and
-      subsequently incorporated within the Work.
-
-   2. Grant of Copyright License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      copyright license to reproduce, prepare Derivative Works of,
-      publicly display, publicly perform, sublicense, and distribute the
-      Work and such Derivative Works in Source or Object form.
-
-   3. Grant of Patent License. Subject to the terms and conditions of
-      this License, each Contributor hereby grants to You a perpetual,
-      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
-      (except as stated in this section) patent license to make, have made,
-      use, offer to sell, sell, import, and otherwise transfer the Work,
-      where such license applies only to those patent claims licensable
-      by such Contributor that are necessarily infringed by their
-      Contribution(s) alone or by combination of their Contribution(s)
-      with the Work to which such Contribution(s) was submitted. If You
-      institute patent litigation against any entity (including a
-      cross-claim or counterclaim in a lawsuit) alleging that the Work
-      or a Contribution incorporated within the Work constitutes direct
-      or contributory patent infringement, then any patent licenses
-      granted to You under this License for that Work shall terminate
-      as of the date such litigation is filed.
-
-   4. Redistribution. You may reproduce and distribute copies of the
-      Work or Derivative Works thereof in any medium, with or without
-      modifications, and in Source or Object form, provided that You
-      meet the following conditions:
-
-      (a) You must give any other recipients of the Work or
-          Derivative Works a copy of this License; and
-
-      (b) You must cause any modified files to carry prominent notices
-          stating that You changed the files; and
-
-      (c) You must retain, in the Source form of any Derivative Works
-          that You distribute, all copyright, patent, trademark, and
-          attribution notices from the Source form of the Work,
-          excluding those notices that do not pertain to any part of
-          the Derivative Works; and
-
-      (d) If the Work includes a "NOTICE" text file as part of its
-          distribution, then any Derivative Works that You distribute must
-          include a readable copy of the attribution notices contained
-          within such NOTICE file, excluding those notices that do not
-          pertain to any part of the Derivative Works, in at least one
-          of the following places: within a NOTICE text file distributed
-          as part of the Derivative Works; within the Source form or
-          documentation, if provided along with the Derivative Works; or,
-          within a display generated by the Derivative Works, if and
-          wherever such third-party notices normally appear. The contents
-          of the NOTICE file are for informational purposes only and
-          do not modify the License. You may add Your own attribution
-          notices within Derivative Works that You distribute, alongside
-          or as an addendum to the NOTICE text from the Work, provided
-          that such additional attribution notices cannot be construed
-          as modifying the License.
-
-      You may add Your own copyright statement to Your modifications and
-      may provide additional or different license terms and conditions
-      for use, reproduction, or distribution of Your modifications, or
-      for any such Derivative Works as a whole, provided Your use,
-      reproduction, and distribution of the Work otherwise complies with
-      the conditions stated in this License.
-
-   5. Submission of Contributions. Unless You explicitly state otherwise,
-      any Contribution intentionally submitted for inclusion in the Work
-      by You to the Licensor shall be under the terms and conditions of
-      this License, without any additional terms or conditions.
-      Notwithstanding the above, nothing herein shall supersede or modify
-      the terms of any separate license agreement you may have executed
-      with Licensor regarding such Contributions.
-
-   6. Trademarks. This License does not grant permission to use the trade
-      names, trademarks, service marks, or product names of the Licensor,
-      except as required for reasonable and customary use in describing the
-      origin of the Work and reproducing the content of the NOTICE file.
-
-   7. Disclaimer of Warranty. Unless required by applicable law or
-      agreed to in writing, Licensor provides the Work (and each
-      Contributor provides its Contributions) on an "AS IS" BASIS,
-      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
-      implied, including, without limitation, any warranties or conditions
-      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
-      PARTICULAR PURPOSE. You are solely responsible for determining the
-      appropriateness of using or redistributing the Work and assume any
-      risks associated with Your exercise of permissions under this License.
-
-   8. Limitation of Liability. In no event and under no legal theory,
-      whether in tort (including negligence), contract, or otherwise,
-      unless required by applicable law (such as deliberate and grossly
-      negligent acts) or agreed to in writing, shall any Contributor be
-      liable to You for damages, including any direct, indirect, special,
-      incidental, or consequential damages of any character arising as a
-      result of this License or out of the use or inability to use the
-      Work (including but not limited to damages for loss of goodwill,
-      work stoppage, computer failure or malfunction, or any and all
-      other commercial damages or losses), even if such Contributor
-      has been advised of the possibility of such damages.
-
-   9. Accepting Warranty or Additional Liability. While redistributing
-      the Work or Derivative Works thereof, You may choose to offer,
-      and charge a fee for, acceptance of support, warranty, indemnity,
-      or other liability obligations and/or rights consistent with this
-      License. However, in accepting such obligations, You may act only
-      on Your own behalf and on Your sole responsibility, not on behalf
-      of any other Contributor, and only if You agree to indemnify,
-      defend, and hold each Contributor harmless for any liability
-      incurred by, or claims asserted against, such Contributor by reason
-      of your accepting any such warranty or additional liability.
-
-   END OF TERMS AND CONDITIONS
-
-   APPENDIX: How to apply the Apache License to your work.
-
-      To apply the Apache License to your work, attach the following
-      boilerplate notice, with the fields enclosed by brackets "[]"
-      replaced with your own identifying information. (Don't include
-      the brackets!)  The text should be enclosed in the appropriate
-      comment syntax for the file format. We also recommend that a
-      file or class name and description of purpose be included on the
-      same "printed page" as the copyright notice for easier
-      identification within third-party archives.
-
-   Copyright [yyyy] [name of copyright owner]
-
-   Licensed 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.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/NOTICE
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/NOTICE b/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/NOTICE
deleted file mode 100644
index 27bc4a0..0000000
--- a/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/NOTICE
+++ /dev/null
@@ -1,5 +0,0 @@
-Apache Cordova
-Copyright 2012 The Apache Software Foundation
-
-This product includes software developed at
-The Apache Software Foundation (http://www.apache.org/).

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/package.json
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/package.json b/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/package.json
deleted file mode 100644
index 5aa23c9..0000000
--- a/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/package.json
+++ /dev/null
@@ -1,28 +0,0 @@
-{
-  "name": "cordova-lib-test-plugin",
-  "version": "1.3.1",
-  "description": "Empty plugin used as part of the tests in cordova-lib",
-  "cordova": {
-    "id": "cordova-lib-test-plugin",
-    "platforms": []
-  },
-  "repository": {
-    "type": "git",
-    "url": "git://git-wip-us.apache.org/repos/asf/cordova-lib.git"
-  },
-  "author": "Apache Software Foundation",
-  "license": "Apache-2.0",
-  "engines": {
-    "cordovaDependencies": {
-      "0.0.0": {
-        "cordova-android": "<2.1.0"
-      },
-      "1.1.2": {
-        "cordova-android": ">=2.1.0 <7.0.0"
-      },
-      "1.3.0": {
-        "cordova-android": "7.0.0"
-      }
-    }
-  }
-}

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/plugin.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/plugin.xml b/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/plugin.xml
deleted file mode 100644
index c2748bf..0000000
--- a/spec-cordova/fixtures/plugins/cordova-lib-test-plugin/plugin.xml
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-lib-test-plugin" version="0.0.0" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
-    <name>cordova-lib-test-plugin</name>
-</plugin>

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/fake1/plugin.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/fake1/plugin.xml b/spec-cordova/fixtures/plugins/fake1/plugin.xml
deleted file mode 100644
index ffdc650..0000000
--- a/spec-cordova/fixtures/plugins/fake1/plugin.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-           id="org.apache.cordova.fakeplugin1"
-      version="0.1.0-dev">
-    <name>Fake1</name>
-    <description>Cordova fake plugin for tests</description>
-    <license>Apache 2.0</license>
-    <keywords>cordova,cli,test</keywords>
-</plugin>

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/malformed/plugin.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/malformed/plugin.xml b/spec-cordova/fixtures/plugins/malformed/plugin.xml
deleted file mode 100644
index d7c1884..0000000
--- a/spec-cordova/fixtures/plugins/malformed/plugin.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-< <plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
-           id="org.apache.cordova.fakeplugin1"
-      version="0.1.0-dev">
-    <name>malformed</name>
-    <description>Cordova malformed plugin for tests</description>
-    <license>Apache 2.0</license>
-    <keywords>cordova,cli,test</keywords>
-</plugin>

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/org.test.defaultvariables/plugin.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/org.test.defaultvariables/plugin.xml b/spec-cordova/fixtures/plugins/org.test.defaultvariables/plugin.xml
deleted file mode 100644
index 4aea92c..0000000
--- a/spec-cordova/fixtures/plugins/org.test.defaultvariables/plugin.xml
+++ /dev/null
@@ -1,19 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<plugin xmlns="http://cordova.apache.org/ns/plugins/1.0"
-    xmlns:android="http://schemas.android.com/apk/res/android"
-    id="org.test.defaultvariables"
-    version="3.0.0">
-
-    <name>Test plugin variables</name>
-
-    <preference name="DEFAULT" default="yes" />
-    <preference name="REQUIRED" />
-
-    <!-- android -->
-    <platform name="android">
-        <preference name="DEFAULT_ANDROID" default="yes" />
-        <preference name="REQUIRED_ANDROID" />
-    </platform>
-
-</plugin>

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/test/plugin.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/test/plugin.xml b/spec-cordova/fixtures/plugins/test/plugin.xml
deleted file mode 100644
index 774eda1..0000000
--- a/spec-cordova/fixtures/plugins/test/plugin.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<plugin xmlns="http://www.phonegap.com/ns/plugins/1.0"
-    xmlns:android="http://schemas.android.com/apk/res/android"
-    id="com.phonegap.plugins.childbrowser"
-    version="3.0.0">
-
-    <name>Test Plugin</name>
-
-    <asset src="www/test.js" target="test.js" />
-    <platform name="ios">
-        <plugins-plist key="TestPlugin" string="Test" />
-    </platform>
-</plugin>
-

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/plugins/test/www/test.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/plugins/test/www/test.js b/spec-cordova/fixtures/plugins/test/www/test.js
deleted file mode 100644
index e69de29..0000000

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/.cordova/config.json
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/.cordova/config.json b/spec-cordova/fixtures/projWithHooks/.cordova/config.json
deleted file mode 100644
index 4f52ca7..0000000
--- a/spec-cordova/fixtures/projWithHooks/.cordova/config.json
+++ /dev/null
@@ -1,22 +0,0 @@
-{
-  "id": "org.testing",
-  "name":"TestBase",
-  "lib": {
-    "android": {
-      "url": "/some/junk/path",
-      "version": "dev",
-      "id": "cordova-android-dev"
-    },
-    "ios": {
-      "url": "/some/junk/path",
-      "version": "dev",
-      "id": "cordova-ios-dev"
-    },
-    "wp8": {
-      "url": "/some/junk/path",
-      "version": "dev",
-      "id": "cordova-wp8-dev"
-    }
-  }
-}
-

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot03.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot03.js b/spec-cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot03.js
deleted file mode 100644
index 5e69a7f..0000000
--- a/spec-cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot03.js
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env node
-var path = require('path');
-var orderLogger = require(path.join(process.argv.slice(2)[0], 'scripts', 'orderLogger'));
-orderLogger.logOrder('01');
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot1.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot1.js b/spec-cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot1.js
deleted file mode 100644
index 2e8d8d5..0000000
--- a/spec-cordova/fixtures/projWithHooks/.cordova/hooks/before_build/hookScriptDot1.js
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env node
-var path = require('path');
-var orderLogger = require(path.join(process.argv.slice(2)[0], 'scripts', 'orderLogger'));
-orderLogger.logOrder('02');
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/.cordova/hooks/fail/fail.js
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/.cordova/hooks/fail/fail.js b/spec-cordova/fixtures/projWithHooks/.cordova/hooks/fail/fail.js
deleted file mode 100644
index 7e8ff52..0000000
--- a/spec-cordova/fixtures/projWithHooks/.cordova/hooks/fail/fail.js
+++ /dev/null
@@ -1,2 +0,0 @@
-#!/usr/bin/env node
-process.exit(1);
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/_bat/.cordova/hooks/before_build/hookScriptDot2.bat
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/_bat/.cordova/hooks/before_build/hookScriptDot2.bat b/spec-cordova/fixtures/projWithHooks/_bat/.cordova/hooks/before_build/hookScriptDot2.bat
deleted file mode 100644
index 0142765..0000000
--- a/spec-cordova/fixtures/projWithHooks/_bat/.cordova/hooks/before_build/hookScriptDot2.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-echo 03 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript01.bat
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript01.bat b/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript01.bat
deleted file mode 100644
index a6711cf..0000000
--- a/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript01.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-echo 04 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript02.bat
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript02.bat b/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript02.bat
deleted file mode 100644
index 1e824a4..0000000
--- a/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript02.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-echo 05 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript3.bat
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript3.bat b/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript3.bat
deleted file mode 100644
index f339213..0000000
--- a/spec-cordova/fixtures/projWithHooks/_bat/hooks/before_build/hookScript3.bat
+++ /dev/null
@@ -1,2 +0,0 @@
-@echo off
-echo 07 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/_sh/.cordova/hooks/before_build/hookScriptDot2.sh
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/_sh/.cordova/hooks/before_build/hookScriptDot2.sh b/spec-cordova/fixtures/projWithHooks/_sh/.cordova/hooks/before_build/hookScriptDot2.sh
deleted file mode 100644
index 7c0c654..0000000
--- a/spec-cordova/fixtures/projWithHooks/_sh/.cordova/hooks/before_build/hookScriptDot2.sh
+++ /dev/null
@@ -1 +0,0 @@
-echo 03 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript01.sh
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript01.sh b/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript01.sh
deleted file mode 100644
index ccc8c89..0000000
--- a/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript01.sh
+++ /dev/null
@@ -1 +0,0 @@
-echo 04 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript02.sh
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript02.sh b/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript02.sh
deleted file mode 100644
index 4926cd8..0000000
--- a/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript02.sh
+++ /dev/null
@@ -1 +0,0 @@
-echo 05 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript3.sh
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript3.sh b/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript3.sh
deleted file mode 100644
index c52c84a..0000000
--- a/spec-cordova/fixtures/projWithHooks/_sh/hooks/before_build/hookScript3.sh
+++ /dev/null
@@ -1 +0,0 @@
-echo 07 >> hooks_order.txt
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/config.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/config.xml b/spec-cordova/fixtures/projWithHooks/config.xml
deleted file mode 100644
index bc81273..0000000
--- a/spec-cordova/fixtures/projWithHooks/config.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<widget id="io.cordova.hellocordova" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
-    <name>HelloCordova</name>
-    <description>
-        A sample Apache Cordova application that responds to the deviceready event.
-    </description>
-    <author email="dev@cordova.apache.org" href="http://cordova.io">
-        Apache Cordova Team
-    </author>
-    <content src="index.html" />
-    <access origin="*" />
-</widget>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d164a88f/spec-cordova/fixtures/projWithHooks/configOnePlatform_bat.xml
----------------------------------------------------------------------
diff --git a/spec-cordova/fixtures/projWithHooks/configOnePlatform_bat.xml b/spec-cordova/fixtures/projWithHooks/configOnePlatform_bat.xml
deleted file mode 100644
index 6f1a691..0000000
--- a/spec-cordova/fixtures/projWithHooks/configOnePlatform_bat.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version='1.0' encoding='utf-8'?>
-<widget id="io.cordova.hellocordova" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
-    <name>HelloCordova</name>
-    <description>
-        A sample Apache Cordova application that responds to the deviceready event.
-    </description>
-    <author email="dev@cordova.apache.org" href="http://cordova.io">
-        Apache Cordova Team
-    </author>
-    <content src="index.html" />
-    <access origin="*" />
-
-    <hook type="before_build" src="scripts/appBeforeBuild1.bat" />
-    <hook type="before_build" src="scripts/appBeforeBuild02.js" />
-    <hook type="before_plugin_install" src="scripts/appBeforePluginInstall.js" />
-
-    <platform name="windows">
-        <hook type="before_build" src="scripts/windows/appWindowsBeforeBuild.bat" />
-        <hook type="before_build" src="scripts/windows/appWindowsBeforeBuild.js" />
-        <hook type="before_plugin_install" src="scripts/windows/appWindowsBeforePluginInstall.js" />
-    </platform>
-</widget>
\ No newline at end of file


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