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 B1D1A10FB1 for ; Mon, 23 Dec 2013 22:43:51 +0000 (UTC) Received: (qmail 92054 invoked by uid 500); 23 Dec 2013 22:43:51 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 92031 invoked by uid 500); 23 Dec 2013 22:43:51 -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 91979 invoked by uid 99); 23 Dec 2013 22:43:51 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Dec 2013 22:43:51 +0000 Date: Mon, 23 Dec 2013 22:43:51 +0000 (UTC) From: "Andrew Grieve (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5702) platform add fails to install plugins if project has been moved to another directory 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-5702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13855986#comment-13855986 ] Andrew Grieve commented on CB-5702: ----------------------------------- Suspect the problem is the plugins/FOO/.fetch.json file, which for mobile-spec-dependencies has: {quote} {"source":{"type":"local","path":"../cordova-mobile-spec/dependencies-plugin"}} {quote} Is this file even necessary? I thought the point of having plugins/ was that we wouldn't require the original install location anymore. > platform add fails to install plugins if project has been moved to another directory > ------------------------------------------------------------------------------------ > > Key: CB-5702 > URL: https://issues.apache.org/jira/browse/CB-5702 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Reporter: Andrew Grieve > Priority: Minor > > {code} > ./cordova-mobile-spec/createmobilespec.sh > mkdir tmp > cp -r mobilespec tmp > cd tmp/mobilespec > cordova rm ios > cordova add ios > {code} > What you get: > - All dependent plugins install fine > - First non-dependent plugin fails with: > {quote} > Starting installation of "org.cordova.mobile-spec-dependencies" for ios > /Users/agrieve/git/cordova/cordova-cli/node_modules/q/q.js:126 > throw e; > ^ > Error: Failed to locate git repository for org.cordova.mobile-spec-dependencies plugin. > at /Users/agrieve/git/cordova/cordova-plugman/src/install.js:278:57 > at exithandler (child_process.js:633:7) > at ChildProcess.errorhandler (child_process.js:649:5) > at ChildProcess.EventEmitter.emit (events.js:95:17) > at Process.ChildProcess._handle.onexit (child_process.js:787:12) > {quote} -- This message was sent by Atlassian JIRA (v6.1.5#6160)