cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject [01/11] 2.6.0 prep
Date Wed, 03 Apr 2013 00:18:04 GMT
Updated Branches:
  refs/heads/master 2dbd98f4e -> c328e4f5a


http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/567e17d3/templates/standalone/www/index.html
----------------------------------------------------------------------
diff --git a/templates/standalone/www/index.html b/templates/standalone/www/index.html
index f986de3..bea2a9c 100644
--- a/templates/standalone/www/index.html
+++ b/templates/standalone/www/index.html
@@ -33,7 +33,7 @@
                 <p class="event received">Device is Ready</p>
             </div>
         </div>
-        <script type="text/javascript" src="cordova-2.6.0rc1.js"></script>
+        <script type="text/javascript" src="cordova-2.6.0.js"></script>
         <script type="text/javascript" src="js/index.js"></script>
         <script type="text/javascript">
             app.initialize();

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/567e17d3/templates/vs/MyTemplateFull.vstemplate
----------------------------------------------------------------------
diff --git a/templates/vs/MyTemplateFull.vstemplate b/templates/vs/MyTemplateFull.vstemplate
index a2d20fc..0350afb 100644
--- a/templates/vs/MyTemplateFull.vstemplate
+++ b/templates/vs/MyTemplateFull.vstemplate
@@ -1,13 +1,13 @@
 <VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"
Type="Project">
   <TemplateData>
-    <Name>CordovaWP7_2_6_0rc1_Full</Name>
-    <Description>Cordova 2.6.0rc1 for Windows Phone 7.5 using Cordova from a library
DLL</Description>
+    <Name>CordovaWP7_2_6_0_Full</Name>
+    <Description>Cordova 2.6.0 for Windows Phone 7.5 using Cordova from a library DLL</Description>
     <ProjectType>CSharp</ProjectType>
     <ProjectSubType>
     </ProjectSubType>
     <SortOrder>1000</SortOrder>
     <CreateNewFolder>true</CreateNewFolder>
-    <DefaultName>CordovaWP7_2_6_0rc1_Full</DefaultName>
+    <DefaultName>CordovaWP7_2_6_0_Full</DefaultName>
     <ProvideDefaultName>true</ProvideDefaultName>
     <LocationField>Enabled</LocationField>
     <EnableLocationBrowseButton>true</EnableLocationBrowseButton>
@@ -41,7 +41,7 @@
       <Folder Name="Service References" TargetFolderName="Service References" />
       <ProjectItem ReplaceParameters="false" TargetFileName="SplashScreenImage.jpg">SplashScreenImage.jpg</ProjectItem>
       <Folder Name="www" TargetFolderName="www">
-        <ProjectItem ReplaceParameters="true" TargetFileName="cordova-2.6.0rc1.js">cordova-2.6.0rc1.js</ProjectItem>
+        <ProjectItem ReplaceParameters="true" TargetFileName="cordova-2.6.0.js">cordova-2.6.0.js</ProjectItem>
         <Folder Name="css" TargetFolderName="css">
           <ProjectItem ReplaceParameters="true" TargetFileName="index.css">index.css</ProjectItem>
         </Folder>

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/567e17d3/templates/vs/MyTemplateStandAlone.vstemplate
----------------------------------------------------------------------
diff --git a/templates/vs/MyTemplateStandAlone.vstemplate b/templates/vs/MyTemplateStandAlone.vstemplate
index 91895bb..4795834 100644
--- a/templates/vs/MyTemplateStandAlone.vstemplate
+++ b/templates/vs/MyTemplateStandAlone.vstemplate
@@ -1,13 +1,13 @@
 <VSTemplate Version="3.0.0" xmlns="http://schemas.microsoft.com/developer/vstemplate/2005"
Type="Project">
   <TemplateData>
-    <Name>CordovaWP7_2_6_0rc1_StandAlone</Name>
-    <Description>Cordova 2.6.0rc1 for Windows Phone 7.5 using the Cordova source code
directly.</Description>
+    <Name>CordovaWP7_2_6_0_StandAlone</Name>
+    <Description>Cordova 2.6.0 for Windows Phone 7.5 using the Cordova source code
directly.</Description>
     <ProjectType>CSharp</ProjectType>
     <ProjectSubType>
     </ProjectSubType>
     <SortOrder>1000</SortOrder>
     <CreateNewFolder>true</CreateNewFolder>
-    <DefaultName>CordovaWP7_2_6_0rc1_StandAlone</DefaultName>
+    <DefaultName>CordovaWP7_2_6_0_StandAlone</DefaultName>
     <ProvideDefaultName>true</ProvideDefaultName>
     <LocationField>Enabled</LocationField>
     <EnableLocationBrowseButton>true</EnableLocationBrowseButton>
@@ -103,7 +103,7 @@
       <ProjectItem ReplaceParameters="false" TargetFileName="SplashScreenImage.jpg">SplashScreenImage.jpg</ProjectItem>
       <ProjectItem ReplaceParameters="false" TargetFileName="VERSION">VERSION</ProjectItem>
       <Folder Name="www" TargetFolderName="www">
-        <ProjectItem ReplaceParameters="true" TargetFileName="cordova-2.6.0rc1.js">cordova-2.6.0rc1.js</ProjectItem>
+        <ProjectItem ReplaceParameters="true" TargetFileName="cordova-2.6.0.js">cordova-2.6.0.js</ProjectItem>
         <Folder Name="css" TargetFolderName="css">
           <ProjectItem ReplaceParameters="true" TargetFileName="index.css">index.css</ProjectItem>
         </Folder>

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/567e17d3/templates/vs/description.txt
----------------------------------------------------------------------
diff --git a/templates/vs/description.txt b/templates/vs/description.txt
index 1da62e4..089ad81 100644
--- a/templates/vs/description.txt
+++ b/templates/vs/description.txt
@@ -1,4 +1,4 @@
 CordovaStarter
 
-Starter project for building a Cordova app for Windows Phone version: 2.6.0rc1
+Starter project for building a Cordova app for Windows Phone version: 2.6.0
 

http://git-wip-us.apache.org/repos/asf/cordova-wp7/blob/567e17d3/tooling/scripts/dist.js
----------------------------------------------------------------------
diff --git a/tooling/scripts/dist.js b/tooling/scripts/dist.js
index 8278c77..1cbd03a 100644
--- a/tooling/scripts/dist.js
+++ b/tooling/scripts/dist.js
@@ -36,7 +36,7 @@ var fso = WScript.CreateObject('Scripting.FileSystemObject'),
     wscript_shell = WScript.CreateObject("WScript.Shell");
 
 //Replace root directory or create new directory?
-var REPLACE = false;
+var REPLACE = true;
 
 //Set up directory structure of current release
     //arguments passed in
@@ -66,9 +66,9 @@ function Usage()
 {
   WScript.StdOut.WriteLine("");
   WScript.StdOut.WriteLine("This is a command line tool for building new releases.")
-  WScript.StdOut.WriteLine("Usage: dist <NEW_PATH_FOR_BUILD>");
-  WScript.StdOut.WriteLine("Creates and packages a new cordova/wp7 project, reversioning");
-  WScript.StdOut.WriteLine("it to match the VERSION file in the root directory.");
+  WScript.StdOut.WriteLine("Usage: dist [ NEW_PATH_FOR_BUILD ]");
+  WScript.StdOut.WriteLine("    Creates and packages a new cordova/wp7 project, reversioning");
+  WScript.StdOut.WriteLine("    it to match the VERSION file in the root directory.");
   WScript.StdOut.WriteLine("");
 }
 
@@ -153,9 +153,11 @@ else
 /*************************************************/
 /** - Copy source code to new directory         **/
 /*************************************************/
-current_script = "new.js";
-exec('cscript ' + ROOT + SCRIPTS + '\\new.js ' + BUILD_DESTINATION + ' //nologo');
-space();
+if (!REPLACE) {
+  current_script = "new.js";
+  exec('cscript ' + ROOT + SCRIPTS + '\\new.js ' + BUILD_DESTINATION + ' //nologo');
+  space();
+}
 
 /*************************************************/
 /******************  Step 2  *********************/


Mime
View raw message