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 AB88310585 for ; Mon, 30 Dec 2013 18:39:38 +0000 (UTC) Received: (qmail 52210 invoked by uid 500); 30 Dec 2013 18:39:04 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 52092 invoked by uid 500); 30 Dec 2013 18:38:57 -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 52070 invoked by uid 99); 30 Dec 2013 18:38:52 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Dec 2013 18:38:52 +0000 Date: Mon, 30 Dec 2013 18:38:51 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5397) "cordova prepare ios" overwrites existing source code files/directories 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-5397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13858977#comment-13858977 ] ASF subversion and git services commented on CB-5397: ----------------------------------------------------- Commit 58cfa4751b971bd851e44b05b0dc3e3a958f6aee in branch refs/heads/master from [~agrieve] [ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=58cfa47 ] CB-5397 Add a --cli option to bin/create that has ../../www/ ../../merges/ within the project > "cordova prepare ios" overwrites existing source code files/directories > ----------------------------------------------------------------------- > > Key: CB-5397 > URL: https://issues.apache.org/jira/browse/CB-5397 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 3.1.0 > Environment: MacOS 10.8.5 > XCode 5.01 > Reporter: Tom Ernhardt > Assignee: Andrew Grieve > > The cordova command line "cordova prepare ios" clobbers user-created source code files/directories without warning > Steps to reproduce: > # create a test app > cordova create test com.test test > cd test > cordova platform add ios > # add a plugin > cordova plugin add https://github.com/apache/cordova-plugin-device.git > cordova prepare ios > Then open the generated Xcode project in Xcode > Add some source code files > # Now add a different plugin > cordova plugin add https://github.com/apache/cordova-plugin-console.git > # WARNING THIS WILL DELETE YOUR APP'S SOURCE CODE FILES > cordova prepare ios > All the source code files and directories that you created in > /platforms/ios/www/ > have just been deleted by the cordova CLI without any warning! -- This message was sent by Atlassian JIRA (v6.1.5#6160)