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 44A6210F19 for ; Tue, 17 Sep 2013 19:06:41 +0000 (UTC) Received: (qmail 86101 invoked by uid 500); 17 Sep 2013 19:06:40 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 86074 invoked by uid 500); 17 Sep 2013 19:06:40 -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 86064 invoked by uid 99); 17 Sep 2013 19:06:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 19:06:39 +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 mmocny@google.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-ob0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Sep 2013 19:06:33 +0000 Received: by mail-ob0-f182.google.com with SMTP id wo20so5940298obc.41 for ; Tue, 17 Sep 2013 12:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=QYvY8ww+ZZ7ZR8TFgoHMJEDsOaUr71CSlNxPGUEWUmM=; b=P+V8102lYW+VFqmlt75KNKhjL2FLmTqzTLLXrtPXSpGBxGnZtKpkc3gGImYNjCR2IR OfL4Aa16C4zni60y3vBMOyZbGDOrwx+1XaEfOaTqsjpNe8rg+0UydRQF3AUu2H8PvgSg 7OpvSXIw9MEY43D7sMOOhcIcvjhijDgTvATrQdZpRVkrCOT1h581D7w9vJ3x9EmWTno5 ShEWpVFrtM3JYuDbKEidISRQpPy+Hbp7IqMx8F4Xa0EQ8NQPg2Ees54+BSiWrp0dV0OB 6rPbgh6lZc4/TlJLFep2o/aD3rcQxVTPEO38gkNVhJg5Qy+K3RNm6+BItuf9ppIfyAc6 MWRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=QYvY8ww+ZZ7ZR8TFgoHMJEDsOaUr71CSlNxPGUEWUmM=; b=EbU7VFAUf1rnIdrg98cSOqXo5Zo8Tuzr9qIq8NSnyQtVYex+WfyROH1Rma7klzFRys umGib/lV292L4czVVi2550xXXaire+5apiPcBK4kzD9WKZV3lc6zTo+n11rK7FFaU6kZ uU/7T/VV2zLDiT6Jtfiv1pPWaqkWi9ctcju7k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=QYvY8ww+ZZ7ZR8TFgoHMJEDsOaUr71CSlNxPGUEWUmM=; b=TgD09o1QHUeLiXDSEX/SEsAzvY7tdHrM6HJCIZZS3ED3ix6J0PsVd4RSq7/PRdOQGO gqOQk+7NjcmoXl6tzgPejmpfcrlHwFpmqA1JTOoBHoLwkzx1HtwVZgKqLk4TKJEtLwaJ opJkWRZEMv90dvNJM19oQNUQjCvVTRzKa9F2bbhmjta4tjo7ErDDQXD1bNW9wGfAYmBm 0+vQn6uvTjy+7ezCWF+exUu27rj07pt6JFfdoGBbquQlJiYeXj+/Ht9CZVwNYWpN1RHX hc9zvSmz6c0QYRrIrehhDTtq1/QodSivo1T1keDSX9doihxZLTtddDmepjm2lnRwQPgm sCfA== X-Gm-Message-State: ALoCoQkcqZkBO9uAeijkOuZpFEHErMoCN/CgGI/I1prUbEHSbOQ8kIHAGzpi/Km3pPpRJlcpBx5Y09jJIA2errWPPR4ysnjDrAlJXUYRKoMkZvNXmCRxuj1iZjiRr0UwOaw3QRihlzSMQD5sPbwtKACEMnMq9taUljwhknf3Pznz0av8CzSxkUwPcYdmJKyjDly6JY5K5hNRqsfQQMlWh6rX9+geKz21rA== X-Received: by 10.60.52.81 with SMTP id r17mr31571566oeo.3.1379444772463; Tue, 17 Sep 2013 12:06:12 -0700 (PDT) MIME-Version: 1.0 Sender: mmocny@google.com Received: by 10.182.139.100 with HTTP; Tue, 17 Sep 2013 12:05:52 -0700 (PDT) In-Reply-To: References: From: Michal Mocny Date: Tue, 17 Sep 2013 12:05:52 -0700 X-Google-Sender-Auth: gJ7d04Z6DwugXJWIucDBjR6pCKs Message-ID: Subject: Re: phonegap build doesn't preserve symlink paths To: dev Content-Type: multipart/alternative; boundary=001a1133073aa6d10a04e69903ab X-Virus-Checked: Checked by ClamAV on apache.org --001a1133073aa6d10a04e69903ab Content-Type: text/plain; charset=ISO-8859-1 Yeah I think we fixed it to copy the underlying file if there are symlinks inside the platform folder, but the copy from www/ to platform just does the equivalent of cp -R which never resolves relative paths (nor should it, really, though there may be a flag to have it do so). -Michal On Mon, Sep 16, 2013 at 5:36 PM, Lindsey Simon wrote: > On Mon, Sep 16, 2013 at 1:09 PM, Michal Mocny wrote: > > > Creating symlinks to absolute paths might be sufficient to fix your issue > > right now. > > > > > Good idea, that totally worked for now. > > > > > > > > On Mon, Sep 16, 2013 at 12:44 PM, Lindsey Simon > > wrote: > > > > > Ok cool thanks fellas - I didn't know if this was a bug or if maybe I > was > > > just doing it wrong.. > > > > > > > > > > > > On Mon, Sep 16, 2013 at 12:03 PM, Andrew Grieve > > >wrote: > > > > > > > Bug filed: https://issues.apache.org/jira/browse/CB-4828 > > > > > > > > Thanks Lindsey. > > > > > > > > > > > > On Mon, Sep 16, 2013 at 2:17 PM, Shazron wrote: > > > > > > > > > Lindsey, always file an issue. Thanks :) > > > > > > > > > > > > > > > On Mon, Sep 16, 2013 at 10:26 AM, Lindsey Simon > > > > wrote: > > > > > > > > > > > In my project/www I symlink my js/css/img directories to another > > > > > directory > > > > > > in my tree (where my server deploys from). > > > > > > > > > > > > When I run `phonegap build android` the symlinks get copied to > > > > > > platforms/android/assets/www/css but the path is no longer valid. > > > > > > > > > > > > Anyone else experience this? Should I file a bug? (and attempt a > > CL?) > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > > > > --001a1133073aa6d10a04e69903ab--