[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-22 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-6728:
--

Jesse, what is your thoughts?

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> In our case WebSQL plugin contains C++ sources and use prepackage hook. And 
> it need to be built for specific architecture (x84, x64, ARM, not univeral 
> AnyCPU)
> It would be great if we can provide additional flag like `-x64`, `-x86` or 
> `-arm` to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If the flag is not specified, `AnuCPU` target platform should be used by 
> default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-22 Thread Sergey Grebnov (JIRA)

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

Sergey Grebnov commented on CB-6728:


+1

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> In our case WebSQL plugin contains C++ sources and use prepackage hook. And 
> it need to be built for specific architecture (x84, x64, ARM, not univeral 
> AnyCPU)
> It would be great if we can provide additional flag like `-x64`, `-x86` or 
> `-arm` to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If the flag is not specified, `AnuCPU` target platform should be used by 
> default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-26 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-6728:
-

We have to look at this in the context of other device platforms.
How is iOS supporting arc ? or x64?

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-27 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-6728:
--

For android we don't support NDK and build architectures.
Now iOS projects uses ARCHS="armv7 armv7s arm64" architectures by default and 
-arch i386 when buids for emulator. We have following alternatives for 
architecture support:
# Use same flags for iOS with some differences:
#* -arm builds using ARCHS="armv7 armv7s arm64" and used by default.
#* -x86 equal to -i386 and used as alias to -emulator
#* -x64 doesn't supported for iOS
Introduce platform-specific flags. For iOS: -armv6, -armv7, -arm64, 
# Use -archs string parameter to build command instead of one flag for each 
architecture. E.g.:
{noformat}
cordova build wp8 -archs="x86 arm"
cordova build ios -archs="armv7 arm64"
{noformat}

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-27 Thread Jesse MacFadyen (JIRA)

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

Jesse MacFadyen commented on CB-6728:
-

I prefer option 2, but I think this discussion needs input from more 
platforms/devs.

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-27 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-6728:
--

+1 for Option 2.
Right now for iOS it defaults to "armv7 armv7s arm64" and creates a universal 
binary that includes 64-bit and 32-bit slices. Users will need this setting if 
for example they include binary libs that do not have 64-bit slices.

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-28 Thread Bryan Higgins (JIRA)

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

Bryan Higgins commented on CB-6728:
---

+1, option 2

bb10 builds for arm and x86 by default (x86 is only used for the simulator)

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-05-28 Thread Mark Koudritsky (JIRA)

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

Mark Koudritsky commented on CB-6728:
-

+1 for option 2. It's cleaner to implement in CLI.

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-06-02 Thread Vladimir Kotikov (JIRA)

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

Vladimir Kotikov commented on CB-6728:
--

Ok. let's summarize:
# User specifies architectures via -archs string parameter e.g.:
{noformat}
cordova build wp8 -archs="x86 arm"
cordova build ios -archs="armv7 arm64"
{noformat}
# Cordova will build binaries for each architecture specified.

_For discussion:_
# If one or more of architectures specified is not valid, cordova should:
## fail.
## skip invalid architecture and show warning.
I think option b is preferred because it will be possible to use `cordova 
build` without specifying platform name.
# Possible architectures:
## Provide common set of chip architectures for all platforms e.g.:
{{--archs="x86 arm"}}
##* will remain unchanged for windows.
##* will be mapped to -archs="i386 armv6 armv7 armv7s" 
for iOS
{{--archs="armv6 armv7"}}
##* will remain unchanged for iOS.
##* will be mapped to -archs="arm" for Windows
## Each platform should define its own architectures set corresponding to 
platform's compiler flags. This set should be decribed in docs.

I'd prefer option b due to more clear code and maintainability.

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: CLI, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


GitHub user vladimir-kotikov opened a pull request:

https://github.com/apache/cordova-wp8/pull/39

CB-6728 Support chip architecture as an option when building Windows Phone 
projects

Adds support for target architectures to build command

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

$ git pull https://github.com/MSOpenTech/cordova-wp8 CB-6728

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

https://github.com/apache/cordova-wp8/pull/39.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 #39


commit 351ff3e74b07e4d380a244cfb443e51257c7edb7
Author: Vladimir Kotikov 
Date:   2014-06-06T06:45:08Z

Adds support for target architectures to build command




> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


GitHub user vladimir-kotikov opened a pull request:

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

CB 6728 Support chip architecture as an option when building Windows 
projects

Adds support for target architectures to build command
Implementation for [CB-6728](https://issues.apache.org/jira/browse/CB-6728)

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

$ git pull https://github.com/MSOpenTech/cordova-windows CB-6728

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

https://github.com/apache/cordova-windows/pull/33.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 #33


commit 28bba7032dee74b26de37c43cc12bb41c428a3de
Author: Vladimir Kotikov 
Date:   2014-06-06T07:23:58Z

Adds support for target architectures to build command




> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-wp8/pull/39


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-06-06 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


Github user asfgit closed the pull request at:

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


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-06-19 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


GitHub user sgrebnov opened a pull request:

https://github.com/apache/cordova-cli/pull/180

CB-6728 Support chip architecture

https://issues.apache.org/jira/browse/CB-6728


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

$ git pull https://github.com/MSOpenTech/cordova-cli CB-6728

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

https://github.com/apache/cordova-cli/pull/180.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 #180


commit f57db496f8c3e771c94b392a06d2309166225271
Author: sgrebnov 
Date:   2014-06-20T06:22:09Z

CB-6728 Support chip architecture




> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-06-20 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on CB-6728:
-

Commit 19cf569795f90dc1d7a3b79ecf22661afeb77dc9 in cordova-cli's branch 
refs/heads/master from sgrebnov
[ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=19cf569 ]

CB-6728: Support chip architecture flag --archs

github: close #180


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-06-20 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


Github user asfgit closed the pull request at:

https://github.com/apache/cordova-cli/pull/180


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-07-11 Thread Zizhou L (JIRA)

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

Zizhou L commented on CB-6728:
--

Hi,

Any updates on iOS support for this:

 cordova build ios -archs="armv7 arm64"


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-07-30 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-wp8/pull/39#issuecomment-50665133
  
For some reason I am getting an error when I try to build with this commit 
included.
I see the error message : 
Manifest validation fails: Exception: Version string portion was too short 
or too long.

Any idea what would cause this?


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-07-31 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


Github user vladimir-kotikov commented on the pull request:

https://github.com/apache/cordova-wp8/pull/39#issuecomment-50854468
  
Hi @purplecabbage . I can't repro your issue with cordova-wp8 checked to 
this commit and latest cordova-cli/lib. Anyway, i've tried to change app 
version in config.xml and fount that build fails with similar message `Manifest 
validation failed: AppManifestInvalidVersion` when version string length > 10. 
See following screenshots:

![image](https://cloud.githubusercontent.com/assets/3857604/3775618/19ec8a3c-1948-11e4-93c2-cd6dc245a1e6.png)


![image](https://cloud.githubusercontent.com/assets/3857604/3775627/328c176a-1948-11e4-9d76-44f8e5100b46.png)

Could you pls check this in your project?


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-08-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


Github user yuriburger commented on the pull request:

https://github.com/apache/cordova-wp8/pull/39#issuecomment-52035097
  
Hi @purplecabbage You might want to check your WMAppManifest.xml file. In 
my case I had to remove  the license comment at the top. HTH.


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-08-13 Thread ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on CB-6728:


Github user purplecabbage commented on the pull request:

https://github.com/apache/cordova-wp8/pull/39#issuecomment-52128432
  
Thanks @yuriburger !
This resolved my issue, so it seems there is an issue with the xml comment 
appearing outside of the  tag, I will fix it.


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2014-12-12 Thread Jon Tancer (JIRA)

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

Jon Tancer commented on CB-6728:


Any update for iOS support?

When running:

cordova build ios -archs="armv7 arm64"

I get the error:
Running command: /Users/blah/cordova/platforms/ios/cordova/build "--archs=armv7 
arm64"
Unrecognized flag: --archs=armv7 arm64
Error: /Users/blah/cordova/platforms/ios/cordova/build: Command failed with 
exit code 2

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



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

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



[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2015-02-10 Thread fujunwei (JIRA)

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

fujunwei commented on CB-6728:
--

We also need support this option on Android platform, i create a new task in 
https://issues.apache.org/jira/browse/CB-8453.

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



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

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



[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2015-04-02 Thread mike james (JIRA)

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

mike james commented on CB-6728:


Hi,

Did you resolve this issue in the end? I'm getting the same problem. 
We have a cordova plugin that doesn't support armv7s.


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



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

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



[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2015-04-02 Thread mike james (JIRA)

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

mike james commented on CB-6728:


Hi,

Did you resolve this issue in the end? I'm getting the same problem. 
We have a cordova plugin that doesn't support armv7s.


> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



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

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



[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2015-05-19 Thread Christopher Johnson (JIRA)

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

Christopher Johnson commented on CB-6728:
-

I'm a cordova user and I need this setting.  I'm running across more and more 
binary libs that do not have armv7s slices.

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



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

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



[jira] [Commented] (CB-6728) Support chip architecture as an option when building Windows and Windows Phone projects

2015-05-19 Thread Shazron Abdullah (JIRA)

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

Shazron Abdullah commented on CB-6728:
--

[~njtman] See CB-8788

> Support chip architecture as an option when building Windows and Windows 
> Phone projects
> ---
>
> Key: CB-6728
> URL: https://issues.apache.org/jira/browse/CB-6728
> Project: Apache Cordova
>  Issue Type: Improvement
>  Components: Android, CLI, iOS, Windows 8, WP8
>Affects Versions: 3.4.0
>Reporter: Vladimir Kotikov
>Assignee: Jesse MacFadyen
>  Labels: arm, cli, windows, wp8, x64, x86
>
> Currently apps for Windows 8 and Windows Phone 8 are targeted to AnyCPU 
> architecture, which is universal, but sometimes it's critical to build 
> application for specific processor architecture.
> As an example is WebSQL plugin which contains references to C++ libs so needs 
> to be built for specific architecture (x84, x64, ARM) and which does not 
> support AnyCPU target.
> So it looks important to add support for additional build flags `-x64`, 
> `-x86`, `-arm`, '-any' to specify target chip architecture.
> {noformat}
> cordova build windows8 --release --x64
> cordova build wp8 --arm
> {noformat}
> If flag is not specified, `AnuCPU` target platform should be used by default.



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

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