You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/26 23:20:18 UTC

[jira] [Commented] (CB-10714) Case Sensitive Archs fails the windows build

    [ https://issues.apache.org/jira/browse/CB-10714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15169957#comment-15169957 ] 

ASF GitHub Bot commented on CB-10714:
-------------------------------------

GitHub user jerroydmoore opened a pull request:

    https://github.com/apache/cordova-windows/pull/153

    CB-10714 Ignore case for --archs

    If "ARM" is passed to --archs, the Appx file is compiled, but the build
    will fail due to a case sensitive string comparison.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jerroydmoore/cordova-windows CB-10714

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-windows/pull/153.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #153
    
----
commit c9305e5224c63f390aeb8d5ef698bf1e3b7b7f4f
Author: Jerroyd Moore <je...@intel.com>
Date:   2016-02-26T22:16:18Z

    Ignore case for --archs
    
    If "ARM" is passed to --archs, the Appx file is compiled, but the build
    will fail due to a case sensitive string comparison.

----


> Case Sensitive Archs fails the windows build
> --------------------------------------------
>
>                 Key: CB-10714
>                 URL: https://issues.apache.org/jira/browse/CB-10714
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Windows
>            Reporter: Jerroyd Moore
>            Priority: Minor
>
> Using Cordova 5.4.1 and cordova-windows@5.3.1, Attempting to build for "ARM" successfully compiles an appx but fails in the post-compile steps, due to a string comparison on the arch variable.
> {code}
> cordova compile windows --release --archs ARM -- --verbose
> {code}
> {quote}
> Running command: cmd "/s /c "...\platf
> orms\windows\cordova\build.bat --release --archs=ARM --verbose""
> Searching for available MSBuild versions...
> Found MSBuild v14.0 at C:\Program Files (x86)\MSBuild\14.0\bin\
> Found MSBuild v12.0 at C:\Program Files (x86)\MSBuild\12.0\bin\
> Found MSBuild v4.0 at C:\Windows\Microsoft.NET\Framework\v4.0.30319\
> Building project: ...\platforms\window
> s\CordovaApp.Windows10.jsproj
>         Configuration : release
>         Platform      : ARM
>   CordovaApp.Windows10 -> ...\platfor
>   ms\windows\AppPackages\CordovaApp.Windows10_1.4.0.0_ARM_Test\CordovaApp.Windows10_1.4.0.0_ARM.appx
> undefined
> ERROR building one of the platforms: Error: cmd: Command failed with exit code 1
> You may not have the required environment or OS to build this project
> Error: cmd: Command failed with exit code 1
>     at ChildProcess.whenDone (...\node_modules\cordova\node_modules\cordova-lib\src\cordova\super
> spawn.js:134:23)
>     at emitTwo (events.js:87:13)
>     at ChildProcess.emit (events.js:172:7)
>     at maybeClose (internal/child_process.js:821:16)
>     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
> {quote}
> Building for "arm" succeeds.
> {code}
> cordova compile windows --release --archs arm -- --verbose
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org