You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2018/03/05 13:14:29 UTC
svn commit: r1825894 - in /cordova/site/public:
announcements/2018/02/27/cordova-windows-6.0.0.html blog/index.html
docs/en/dev/reference/cordova-cli/index.html feed.xml
Author: steven
Date: Mon Mar 5 13:14:28 2018
New Revision: 1825894
URL: http://svn.apache.org/viewvc?rev=1825894&view=rev
Log:
Updated docs
Modified:
cordova/site/public/announcements/2018/02/27/cordova-windows-6.0.0.html
cordova/site/public/blog/index.html
cordova/site/public/docs/en/dev/reference/cordova-cli/index.html
cordova/site/public/feed.xml
Modified: cordova/site/public/announcements/2018/02/27/cordova-windows-6.0.0.html
URL: http://svn.apache.org/viewvc/cordova/site/public/announcements/2018/02/27/cordova-windows-6.0.0.html?rev=1825894&r1=1825893&r2=1825894&view=diff
==============================================================================
--- cordova/site/public/announcements/2018/02/27/cordova-windows-6.0.0.html (original)
+++ cordova/site/public/announcements/2018/02/27/cordova-windows-6.0.0.html Mon Mar 5 13:14:28 2018
@@ -141,7 +141,7 @@
<li><strong>Windows 10 / UWP</strong> builds are now default, meaning <code>cordova build windows</code> will now build a Windows 10 UWP app by default.<br>
Windows (Phone) 8.1 is still supported, of course, just use <code>cordova build windows -- --appx=8.1-win</code>, <code>cordova build windows -- --appx=8.1-phone</code> or an equivalent configuration option.</li>
<li>You can now build apps with a current installation of <strong>Visual Studio 2017</strong> (<code>15.5.x</code> at the time of writing) without any additional configuration or hacks (like the environment variable <code>VSINSTALLDIR</code> that was required for 5.0.0). (Note: <a href="https://docs.microsoft.com/en-us/visualstudio/productinfo/vs2017-compatibility-vs#windows-store-and-windows-phone-apps">Visual Studio 2017 doesn't support Windows 8.1 apps anymore</a>, so you can only build these apps with Visual Studio 2015 installed.)</li>
-<li>New <strong>ENV variable <code>MSBUILDDIR</code></strong> allows to directly configure the MSBuild Tools to be used to build the app. While <code>VSINSTALLDIR</code> always has been a hack that accidentally also worked to switch between different MSBuildTools versions, we now we this functionality explicit: Just set the ENV var to a your desired MSBuild folder (e.g. <code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</code> or <code>C:\Program Files (x86)\MSBuild\14.0\bin\</code>) and it will be used to build your project.
+<li>New <strong>ENV variable <code>MSBUILDDIR</code></strong> allows to directly configure the MSBuild Tools to be used to build the app. While <code>VSINSTALLDIR</code> always has been a hack that accidentally also worked to switch between different MSBuildTools versions, we now make this functionality explicit: Just set the ENV var to a your desired MSBuild folder (e.g. <code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</code> or <code>C:\Program Files (x86)\MSBuild\14.0\bin\</code>) and it will be used to build your project.
<ul>
<li>If you have Visual Studio 2017 and Visual Studio 2015 installed at the same time, the normal logic would always choose Visual Studio 2017's MSBuild 15 - and fail on a Windows (Phone) 8.1 project. If you set the environment variable to MSBuild 14, it can successfully build your 8.1 apps.</li>
Modified: cordova/site/public/blog/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/blog/index.html?rev=1825894&r1=1825893&r2=1825894&view=diff
==============================================================================
--- cordova/site/public/blog/index.html (original)
+++ cordova/site/public/blog/index.html Mon Mar 5 13:14:28 2018
@@ -150,7 +150,7 @@
<li><strong>Windows 10 / UWP</strong> builds are now default, meaning <code>cordova build windows</code> will now build a Windows 10 UWP app by default.<br>
Windows (Phone) 8.1 is still supported, of course, just use <code>cordova build windows -- --appx=8.1-win</code>, <code>cordova build windows -- --appx=8.1-phone</code> or an equivalent configuration option.</li>
<li>You can now build apps with a current installation of <strong>Visual Studio 2017</strong> (<code>15.5.x</code> at the time of writing) without any additional configuration or hacks (like the environment variable <code>VSINSTALLDIR</code> that was required for 5.0.0). (Note: <a href="https://docs.microsoft.com/en-us/visualstudio/productinfo/vs2017-compatibility-vs#windows-store-and-windows-phone-apps">Visual Studio 2017 doesn't support Windows 8.1 apps anymore</a>, so you can only build these apps with Visual Studio 2015 installed.)</li>
-<li>New <strong>ENV variable <code>MSBUILDDIR</code></strong> allows to directly configure the MSBuild Tools to be used to build the app. While <code>VSINSTALLDIR</code> always has been a hack that accidentally also worked to switch between different MSBuildTools versions, we now we this functionality explicit: Just set the ENV var to a your desired MSBuild folder (e.g. <code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</code> or <code>C:\Program Files (x86)\MSBuild\14.0\bin\</code>) and it will be used to build your project.
+<li>New <strong>ENV variable <code>MSBUILDDIR</code></strong> allows to directly configure the MSBuild Tools to be used to build the app. While <code>VSINSTALLDIR</code> always has been a hack that accidentally also worked to switch between different MSBuildTools versions, we now make this functionality explicit: Just set the ENV var to a your desired MSBuild folder (e.g. <code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</code> or <code>C:\Program Files (x86)\MSBuild\14.0\bin\</code>) and it will be used to build your project.
<ul>
<li>If you have Visual Studio 2017 and Visual Studio 2015 installed at the same time, the normal logic would always choose Visual Studio 2017's MSBuild 15 - and fail on a Windows (Phone) 8.1 project. If you set the environment variable to MSBuild 14, it can successfully build your 8.1 apps.</li>
Modified: cordova/site/public/docs/en/dev/reference/cordova-cli/index.html
URL: http://svn.apache.org/viewvc/cordova/site/public/docs/en/dev/reference/cordova-cli/index.html?rev=1825894&r1=1825893&r2=1825894&view=diff
==============================================================================
--- cordova/site/public/docs/en/dev/reference/cordova-cli/index.html (original)
+++ cordova/site/public/docs/en/dev/reference/cordova-cli/index.html Mon Mar 5 13:14:28 2018
@@ -2719,7 +2719,7 @@ www/
<h4>Version control</h4>
-<p>It is recommended not to check in <code>platforms/</code> and <code>plugins/</code> directories into version control as they are considered a build artifact. Your platforms and plugins will be saved in config.xml & package.json automatically. These platforms/plugins will be downloaded when on the machine when <code>cordova prepare</code> is invoked.</p>
+<p>It is recommended not to check in <code>platforms/</code> and <code>plugins/</code> directories into version control as they are considered a build artifact. Your platforms and plugins will be saved in config.xml & package.json automatically. These platforms/plugins will be downloaded when <code>cordova prepare</code> is invoked.</p>
<h3>Examples</h3>
@@ -2797,7 +2797,7 @@ www/
<tr>
<td>check</td>
<td></td>
-<td>List platforms which can be updated by <code>cordova-cli platform update</code></td>
+<td>List platforms which can be updated via cordova-cli with the command <code>platform update</code></td>
</tr>
<tr>
<td>save</td>
@@ -3027,7 +3027,7 @@ based on the following criteria (listed
<h3>Examples</h3>
<ul>
-<li><p>Add <code>cordova-plugin-camera</code> and <code>cordova-plugin-file</code> to the project and it be be saved to <code>config.xml</code> & <code>package.json</code>. Use <code>../plugins</code> directory to search for the plugins.</p>
+<li><p>Add <code>cordova-plugin-camera</code> and <code>cordova-plugin-file</code> to the project and save it to <code>config.xml</code> & <code>package.json</code>. Use <code>../plugins</code> directory to search for the plugins.</p>
<div class="highlight"><pre><code class="language-" data-lang="">cordova plugin add cordova-plugin-camera cordova-plugin-file --save --searchpath ../plugins
</code></pre></div></li>
<li><p>Add <code>cordova-plugin-camera</code> with <a href="http://semver.org/">semver</a> version ^2.0.0 and save it to <code>config.xml</code> & <code>package.json</code>:</p>
@@ -3271,7 +3271,7 @@ See <a href="#cordova-run-command">cordo
<h3>Synopsis</h3>
-<p>Cleans the build artifacts for the specified platform, or all platforms by running platform-specific build cleanup.</p>
+<p>Cleans the build artifacts for all the platforms, or the specified platform by running platform-specific build cleanup.</p>
<h3>Syntax</h3>
<div class="highlight"><pre><code class="language-" data-lang="">cordova clean [<platform> [...]]
Modified: cordova/site/public/feed.xml
URL: http://svn.apache.org/viewvc/cordova/site/public/feed.xml?rev=1825894&r1=1825893&r2=1825894&view=diff
==============================================================================
--- cordova/site/public/feed.xml (original)
+++ cordova/site/public/feed.xml Mon Mar 5 13:14:28 2018
@@ -6,8 +6,8 @@
</description>
<link>https://cordova.apache.org/</link>
<atom:link href="https://cordova.apache.org/feed.xml" rel="self" type="application/rss+xml"/>
- <pubDate>Fri, 02 Mar 2018 14:04:04 +0000</pubDate>
- <lastBuildDate>Fri, 02 Mar 2018 14:04:04 +0000</lastBuildDate>
+ <pubDate>Mon, 05 Mar 2018 12:51:58 +0000</pubDate>
+ <lastBuildDate>Mon, 05 Mar 2018 12:51:58 +0000</lastBuildDate>
<generator>Jekyll v2.5.3</generator>
<item>
@@ -22,7 +22,7 @@
<li><strong>Windows 10 / UWP</strong> builds are now default, meaning <code>cordova build windows</code> will now build a Windows 10 UWP app by default.<br>
Windows (Phone) 8.1 is still supported, of course, just use <code>cordova build windows -- --appx=8.1-win</code>, <code>cordova build windows -- --appx=8.1-phone</code> or an equivalent configuration option.</li>
<li>You can now build apps with a current installation of <strong>Visual Studio 2017</strong> (<code>15.5.x</code> at the time of writing) without any additional configuration or hacks (like the environment variable <code>VSINSTALLDIR</code> that was required for 5.0.0). (Note: <a href="https://docs.microsoft.com/en-us/visualstudio/productinfo/vs2017-compatibility-vs#windows-store-and-windows-phone-apps">Visual Studio 2017 doesn&#39;t support Windows 8.1 apps anymore</a>, so you can only build these apps with Visual Studio 2015 installed.)</li>
-<li>New <strong>ENV variable <code>MSBUILDDIR</code></strong> allows to directly configure the MSBuild Tools to be used to build the app. While <code>VSINSTALLDIR</code> always has been a hack that accidentally also worked to switch between different MSBuildTools versions, we now we this functionality explicit: Just set the ENV var to a your desired MSBuild folder (e.g. <code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</code> or <code>C:\Program Files (x86)\MSBuild\14.0\bin\</code>) and it will be used to build your project.
+<li>New <strong>ENV variable <code>MSBUILDDIR</code></strong> allows to directly configure the MSBuild Tools to be used to build the app. While <code>VSINSTALLDIR</code> always has been a hack that accidentally also worked to switch between different MSBuildTools versions, we now make this functionality explicit: Just set the ENV var to a your desired MSBuild folder (e.g. <code>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin</code> or <code>C:\Program Files (x86)\MSBuild\14.0\bin\</code>) and it will be used to build your project.
<ul>
<li>If you have Visual Studio 2017 and Visual Studio 2015 installed at the same time, the normal logic would always choose Visual Studio 2017&#39;s MSBuild 15 - and fail on a Windows (Phone) 8.1 project. If you set the environment variable to MSBuild 14, it can successfully build your 8.1 apps.</li>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org