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/12/07 23:51:50 UTC

[8/9] git commit: updates to template stuff

updates to template stuff


Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/79f5bfe8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/79f5bfe8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/79f5bfe8

Branch: refs/heads/master
Commit: 79f5bfe80dd5815484c889e7fe31a924bc1fcfd6
Parents: 74a0991
Author: Jesse MacFadyen <pu...@gmail.com>
Authored: Mon Dec 3 16:26:21 2012 -0800
Committer: Jesse MacFadyen <pu...@gmail.com>
Committed: Mon Dec 3 16:26:21 2012 -0800

----------------------------------------------------------------------
 framework/Properties/AssemblyInfo.cs              |    6 ++--
 templates/description.txt                         |   10 +++++-
 templates/full/CordovaAppProj.csproj              |    4 +-
 templates/full/CordovaLib/WPCordovaClassLib.dll   |  Bin 0 -> 158208 bytes
 templates/standalone/CordovaAppProj.csproj        |    6 +--
 templates/standalone/Properties/WMAppManifest.xml |   24 ++++++---------
 6 files changed, 25 insertions(+), 25 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/79f5bfe8/framework/Properties/AssemblyInfo.cs
----------------------------------------------------------------------
diff --git a/framework/Properties/AssemblyInfo.cs b/framework/Properties/AssemblyInfo.cs
index 8eb157a..b72c495 100644
--- a/framework/Properties/AssemblyInfo.cs
+++ b/framework/Properties/AssemblyInfo.cs
@@ -6,7 +6,7 @@ using System.Runtime.InteropServices;
 // set of attributes. Change these attribute values to modify the information
 // associated with an assembly.
 [assembly: AssemblyTitle("WPCordovaClassLib")]
-[assembly: AssemblyDescription("2.2")]
+[assembly: AssemblyDescription("2.3.0rc1")]
 [assembly: AssemblyConfiguration("")]
 [assembly: AssemblyCompany("Apache Cordova")]
 [assembly: AssemblyProduct("WPCordovaClassLib")]
@@ -31,5 +31,5 @@ using System.Runtime.InteropServices;
 //
 // You can specify all the values or you can default the Revision and Build Numbers 
 // by using the '*' as shown below:
-[assembly: AssemblyVersion("2.2.0")]
-[assembly: AssemblyFileVersion("2.2.0")]
+[assembly: AssemblyVersion("2.3.0")]
+[assembly: AssemblyFileVersion("2.3.0")]

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/79f5bfe8/templates/description.txt
----------------------------------------------------------------------
diff --git a/templates/description.txt b/templates/description.txt
index 039cf14..0f41cba 100644
--- a/templates/description.txt
+++ b/templates/description.txt
@@ -1,4 +1,10 @@
-CordovaStarter
+CordovaWP8AppFull
+
+Apache Cordova 2.3.0rc1 Windows Phone 8 App using a pre-built dll.
+
+CordovaWP8AppStandalone
+
+Apache Cordova 2.3.0rc1 Windows Phone 8 App including all framework source code.
+
 
-Starter project for building a Cordova app for Windows Phone version: 2.2.0rc2
 

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/79f5bfe8/templates/full/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/templates/full/CordovaAppProj.csproj b/templates/full/CordovaAppProj.csproj
index 1312772..9ff5cf0 100644
--- a/templates/full/CordovaAppProj.csproj
+++ b/templates/full/CordovaAppProj.csproj
@@ -141,6 +141,7 @@
     </Page>
   </ItemGroup>
   <ItemGroup>
+    <Content Include="CordovaLib\WPCordovaClassLib.dll" />
     <Content Include="www\cordova-2.3.0.js" />
     <Content Include="www\img\logo.png" />
     <Content Include="www\js\index.js" />
@@ -173,11 +174,10 @@
     <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
   </ItemGroup>
   <ItemGroup>
-    <Folder Include="CordovaLib\" />
     <Folder Include="Plugins\" />
   </ItemGroup>
   <ItemGroup>
-    <Reference Include="WPCordovaClassLib, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL" />
+    <Reference Include="WPCordovaClassLib, Version=2.3.0.0, Culture=neutral, processorArchitecture=MSIL" />
   </ItemGroup>
   <Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).$(TargetFrameworkVersion).Overrides.targets" />
   <Import Project="$(MSBuildExtensionsPath)\Microsoft\$(TargetFrameworkIdentifier)\$(TargetFrameworkVersion)\Microsoft.$(TargetFrameworkIdentifier).CSharp.targets" />

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/79f5bfe8/templates/full/CordovaLib/WPCordovaClassLib.dll
----------------------------------------------------------------------
diff --git a/templates/full/CordovaLib/WPCordovaClassLib.dll b/templates/full/CordovaLib/WPCordovaClassLib.dll
new file mode 100644
index 0000000..cc31098
Binary files /dev/null and b/templates/full/CordovaLib/WPCordovaClassLib.dll differ

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/79f5bfe8/templates/standalone/CordovaAppProj.csproj
----------------------------------------------------------------------
diff --git a/templates/standalone/CordovaAppProj.csproj b/templates/standalone/CordovaAppProj.csproj
index 1923a17..e34c449 100644
--- a/templates/standalone/CordovaAppProj.csproj
+++ b/templates/standalone/CordovaAppProj.csproj
@@ -36,14 +36,12 @@
     </TargetFrameworkProfile>
     <TargetFrameworkIdentifier>WindowsPhone</TargetFrameworkIdentifier>
     <SilverlightApplication>true</SilverlightApplication>
-    <SupportedCultures>
-    </SupportedCultures>
+    <SupportedCultures>en-US</SupportedCultures>
     <XapOutputs>true</XapOutputs>
     <GenerateSilverlightManifest>true</GenerateSilverlightManifest>
     <XapFilename>CordovaAppProj_$(Configuration)_$(Platform).xap</XapFilename>
     <SilverlightManifestTemplate>Properties\AppManifest.xml</SilverlightManifestTemplate>
-    <SilverlightAppEntry>
-    </SilverlightAppEntry>
+    <SilverlightAppEntry>GapExample.App</SilverlightAppEntry>
     <ValidateXaml>true</ValidateXaml>
     <ThrowErrorsInValidation>true</ThrowErrorsInValidation>
     <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>

http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/79f5bfe8/templates/standalone/Properties/WMAppManifest.xml
----------------------------------------------------------------------
diff --git a/templates/standalone/Properties/WMAppManifest.xml b/templates/standalone/Properties/WMAppManifest.xml
index 7a0bb67..3c18727 100644
--- a/templates/standalone/Properties/WMAppManifest.xml
+++ b/templates/standalone/Properties/WMAppManifest.xml
@@ -1,6 +1,9 @@
 <?xml version="1.0" encoding="utf-8"?>
 <Deployment xmlns="http://schemas.microsoft.com/windowsphone/2012/deployment" AppPlatformVersion="8.0">
   <DefaultLanguage xmlns="" code="en-US" />
+  <Languages xmlns="">
+    <Language code="en-US" />
+  </Languages>
   <App xmlns="" ProductID="{13b7ec4f-d4cf-422b-90ef-cd9c48af66ab}" Title="$safeprojectname$" RuntimeType="Silverlight" Version="1.0.0.0" Genre="apps.normal" Author="$safeprojectname$ author" BitsPerPixel="32" Description="Apache Cordova for Windows Phone" Publisher="$safeprojectname$" PublisherID="{db093ed5-53b1-45f7-af72-751e8f36ab80}">
     <IconPath IsRelative="true" IsResource="false">ApplicationIcon.png</IconPath>
     <Capabilities>
@@ -30,20 +33,13 @@
           <Count>0</Count>
           <BackgroundImageURI IsResource="false" IsRelative="true">Background.png</BackgroundImageURI>
           <Title>$safeprojectname$</Title>
-          <BackContent>
-          </BackContent>
-          <BackBackgroundImageURI>
-          </BackBackgroundImageURI>
-          <BackTitle>
-          </BackTitle>
-          <LargeBackgroundImageURI>
-          </LargeBackgroundImageURI>
-          <LargeBackContent>
-          </LargeBackContent>
-          <LargeBackBackgroundImageURI>
-          </LargeBackBackgroundImageURI>
-          <DeviceLockImageURI>
-          </DeviceLockImageURI>
+          <BackContent></BackContent>
+          <BackBackgroundImageURI></BackBackgroundImageURI>
+          <BackTitle></BackTitle>
+          <LargeBackgroundImageURI></LargeBackgroundImageURI>
+          <LargeBackContent></LargeBackContent>
+          <LargeBackBackgroundImageURI></LargeBackBackgroundImageURI>
+          <DeviceLockImageURI></DeviceLockImageURI>
           <HasLarge>false</HasLarge>
         </TemplateFlip>
       </PrimaryToken>