Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3D1B1010B for ; Tue, 26 Nov 2013 02:03:35 +0000 (UTC) Received: (qmail 46277 invoked by uid 500); 26 Nov 2013 02:03:35 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 46262 invoked by uid 500); 26 Nov 2013 02:03:35 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 46253 invoked by uid 99); 26 Nov 2013 02:03:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Nov 2013 02:03:35 +0000 Date: Tue, 26 Nov 2013 02:03:35 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5350) Windows8 build fails due to invalid 'Capabilities' definition MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832188#comment-13832188 ] ASF subversion and git services commented on CB-5350: ----------------------------------------------------- Commit 1edf64aa16de985f739f60f30f548e5048261f04 in branch refs/heads/master from [~sgrebnov] [ https://git-wip-us.apache.org/repos/asf?p=cordova-cli.git;h=1edf64a ] CB-5350 Windows8 build fails due to invalid 'Capabilities' definition > Windows8 build fails due to invalid 'Capabilities' definition > ------------------------------------------------------------- > > Key: CB-5350 > URL: https://issues.apache.org/jira/browse/CB-5350 > Project: Apache Cordova > Issue Type: Bug > Components: CLI, Windows 8 > Environment: Windows8 > Reporter: Sergey Grebnov > Assignee: Sergey Grebnov > > 1. Add the following plugins to the project: org.apache.cordova.geolocation, org.apache.cordova.camera > 2. Execute build for windows8 platform. > 3. The following error occurs during build > C:\..\mobilespec\platforms\windows8\bin\Debug\AppxManifest.xml(34,6): error APPX1404: File content does not conform to specified schema. The element 'Capabilities' in namespace 'http://schemas.microsoft.com/appx/2010/manifest' has invalid child element 'Capability' in namespace 'http://schemas.microsoft.com/appx/2010/manifest'. List of possible elements expected: 'DeviceCapability' in namespace 'http://schemas.microsoft.com/appx/2010/manifest'. [C:\...\mobilespec\platforms\windows8\CordovaApp.jsproj] > Same error if open generated project in Visual Studio. > AppxManifest.xml contains the following block > > > > > > > But as per manifest scheme definition all Capability elements must go before DeviceCapability (http://msdn.microsoft.com/en-us/library/windows/apps/br211422.aspx) . So it should be > > > > > > > It seems we should manually sort Capabilities child element after they are merged from plugins definition. -- This message was sent by Atlassian JIRA (v6.1#6144)