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/07/20 01:45:15 UTC
[6/15] wp7 commit: updated standalone template for 2.0
updated standalone template for 2.0
Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/commit/5d4f605a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/tree/5d4f605a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/diff/5d4f605a
Branch: refs/heads/master
Commit: 5d4f605a89534c3042074f61861d0a70c9f94358
Parents: 451ab5a
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Thu Jul 19 12:27:01 2012 -0700
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Thu Jul 19 12:27:01 2012 -0700
----------------------------------------------------------------------
.gitignore | 1 +
templates/standalone/CordovaAppProj.csproj | 4 +++-
templates/standalone/Properties/WMAppManifest.xml | 5 +++--
templates/standalone/cordovalib/Commands/Device.cs | 2 +-
4 files changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/5d4f605a/.gitignore
----------------------------------------------------------------------
diff --git a/.gitignore b/.gitignore
index 1eab6cc..56d1b40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -40,6 +40,7 @@ httpd.parse.errors
test/MobileSpecUnitTests/CordovaSourceDictionary.xml
example/CordovaSourceDictionary.xml
+templates/standalone/CordovaSourceDictionary.xml
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/5d4f605a/templates/standalone/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/templates/standalone/CordovaAppProj.csproj b/templates/standalone/CordovaAppProj.csproj
index 852a88e..c91b621 100644
--- a/templates/standalone/CordovaAppProj.csproj
+++ b/templates/standalone/CordovaAppProj.csproj
@@ -165,6 +165,7 @@
</Page>
</ItemGroup>
<ItemGroup>
+ <Content Include="www\js\index.js" />
<None Include="VERSION" />
<Resource Include="cordovalib\Images\appbar.back.rest.png" />
<Resource Include="cordovalib\Images\appbar.close.rest.png" />
@@ -178,10 +179,11 @@
</Content>
<None Include="BuildManifestProcessor.js" />
<Content Include="www\cordova-2.0.0.js" />
+ <Content Include="www\css\index.css" />
+ <Content Include="www\img\cordova.png" />
<Content Include="www\index.html">
<SubType>Designer</SubType>
</Content>
- <Content Include="www\master.css" />
<None Include="cordova\debug.bat" />
<None Include="cordova\emulate.bat" />
<None Include="Properties\AppManifest.xml">
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/5d4f605a/templates/standalone/Properties/WMAppManifest.xml
----------------------------------------------------------------------
diff --git a/templates/standalone/Properties/WMAppManifest.xml b/templates/standalone/Properties/WMAppManifest.xml
index 8d6a685..10f4d99 100644
--- a/templates/standalone/Properties/WMAppManifest.xml
+++ b/templates/standalone/Properties/WMAppManifest.xml
@@ -2,8 +2,9 @@
<Deployment xmlns="http://schemas.microsoft.com/windowsphone/2009/deployment" AppPlatformVersion="7.1">
<App xmlns="" ProductID="{$guid1$}" Title="$safeprojectname$"
RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal"
- Author="$safeprojectname$ author" BitsPerPixel="32"
- Description="PhoneGap for Windows Phone 7"
+ Author="$safeprojectname$ author"
+ BitsPerPixel="32"
+ Description="Apache Cordova for Windows Phone 7"
Publisher="$safeprojectname$">
<IconPath IsRelative="true" IsResource="false">ApplicationIcon.png</IconPath>
http://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7/blob/5d4f605a/templates/standalone/cordovalib/Commands/Device.cs
----------------------------------------------------------------------
diff --git a/templates/standalone/cordovalib/Commands/Device.cs b/templates/standalone/cordovalib/Commands/Device.cs
index b4b4a31..8fde683 100644
--- a/templates/standalone/cordovalib/Commands/Device.cs
+++ b/templates/standalone/cordovalib/Commands/Device.cs
@@ -62,7 +62,7 @@ namespace WP7CordovaClassLib.Cordova.Commands
get
{
// TODO: should be able to dynamically read the Cordova version from somewhere...
- return "2.0.0rc1";
+ return "2.0.0";
}
}