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 1BB24107E7 for ; Fri, 18 Oct 2013 18:36:51 +0000 (UTC) Received: (qmail 99924 invoked by uid 500); 18 Oct 2013 18:36:48 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 99873 invoked by uid 500); 18 Oct 2013 18:36:45 -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 99850 invoked by uid 99); 18 Oct 2013 18:36:44 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Oct 2013 18:36:44 +0000 Date: Fri, 18 Oct 2013 18:36:44 +0000 (UTC) From: "Kris Erickson (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-5127) Detect changes to plugins and reinstall their source on prepare 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-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799390#comment-13799390 ] Kris Erickson commented on CB-5127: ----------------------------------- Perhaps some of this information (what exactly prepare does) could be added to the documentation. Also maybe add a command or an option to the prepare could be added to 're-install' plugins rather than adding them, since uninstalling and reinstalling plugins is a bit of a pain since it requires the full git path. For myself, everything is in my VCS and I have added the source code in platform to the VCS (initially I assumed that it would be like the asset directory and updated each prepare and kept it out of VCS). I also assumed that if the plugin got update it would update source code, but I guess that also is wrong (do you have to remove and re-add plugins to update them in general). I like the new plugin architecture but it is very poorly documented (even finding the list of plugins is frequently a googling safari and without www.plugreg.com I would have difficulty finding plugins at all.) > Detect changes to plugins and reinstall their source on prepare > --------------------------------------------------------------- > > Key: CB-5127 > URL: https://issues.apache.org/jira/browse/CB-5127 > Project: Apache Cordova > Issue Type: Improvement > Components: CLI > Affects Versions: 3.0.0 > Environment: Windows 7, cordova CLI 3.0.4 > Reporter: Kris Erickson > Assignee: Braden Shepherdson > Fix For: 3.2.0 > > > Running > cordova prepare android > copies the javascript portion of the plugin, but not the Java source on android (haven't yet tested on IOS). Thus when the project is moved between machines the source isn't copied if it isn't retained in the VCS or if the user adds a platform after adding a plugin. My suggestion would be to copy only if the source isn't there in case the user has changed the plugin. -- This message was sent by Atlassian JIRA (v6.1#6144)