You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by pu...@apache.org on 2012/11/27 03:07:31 UTC
[26/30] git commit: removed BuildManifestProcessor.js and
CordovaSourceDictionary.xaml
removed BuildManifestProcessor.js and CordovaSourceDictionary.xaml
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/9389a816
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/9389a816
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/9389a816
Branch: refs/heads/master
Commit: 9389a816bc40b7a25b836a8840e372cdf16583ce
Parents: 0501ebf
Author: Ruslan Kokorev <ru...@bsquare.com>
Authored: Fri Nov 9 15:00:20 2012 +0400
Committer: Ruslan Kokorev <ru...@bsquare.com>
Committed: Fri Nov 9 15:00:20 2012 +0400
----------------------------------------------------------------------
example/BuildManifestProcessor.js | 81 --------------
example/CordovaExample.csproj | 5 -
example/CordovaSourceDictionary.xml | 22 ----
plugins/BuildManifestProcessor.js | 80 --------------
plugins/CordovaPlugins.csproj | 3 -
plugins/CordovaSourceDictionary.xml | 18 ---
templates/CordovaStarter-2.2.0.zip | Bin 224561 -> 222873 bytes
templates/custom/BuildManifestProcessor.js | 83 ---------------
templates/custom/CordovaAppProj.csproj | 5 +-
templates/custom/CordovaSourceDictionary.xml | 9 --
templates/full/BuildManifestProcessor.js | 80 --------------
templates/full/CordovaAppProj.csproj | 3 -
templates/full/CordovaSourceDictionary.xml | 9 --
templates/standalone/BuildManifestProcessor.js | 80 --------------
templates/standalone/CordovaAppProj.csproj | 5 -
templates/standalone/CordovaSourceDictionary.xml | 9 --
.../MobileSpecUnitTests/BuildManifestProcessor.js | 80 --------------
.../CordovaSourceDictionary.xml | 70 ------------
.../MobileSpecUnitTests/MobileSpecUnitTests.csproj | 3 -
19 files changed, 1 insertions(+), 644 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/example/BuildManifestProcessor.js
----------------------------------------------------------------------
diff --git a/example/BuildManifestProcessor.js b/example/BuildManifestProcessor.js
deleted file mode 100644
index 8b533c6..0000000
--- a/example/BuildManifestProcessor.js
+++ /dev/null
@@ -1,81 +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.
-*/
-
-var objArgs = WScript.Arguments;
-for (i = 0; i < objArgs.length; i++) {
- WScript.Echo("Arg :: " + objArgs(i));
-}
-
-var projectFilePath = null;
-if (objArgs && objArgs.length > 0) {
- projectFilePath = objArgs(0);
-}
-
-
-var fso = WScript.CreateObject("Scripting.FileSystemObject");
-var outFile = fso.CreateTextFile("..\\..\\CordovaSourceDictionary.xml", true);
-
-outFile.WriteLine('<?xml version="1.0" encoding="utf-8"?>');
-outFile.WriteLine('<!-- This file is auto-generated, do not edit! -jm -->');
-outFile.WriteLine('<CordovaSourceDictionary>');
-
-// We need to get any Linked files from the project
-
-WScript.Echo("Adding Source Files ...");
-if (projectFilePath != null) {
- var projXml = WScript.CreateObject("Microsoft.XMLDOM");
-
- projXml.async = false;
- if (projXml.load(projectFilePath)) {
-
- // add linked content ( windows shortcuts )
- var nodes = projXml.selectNodes("/Project/ItemGroup/Content/Link");
- WScript.Echo("/Project/ItemGroup/Content/Link nodes.length" + nodes.length);
- for (var n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add files of type Resource
- nodes = projXml.selectNodes("/Project/ItemGroup/Resource/Link");
- WScript.Echo("/Project/ItemGroup/Resource/Link nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add Content files from www folder
- nodes = projXml.selectNodes("/Project/ItemGroup/Content[@Include]");
- WScript.Echo("/Project/ItemGroup/Content nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- for (var i = 0; i < nodes[n].attributes.length; i++) {
-
- if (nodes[n].attributes[i].name == "Include") {
- var val = nodes[n].attributes[i].value;
- if (val.indexOf("www") == 0) {
- WScript.Echo("adding value :: " + val);
- outFile.WriteLine(' <FilePath Value="' + val + '"/>');
- }
- }
- }
-
- }
- }
-}
-
-outFile.WriteLine('</CordovaSourceDictionary>');
-
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/example/CordovaExample.csproj
----------------------------------------------------------------------
diff --git a/example/CordovaExample.csproj b/example/CordovaExample.csproj
index 96f6ac5..8c70c31 100644
--- a/example/CordovaExample.csproj
+++ b/example/CordovaExample.csproj
@@ -140,9 +140,6 @@
</Page>
</ItemGroup>
<ItemGroup>
- <Content Include="CordovaSourceDictionary.xml">
- <SubType>Designer</SubType>
- </Content>
<Content Include="www\cordova-2.2.0.js" />
<Content Include="www\cordova-current.js" />
<Content Include="www\network.html">
@@ -154,7 +151,6 @@
<Content Include="www\storage.html">
<SubType>Designer</SubType>
</Content>
- <None Include="BuildManifestProcessor.js" />
<Content Include="www\accelerometer.html">
<SubType>Designer</SubType>
</Content>
@@ -231,7 +227,6 @@
-->
<ProjectExtensions />
<PropertyGroup>
- <PreBuildEvent>CScript "$(ProjectDir)/BuildManifestProcessor.js" "$(ProjectPath)"</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/example/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/example/CordovaSourceDictionary.xml b/example/CordovaSourceDictionary.xml
deleted file mode 100644
index c321e11..0000000
--- a/example/CordovaSourceDictionary.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This file is auto-generated, do not edit! -jm -->
-<CordovaSourceDictionary>
- <FilePath Value="www\cordova-2.2.0.js"/>
- <FilePath Value="www\cordova-current.js"/>
- <FilePath Value="www\network.html"/>
- <FilePath Value="www\notification.html"/>
- <FilePath Value="www\storage.html"/>
- <FilePath Value="www\accelerometer.html"/>
- <FilePath Value="www\accelerometer2.html"/>
- <FilePath Value="www\audio.html"/>
- <FilePath Value="www\calculator.html"/>
- <FilePath Value="www\camera.html"/>
- <FilePath Value="www\capture.html"/>
- <FilePath Value="www\compass.html"/>
- <FilePath Value="www\contacts.html"/>
- <FilePath Value="www\events.html"/>
- <FilePath Value="www\file.html"/>
- <FilePath Value="www\index.html"/>
- <FilePath Value="www\location.html"/>
- <FilePath Value="www\master.css"/>
-</CordovaSourceDictionary>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/plugins/BuildManifestProcessor.js
----------------------------------------------------------------------
diff --git a/plugins/BuildManifestProcessor.js b/plugins/BuildManifestProcessor.js
deleted file mode 100644
index 67073d2..0000000
--- a/plugins/BuildManifestProcessor.js
+++ /dev/null
@@ -1,80 +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.
-*/
-var objArgs = WScript.Arguments;
-for (i = 0; i < objArgs.length; i++) {
- WScript.Echo("Arg :: " + objArgs(i));
-}
-
-var projectFilePath = null;
-if (objArgs && objArgs.length > 0) {
- projectFilePath = objArgs(0);
-}
-
-
-var fso = WScript.CreateObject("Scripting.FileSystemObject");
-var outFile = fso.CreateTextFile("..\\..\\CordovaSourceDictionary.xml", true);
-
-outFile.WriteLine('<?xml version="1.0" encoding="utf-8"?>');
-outFile.WriteLine('<!-- This file is auto-generated, do not edit! -jm -->');
-outFile.WriteLine('<CordovaSourceDictionary>');
-
-// We need to get any Linked files from the project
-
-WScript.Echo("Adding Source Files ...");
-if (projectFilePath != null) {
- var projXml = WScript.CreateObject("Microsoft.XMLDOM");
-
- projXml.async = false;
- if (projXml.load(projectFilePath)) {
-
- // add linked content ( windows shortcuts )
- var nodes = projXml.selectNodes("/Project/ItemGroup/Content/Link");
- WScript.Echo("/Project/ItemGroup/Content/Link nodes.length" + nodes.length);
- for (var n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add files of type Resource
- nodes = projXml.selectNodes("/Project/ItemGroup/Resource/Link");
- WScript.Echo("/Project/ItemGroup/Resource/Link nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add Content files from www folder
- nodes = projXml.selectNodes("/Project/ItemGroup/Content[@Include]");
- WScript.Echo("/Project/ItemGroup/Content nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- for (var i = 0; i < nodes[n].attributes.length; i++) {
-
- if (nodes[n].attributes[i].name == "Include") {
- var val = nodes[n].attributes[i].value;
- if (val.indexOf("www") == 0) {
- WScript.Echo("adding value :: " + val);
- outFile.WriteLine(' <FilePath Value="' + val + '"/>');
- }
- }
- }
-
- }
- }
-}
-
-outFile.WriteLine('</CordovaSourceDictionary>');
-
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/plugins/CordovaPlugins.csproj
----------------------------------------------------------------------
diff --git a/plugins/CordovaPlugins.csproj b/plugins/CordovaPlugins.csproj
index 25ffac0..69487a0 100644
--- a/plugins/CordovaPlugins.csproj
+++ b/plugins/CordovaPlugins.csproj
@@ -146,7 +146,6 @@
</ItemGroup>
<ItemGroup>
<Content Include="CordovaLib\WPCordovaClassLib.dll" />
- <Content Include="CordovaSourceDictionary.xml" />
<Content Include="Images\appbar.back.rest.png" />
<Content Include="Images\appbar.close.rest.png" />
<Content Include="Images\appbar.feature.video.rest.png" />
@@ -169,7 +168,6 @@
<Content Include="www\plugins\PGMapLauncher\PGMapLauncher.js" />
<Content Include="www\plugins\PGSocialShare\PGSocialShare.js" />
<Content Include="www\plugins\PGSocialShare\share.html" />
- <None Include="BuildManifestProcessor.js" />
<None Include="cordova\debug.bat" />
<None Include="cordova\emulate.bat" />
<None Include="Properties\AppManifest.xml">
@@ -213,7 +211,6 @@
-->
<ProjectExtensions />
<PropertyGroup>
- <PreBuildEvent>CScript "$(ProjectDir)/BuildManifestProcessor.js" "$(ProjectPath)"</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/plugins/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/plugins/CordovaSourceDictionary.xml b/plugins/CordovaSourceDictionary.xml
deleted file mode 100644
index 9d66e85..0000000
--- a/plugins/CordovaSourceDictionary.xml
+++ /dev/null
@@ -1,18 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This file is auto-generated, do not edit! -jm -->
-<CordovaSourceDictionary>
- <FilePath Value="www\cordova-2.2.0.js"/>
- <FilePath Value="www\index.html"/>
- <FilePath Value="www\master.css"/>
- <FilePath Value="www\plugins\ChildBrowser\browser.html"/>
- <FilePath Value="www\plugins\ChildBrowser\ChildBrowser.js"/>
- <FilePath Value="www\plugins\Facebook\facebook.html"/>
- <FilePath Value="www\plugins\Facebook\FBConnect.js"/>
- <FilePath Value="www\plugins\index.html"/>
- <FilePath Value="www\plugins\LiveTiles\liveTiles.js"/>
- <FilePath Value="www\plugins\LiveTiles\liveTilesExample.html"/>
- <FilePath Value="www\plugins\PGMapLauncher\map.html"/>
- <FilePath Value="www\plugins\PGMapLauncher\PGMapLauncher.js"/>
- <FilePath Value="www\plugins\PGSocialShare\PGSocialShare.js"/>
- <FilePath Value="www\plugins\PGSocialShare\share.html"/>
-</CordovaSourceDictionary>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/CordovaStarter-2.2.0.zip
----------------------------------------------------------------------
diff --git a/templates/CordovaStarter-2.2.0.zip b/templates/CordovaStarter-2.2.0.zip
index 17cac22..97c3ad8 100644
Binary files a/templates/CordovaStarter-2.2.0.zip and b/templates/CordovaStarter-2.2.0.zip differ
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/custom/BuildManifestProcessor.js
----------------------------------------------------------------------
diff --git a/templates/custom/BuildManifestProcessor.js b/templates/custom/BuildManifestProcessor.js
deleted file mode 100644
index 54c8936..0000000
--- a/templates/custom/BuildManifestProcessor.js
+++ /dev/null
@@ -1,83 +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.
-*/
-
-var objArgs = WScript.Arguments;
-for (i = 0; i < objArgs.length; i++)
-{
- WScript.Echo("Arg :: " + objArgs(i));
-}
-
-var projectFilePath = null;
-if(objArgs && objArgs.length > 0)
-{
- projectFilePath = objArgs(0);
-}
-
-
-var fso = WScript.CreateObject("Scripting.FileSystemObject");
-
-var folder = fso.GetFolder("..\\..\\www");
-
-var outFile = fso.CreateTextFile("..\\..\\CordovaSourceDictionary.xml", true);
-
-outFile.WriteLine('<?xml version="1.0" encoding="utf-8"?>');
-outFile.WriteLine('<!-- This file is auto-generated, do not edit! -jm -->');
-outFile.WriteLine('<CordovaSourceDictionary>');
-
-function enumerateFolder(folder,parentPath)
-{
- var files = new Enumerator(folder.files);
- while(!files.atEnd())
- {
- WScript.Echo(parentPath + "\\" + fso.GetFileName(files.item()));
- outFile.WriteLine(' <FilePath Value="' + parentPath + "\\" + fso.GetFileName(files.item()) + '"/>');
- files.moveNext();
- }
-
- var subFolders = new Enumerator(folder.SubFolders);
- while(!subFolders.atEnd())
- {
- var item = subFolders.item();
- enumerateFolder(item, parentPath + "\\" + fso.GetFileName(item));
- subFolders.moveNext();
- }
-}
-enumerateFolder(folder,"www");
-
-// Next we need to get any Linked files from the project
-
-WScript.Echo("Adding Linked Files ...");
-if(projectFilePath != null)
-{
- var projXml = WScript.CreateObject("Microsoft.XMLDOM");
-
- projXml.async = false;
- if(projXml.load(projectFilePath))
- {
- var nodes = projXml.selectNodes("Project/ItemGroup/Content/Link");
- WScript.Echo("nodes.length" + nodes.length);
- for(var n = 0; n < nodes.length; n++)
- {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
- }
-}
-
-outFile.WriteLine('</CordovaSourceDictionary>');
-
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/custom/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/templates/custom/CordovaAppProj.csproj b/templates/custom/CordovaAppProj.csproj
index d4ec477..9f937c6 100644
--- a/templates/custom/CordovaAppProj.csproj
+++ b/templates/custom/CordovaAppProj.csproj
@@ -91,8 +91,6 @@
</ApplicationDefinition>
</ItemGroup>
<ItemGroup>
- <Content Include="BuildManifestProcessor.js" />
- <Content Include="CordovaSourceDictionary.xml" />
<Content Include="www\cordova-2.2.0.js" />
<Content Include="www\css\index.css" />
<Content Include="www\js\index.js" />
@@ -142,8 +140,7 @@
</Target>
-->
<ProjectExtensions />
- <PropertyGroup>
- <PreBuildEvent>CScript "$(ProjectDir)/BuildManifestProcessor.js" "$(ProjectPath)"</PreBuildEvent>
+ <PropertyGroup>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/custom/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/templates/custom/CordovaSourceDictionary.xml b/templates/custom/CordovaSourceDictionary.xml
deleted file mode 100644
index 9edcba7..0000000
--- a/templates/custom/CordovaSourceDictionary.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This file is auto-generated, do not edit! -jm -->
-<CordovaSourceDictionary>
- <FilePath Value="www\cordova-2.1.0.js"/>
- <FilePath Value="www\index.html"/>
- <FilePath Value="www\css\index.css"/>
- <FilePath Value="www\img\cordova.png"/>
- <FilePath Value="www\js\index.js"/>
-</CordovaSourceDictionary>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/full/BuildManifestProcessor.js
----------------------------------------------------------------------
diff --git a/templates/full/BuildManifestProcessor.js b/templates/full/BuildManifestProcessor.js
deleted file mode 100644
index 67073d2..0000000
--- a/templates/full/BuildManifestProcessor.js
+++ /dev/null
@@ -1,80 +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.
-*/
-var objArgs = WScript.Arguments;
-for (i = 0; i < objArgs.length; i++) {
- WScript.Echo("Arg :: " + objArgs(i));
-}
-
-var projectFilePath = null;
-if (objArgs && objArgs.length > 0) {
- projectFilePath = objArgs(0);
-}
-
-
-var fso = WScript.CreateObject("Scripting.FileSystemObject");
-var outFile = fso.CreateTextFile("..\\..\\CordovaSourceDictionary.xml", true);
-
-outFile.WriteLine('<?xml version="1.0" encoding="utf-8"?>');
-outFile.WriteLine('<!-- This file is auto-generated, do not edit! -jm -->');
-outFile.WriteLine('<CordovaSourceDictionary>');
-
-// We need to get any Linked files from the project
-
-WScript.Echo("Adding Source Files ...");
-if (projectFilePath != null) {
- var projXml = WScript.CreateObject("Microsoft.XMLDOM");
-
- projXml.async = false;
- if (projXml.load(projectFilePath)) {
-
- // add linked content ( windows shortcuts )
- var nodes = projXml.selectNodes("/Project/ItemGroup/Content/Link");
- WScript.Echo("/Project/ItemGroup/Content/Link nodes.length" + nodes.length);
- for (var n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add files of type Resource
- nodes = projXml.selectNodes("/Project/ItemGroup/Resource/Link");
- WScript.Echo("/Project/ItemGroup/Resource/Link nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add Content files from www folder
- nodes = projXml.selectNodes("/Project/ItemGroup/Content[@Include]");
- WScript.Echo("/Project/ItemGroup/Content nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- for (var i = 0; i < nodes[n].attributes.length; i++) {
-
- if (nodes[n].attributes[i].name == "Include") {
- var val = nodes[n].attributes[i].value;
- if (val.indexOf("www") == 0) {
- WScript.Echo("adding value :: " + val);
- outFile.WriteLine(' <FilePath Value="' + val + '"/>');
- }
- }
- }
-
- }
- }
-}
-
-outFile.WriteLine('</CordovaSourceDictionary>');
-
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/full/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/templates/full/CordovaAppProj.csproj b/templates/full/CordovaAppProj.csproj
index d0c33f6..09b8877 100644
--- a/templates/full/CordovaAppProj.csproj
+++ b/templates/full/CordovaAppProj.csproj
@@ -142,11 +142,9 @@
</ItemGroup>
<ItemGroup>
<Content Include="CordovaLib\WPCordovaClassLib.dll" />
- <Content Include="CordovaSourceDictionary.xml" />
<Content Include="www\cordova-2.2.0.js" />
<Content Include="www\img\logo.png" />
<Content Include="www\js\index.js" />
- <None Include="BuildManifestProcessor.js" />
<Content Include="www\css\index.css" />
<Content Include="www\index.html">
<SubType>Designer</SubType>
@@ -192,7 +190,6 @@
-->
<ProjectExtensions />
<PropertyGroup>
- <PreBuildEvent>CScript "$(ProjectDir)/BuildManifestProcessor.js" "$(ProjectPath)"</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/full/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/templates/full/CordovaSourceDictionary.xml b/templates/full/CordovaSourceDictionary.xml
deleted file mode 100644
index 0658088..0000000
--- a/templates/full/CordovaSourceDictionary.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This file is auto-generated, do not edit! -jm -->
-<CordovaSourceDictionary>
- <FilePath Value="www\cordova-2.2.0.js"/>
- <FilePath Value="www\img\logo.png"/>
- <FilePath Value="www\js\index.js"/>
- <FilePath Value="www\css\index.css"/>
- <FilePath Value="www\index.html"/>
-</CordovaSourceDictionary>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/standalone/BuildManifestProcessor.js
----------------------------------------------------------------------
diff --git a/templates/standalone/BuildManifestProcessor.js b/templates/standalone/BuildManifestProcessor.js
deleted file mode 100644
index 67073d2..0000000
--- a/templates/standalone/BuildManifestProcessor.js
+++ /dev/null
@@ -1,80 +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.
-*/
-var objArgs = WScript.Arguments;
-for (i = 0; i < objArgs.length; i++) {
- WScript.Echo("Arg :: " + objArgs(i));
-}
-
-var projectFilePath = null;
-if (objArgs && objArgs.length > 0) {
- projectFilePath = objArgs(0);
-}
-
-
-var fso = WScript.CreateObject("Scripting.FileSystemObject");
-var outFile = fso.CreateTextFile("..\\..\\CordovaSourceDictionary.xml", true);
-
-outFile.WriteLine('<?xml version="1.0" encoding="utf-8"?>');
-outFile.WriteLine('<!-- This file is auto-generated, do not edit! -jm -->');
-outFile.WriteLine('<CordovaSourceDictionary>');
-
-// We need to get any Linked files from the project
-
-WScript.Echo("Adding Source Files ...");
-if (projectFilePath != null) {
- var projXml = WScript.CreateObject("Microsoft.XMLDOM");
-
- projXml.async = false;
- if (projXml.load(projectFilePath)) {
-
- // add linked content ( windows shortcuts )
- var nodes = projXml.selectNodes("/Project/ItemGroup/Content/Link");
- WScript.Echo("/Project/ItemGroup/Content/Link nodes.length" + nodes.length);
- for (var n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add files of type Resource
- nodes = projXml.selectNodes("/Project/ItemGroup/Resource/Link");
- WScript.Echo("/Project/ItemGroup/Resource/Link nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add Content files from www folder
- nodes = projXml.selectNodes("/Project/ItemGroup/Content[@Include]");
- WScript.Echo("/Project/ItemGroup/Content nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- for (var i = 0; i < nodes[n].attributes.length; i++) {
-
- if (nodes[n].attributes[i].name == "Include") {
- var val = nodes[n].attributes[i].value;
- if (val.indexOf("www") == 0) {
- WScript.Echo("adding value :: " + val);
- outFile.WriteLine(' <FilePath Value="' + val + '"/>');
- }
- }
- }
-
- }
- }
-}
-
-outFile.WriteLine('</CordovaSourceDictionary>');
-
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/standalone/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/templates/standalone/CordovaAppProj.csproj b/templates/standalone/CordovaAppProj.csproj
index 68fde0a..38d11c4 100644
--- a/templates/standalone/CordovaAppProj.csproj
+++ b/templates/standalone/CordovaAppProj.csproj
@@ -218,10 +218,6 @@
<Resource Include="cordovalib\Images\appbar.save.rest.png" />
<Resource Include="cordovalib\Images\appbar.stop.rest.png" />
<Content Include="cordovalib\resources\notification-beep.wav" />
- <Content Include="CordovaSourceDictionary.xml">
- <SubType>Designer</SubType>
- </Content>
- <None Include="BuildManifestProcessor.js" />
<Content Include="www\css\index.css" />
<Content Include="www\index.html">
<SubType>Designer</SubType>
@@ -264,7 +260,6 @@
-->
<ProjectExtensions />
<PropertyGroup>
- <PreBuildEvent>CScript "$(ProjectDir)/BuildManifestProcessor.js" "$(ProjectPath)"</PreBuildEvent>
</PropertyGroup>
<PropertyGroup>
<PostBuildEvent>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/templates/standalone/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/templates/standalone/CordovaSourceDictionary.xml b/templates/standalone/CordovaSourceDictionary.xml
deleted file mode 100644
index 0658088..0000000
--- a/templates/standalone/CordovaSourceDictionary.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This file is auto-generated, do not edit! -jm -->
-<CordovaSourceDictionary>
- <FilePath Value="www\cordova-2.2.0.js"/>
- <FilePath Value="www\img\logo.png"/>
- <FilePath Value="www\js\index.js"/>
- <FilePath Value="www\css\index.css"/>
- <FilePath Value="www\index.html"/>
-</CordovaSourceDictionary>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/tests/MobileSpecUnitTests/BuildManifestProcessor.js
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/BuildManifestProcessor.js b/tests/MobileSpecUnitTests/BuildManifestProcessor.js
deleted file mode 100644
index d602cd5..0000000
--- a/tests/MobileSpecUnitTests/BuildManifestProcessor.js
+++ /dev/null
@@ -1,80 +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.
- */
-var objArgs = WScript.Arguments;
-for (i = 0; i < objArgs.length; i++) {
- WScript.Echo("Arg :: " + objArgs(i));
-}
-
-var projectFilePath = null;
-if (objArgs && objArgs.length > 0) {
- projectFilePath = objArgs(0);
-}
-
-
-var fso = WScript.CreateObject("Scripting.FileSystemObject");
-var outFile = fso.CreateTextFile("..\\..\\CordovaSourceDictionary.xml", true);
-
-outFile.WriteLine('<?xml version="1.0" encoding="utf-8"?>');
-outFile.WriteLine('<!-- This file is auto-generated, do not edit! -jm -->');
-outFile.WriteLine('<CordovaSourceDictionary>');
-
-// We need to get any Linked files from the project
-
-WScript.Echo("Adding Source Files ...");
-if (projectFilePath != null) {
- var projXml = WScript.CreateObject("Microsoft.XMLDOM");
-
- projXml.async = false;
- if (projXml.load(projectFilePath)) {
-
- // add linked content ( windows shortcuts )
- var nodes = projXml.selectNodes("/Project/ItemGroup/Content/Link");
- WScript.Echo("/Project/ItemGroup/Content/Link nodes.length" + nodes.length);
- for (var n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add files of type Resource
- nodes = projXml.selectNodes("/Project/ItemGroup/Resource/Link");
- WScript.Echo("/Project/ItemGroup/Resource/Link nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- outFile.WriteLine(' <FilePath Value="' + nodes[n].text + '"/>');
- }
-
- // add Content files from www folder
- nodes = projXml.selectNodes("/Project/ItemGroup/Content[@Include]");
- WScript.Echo("/Project/ItemGroup/Content nodes.length" + nodes.length);
- for (n = 0; n < nodes.length; n++) {
- for (var i = 0; i < nodes[n].attributes.length; i++) {
-
- if (nodes[n].attributes[i].name == "Include") {
- var val = nodes[n].attributes[i].value;
- if (val.indexOf("www") == 0) {
- WScript.Echo("adding value :: " + val);
- outFile.WriteLine(' <FilePath Value="' + val + '"/>');
- }
- }
- }
-
- }
- }
-}
-
-outFile.WriteLine('</CordovaSourceDictionary>');
-
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml b/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
deleted file mode 100644
index e5bbf05..0000000
--- a/tests/MobileSpecUnitTests/CordovaSourceDictionary.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- This file is auto-generated, do not edit! -jm -->
-<CordovaSourceDictionary>
- <FilePath Value="www\accelerometer\index.html"/>
- <FilePath Value="www\audio\index.html"/>
- <FilePath Value="www\autotest\html\HtmlReporter.js"/>
- <FilePath Value="www\autotest\html\HtmlReporterHelpers.js"/>
- <FilePath Value="www\autotest\html\ReporterView.js"/>
- <FilePath Value="www\autotest\html\SpecView.js"/>
- <FilePath Value="www\autotest\html\SuiteView.js"/>
- <FilePath Value="www\autotest\html\TrivialReporter.js"/>
- <FilePath Value="www\autotest\index.html"/>
- <FilePath Value="www\autotest\jasmine.css"/>
- <FilePath Value="www\autotest\jasmine.js"/>
- <FilePath Value="www\autotest\pages\accelerometer.html"/>
- <FilePath Value="www\autotest\pages\all.html"/>
- <FilePath Value="www\autotest\pages\battery.html"/>
- <FilePath Value="www\autotest\pages\bridge.html"/>
- <FilePath Value="www\autotest\pages\camera.html"/>
- <FilePath Value="www\autotest\pages\capture.html"/>
- <FilePath Value="www\autotest\pages\compass.html"/>
- <FilePath Value="www\autotest\pages\contacts.html"/>
- <FilePath Value="www\autotest\pages\datauri.html"/>
- <FilePath Value="www\autotest\pages\device.html"/>
- <FilePath Value="www\autotest\pages\file.html"/>
- <FilePath Value="www\autotest\pages\filetransfer.html"/>
- <FilePath Value="www\autotest\pages\geolocation.html"/>
- <FilePath Value="www\autotest\pages\globalization.html"/>
- <FilePath Value="www\autotest\pages\media.html"/>
- <FilePath Value="www\autotest\pages\network.html"/>
- <FilePath Value="www\autotest\pages\notification.html"/>
- <FilePath Value="www\autotest\pages\platform.html"/>
- <FilePath Value="www\autotest\pages\storage.html"/>
- <FilePath Value="www\autotest\test-runner.js"/>
- <FilePath Value="www\autotest\tests\accelerometer.tests.js"/>
- <FilePath Value="www\autotest\tests\battery.tests.js"/>
- <FilePath Value="www\autotest\tests\bridge.tests.js"/>
- <FilePath Value="www\autotest\tests\camera.tests.js"/>
- <FilePath Value="www\autotest\tests\capture.tests.js"/>
- <FilePath Value="www\autotest\tests\compass.tests.js"/>
- <FilePath Value="www\autotest\tests\contacts.tests.js"/>
- <FilePath Value="www\autotest\tests\datauri.tests.js"/>
- <FilePath Value="www\autotest\tests\device.tests.js"/>
- <FilePath Value="www\autotest\tests\file.tests.js"/>
- <FilePath Value="www\autotest\tests\filetransfer.tests.js"/>
- <FilePath Value="www\autotest\tests\geolocation.tests.js"/>
- <FilePath Value="www\autotest\tests\globalization.tests.js"/>
- <FilePath Value="www\autotest\tests\media.tests.js"/>
- <FilePath Value="www\autotest\tests\network.tests.js"/>
- <FilePath Value="www\autotest\tests\notification.tests.js"/>
- <FilePath Value="www\autotest\tests\platform.tests.js"/>
- <FilePath Value="www\autotest\tests\storage.tests.js"/>
- <FilePath Value="www\battery\index.html"/>
- <FilePath Value="www\camera\index.html"/>
- <FilePath Value="www\compass\index.html"/>
- <FilePath Value="www\contacts\index.html"/>
- <FilePath Value="www\cordova-2.2.0.js"/>
- <FilePath Value="www\cordova.js"/>
- <FilePath Value="www\events\index.html"/>
- <FilePath Value="www\index.html"/>
- <FilePath Value="www\location\index.html"/>
- <FilePath Value="www\main.js"/>
- <FilePath Value="www\master.css"/>
- <FilePath Value="www\misc\index.html"/>
- <FilePath Value="www\misc\page2.html"/>
- <FilePath Value="www\network\index.html"/>
- <FilePath Value="www\notification\index.html"/>
- <FilePath Value="www\sql\index.html"/>
- <FilePath Value="www\storage\index.html"/>
-</CordovaSourceDictionary>
http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/9389a816/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
----------------------------------------------------------------------
diff --git a/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj b/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
index 81bb839..25c3bb8 100644
--- a/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
+++ b/tests/MobileSpecUnitTests/MobileSpecUnitTests.csproj
@@ -150,8 +150,6 @@
<Content Include="Background.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
- <Content Include="BuildManifestProcessor.js" />
- <Content Include="CordovaSourceDictionary.xml" />
<Content Include="www\accelerometer\index.html" />
<Content Include="www\audio\index.html" />
<Content Include="www\autotest\html\HtmlReporter.js" />
@@ -245,6 +243,5 @@
-->
<ProjectExtensions />
<PropertyGroup>
- <PreBuildEvent>CScript "$(ProjectDir)/BuildManifestProcessor.js" "$(ProjectPath)"</PreBuildEvent>
</PropertyGroup>
</Project>
\ No newline at end of file