Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4880210495 for ; Wed, 24 Apr 2013 20:58:31 +0000 (UTC) Received: (qmail 51760 invoked by uid 500); 24 Apr 2013 20:58:31 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 51734 invoked by uid 500); 24 Apr 2013 20:58:31 -0000 Mailing-List: contact dev-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 dev@cordova.apache.org Received: (qmail 51726 invoked by uid 99); 24 Apr 2013 20:58:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 20:58:31 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of shazron@gmail.com designates 209.85.128.47 as permitted sender) Received: from [209.85.128.47] (HELO mail-qe0-f47.google.com) (209.85.128.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Apr 2013 20:58:25 +0000 Received: by mail-qe0-f47.google.com with SMTP id x7so781814qeu.20 for ; Wed, 24 Apr 2013 13:58:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=x3h8PjoYsPqfHJBFppl/gmttj9VUJmNLJjqO0SsB6cg=; b=bE09VChSt+q7JKMAtDj9uyD8LTkGt6CLezIe8z4Dkj39FwBx/veFkwK77ca9qvthYa JrXMPD6UnQzaB8/lpXoKwpXREo9qQkqjbOxMKFN1w6xuroHwxmLpvWDDcUfLzebYnNCY bgS/5ou4nw3M4IK+WeRlthvrU/x2lqnpvGeJjeA27Av0x41pNq60JPdnoyfVdfJOSeQn ew9YfPX6brCu+zq4N0O79fObEMO7O+lT5NseJ029diCm/WJXdXuhMMyxsaKF66WkbS7p PLCtTDwJDSYbDX27xOfc67LDS08q3wODf8d4rmCFACJSd9y128Yahouu5cDJCFJzJ7xq Qmww== X-Received: by 10.224.33.148 with SMTP id h20mr11028137qad.45.1366837084623; Wed, 24 Apr 2013 13:58:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.81.144 with HTTP; Wed, 24 Apr 2013 13:57:24 -0700 (PDT) In-Reply-To: References: From: Shazron Date: Wed, 24 Apr 2013 13:57:24 -0700 Message-ID: Subject: Re: [plugin.xml spec] usefulness of preserve-dirs attribute? To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=20cf3074d2d8e537fb04db218e81 X-Virus-Checked: Checked by ClamAV on apache.org --20cf3074d2d8e537fb04db218e81 Content-Type: text/plain; charset=ISO-8859-1 Never knew of its existence, but if it wasn't doc'ed then removal is no problem imo. Not sure if this is related: https://issues.apache.org/jira/browse/CB-2717 On Wed, Apr 24, 2013 at 12:31 PM, Filip Maj wrote: > I am wondering what use cases does having a `preserve-dirs` attribute on > and objects help with? I notice that this > attribute is ONLY parsed in the iOS plugman handler, and it is not > documented as part of the plugin.xml spec. > > Additionally it seems like plugins in the wild using the plugin spec (I > combed through the ones being authored by phonegap build [1], the Mozilla > Person one [2], Shaz's keychain plugin [3] and his test flight plugin [4]) > don't use this attribute and instead use the > target-dir="target/location/inside/cordova/projects" to specify where > certain source files should go. > > Can I safely remove this functionality? > > [1] https://github.com/phonegap-build > [2] > https://github.com/couchbaselabs/cordova-browserid/blob/master/plugin.xml > [3] https://github.com/shazron/KeychainPlugin/blob/master/plugin.xml > [4] https://github.com/shazron/TestFlightPlugin/blob/master/plugin.xml > > --20cf3074d2d8e537fb04db218e81--