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 81A11177D2 for ; Tue, 26 Jan 2016 13:51:40 +0000 (UTC) Received: (qmail 18943 invoked by uid 500); 26 Jan 2016 13:51:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 18922 invoked by uid 500); 26 Jan 2016 13:51:40 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 18685 invoked by uid 99); 26 Jan 2016 13:51:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Jan 2016 13:51:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id E38362C1F60 for ; Tue, 26 Jan 2016 13:51:39 +0000 (UTC) Date: Tue, 26 Jan 2016 13:51:39 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10432) Manifest validation error after removing and re-adding Windows platform 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-10432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117204#comment-15117204 ] ASF GitHub Bot commented on CB-10432: ------------------------------------- GitHub user vladimir-kotikov opened a pull request: https://github.com/apache/cordova-lib/pull/366 CB-10432 Adds e2e test to protect against future regressions This PR adds test to cover the regression, reported in [CB-10432](https://issues.apache.org/jira/browse/CB-10432) You can merge this pull request into a Git repository by running: $ git pull https://github.com/MSOpenTech/cordova-lib CB-10432 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cordova-lib/pull/366.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 #366 ---- commit c681e75c17e7df91794cf6421727e66dbf9250a5 Author: Vladimir Kotikov Date: 2016-01-26T13:19:32Z CB-10432 Adds e2e test to protect against future regressions ---- > Manifest validation error after removing and re-adding Windows platform > ----------------------------------------------------------------------- > > Key: CB-10432 > URL: https://issues.apache.org/jira/browse/CB-10432 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib, Windows > Affects Versions: Master > Environment: Windows 10, Cordova 6.0.0-dev > Reporter: Alexander Sorokin > Assignee: Vladimir Kotikov > Priority: Blocker > Labels: triaged > > {noformat} > cordova create foo > cd foo > cordova platform add windows > cordova plugin add cordova-plugin-test-framework > {noformat} > Change the following line in config.xml > {code} > > {code} > to: > {code} > > {code} > Then: > {noformat} > cordova run windows > {noformat} > It works fine. Then: > {noformat} > cordova platform rm windows && cordova platform add windows > cordova run windows > {noformat} > It fails with build error: > {noformat} > C:\Cordova\foo>cordova run windows > Building project: C:\Cordova\foo\platforms\windows\CordovaApp.Windows.jsproj > Configuration : debug > Platform : anycpu > MakeAppx : error : Manifest validation error: Line 24, Column 47, Reason: The file name "www\cdvtests\index.html" decla > red for element "m:Applications/m:Application" doesn't exist in the package. [C:\Cordova\foo\platforms\windows\Cordova > App.Windows.jsproj] > MakeAppx : error : Package creation failed. [C:\Cordova\foo\platforms\windows\CordovaApp.Windows.jsproj] > MakeAppx : error : 0x80080204 - The specified package format is not valid: The package manifest is not valid. [C:\Cordo > va\foo\platforms\windows\CordovaApp.Windows.jsproj] > ERROR running one or more of the platforms: Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe: Command failed with exit code 1 > You may not have the required environment or OS to run this project > {noformat} > The issue doesn't reproduce on cordova@5.4.1 -- 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