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 06E2A175D3 for ; Wed, 22 Oct 2014 00:56:26 +0000 (UTC) Received: (qmail 54047 invoked by uid 500); 22 Oct 2014 00:56:25 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 54006 invoked by uid 500); 22 Oct 2014 00:56:25 -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 53993 invoked by uid 99); 22 Oct 2014 00:56:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2014 00:56:25 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of csantana23@gmail.com designates 74.125.82.52 as permitted sender) Received: from [74.125.82.52] (HELO mail-wg0-f52.google.com) (74.125.82.52) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Oct 2014 00:56:21 +0000 Received: by mail-wg0-f52.google.com with SMTP id a1so2513780wgh.23 for ; Tue, 21 Oct 2014 17:56:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qDlV7pSpv3QDhaWE+1++ymdSGuDHMuLZNdPJiewCMoQ=; b=Bo6UIJeETor20xlqs7tEJ5br1AmPkras2DtQA2QjB3JPoGurldxJjrR8B2XfKRSsam Awb3oZTAOPP9xNgs6pECa31YP2XtZQBYLw6i6QWmItDzfTkgUrVTYLfkcyiej06ul7Mt vYWmuqei0G3UOPow/Kma6JKYIz25RwgS/sQycQaGvv+0X1ypw7wl1R6BU2w4DJyn7eWa lRySW2V2jBlXZjYLSgHmmzcDXRdad5cajaBMdIVWvJ4QVZKwhZfdlzcGg169DtR01/eS O0UrhnAG18g3RJlvxxENOwptR8SENSSOEiSOxlLSSr468nKsNPhjN/LbLajwasjeaDcC O74w== MIME-Version: 1.0 X-Received: by 10.180.82.105 with SMTP id h9mr1714594wiy.62.1413939360052; Tue, 21 Oct 2014 17:56:00 -0700 (PDT) Received: by 10.194.187.115 with HTTP; Tue, 21 Oct 2014 17:55:59 -0700 (PDT) In-Reply-To: References: <20141017211454.6344789.86709.12921@blackberry.com> Date: Tue, 21 Oct 2014 20:55:59 -0400 Message-ID: Subject: Re: Adding ability to add any platform on any OS From: Carlos Santana To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=f46d0418283c4a3b880505f86988 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0418283c4a3b880505f86988 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable We can start by small wins by making CLI a bit smarter, if the user do "cordova build" the cordova project might have multiple platforms and some of them it can't compile, the same for "cordova run", printing a message and skipping the step would be a good improvement. for "cordova create", I agree with Andrew ios should be easy to write in nodejs and be able to run the create command in a non OSX. On Mon, Oct 20, 2014 at 1:39 PM, Andrew Grieve wrote= : > Another thing preventing this for iOS: > > https://issues.apache.org/jira/browse/CB-7311 > https://github.com/alunny/node-xcode/pull/30 > > On Mon, Oct 20, 2014 at 1:34 PM, Andrew Grieve > wrote: > > > I'd really like it to be the case as well that our tools be > cross-platform > > except where they can't be. One hurtle here is that iOS's create script > is > > written in bash. It wouldn't be hard to convert to node using another > > platform as a template though. > > > > On Sun, Oct 19, 2014 at 8:32 PM, Edna Y Morales > > wrote: > > > >> Thanks for the feedback everyone. I'm not seeing anything in the scrip= ts > >> that require an environment to be set up other than compile and run, > which > >> check the environment requirements. Maybe user added hooks would cause > >> issues. Adding a plugin seems to copy files into the project's platfor= ms > >> and add references in XML files or keys in the plist file if necessary= . > But > >> perhaps I am missing something here? > >> > >> If it is not ideal to change the workflow then maybe the suggested > >> --force flag could be an alternative? > >> > >> Thanks, > >> Edna Morales > >> > >> [image: Inactive hide details for Gorkem Ercan ---10/18/2014 11:46:21 > >> AM---On Sat, Oct 18, 2014 at 06:22:12AM +0000, Parashuram Narasim]Gork= em > >> Ercan ---10/18/2014 11:46:21 AM---On Sat, Oct 18, 2014 at 06:22:12AM > +0000, > >> Parashuram Narasimhan (MS OPEN TECH) wrote: > >> > >> From: Gorkem Ercan > >> To: "dev@cordova.apache.org" > >> Date: 10/18/2014 11:46 AM > >> Subject: Re: Adding ability to add any platform on any OS > >> ------------------------------ > >> > >> > >> > >> On Sat, Oct 18, 2014 at 06:22:12AM +0000, Parashuram Narasimhan (MS > >> OPEN TECH) wrote: > >> > What about saving and restoring platforms? Cordova platforms will n= ot > >> be checked in, but we could do a cordova platform save. When I now do = a > >> cordova platform restore on my Mac machine, will is try to restore the > >> Windows platform also and fail ? > >> > > >> > >> "cordova restore platforms" will not be able to restore windows on a > >> Mac, it basically > >> delegates to "cordova add" which will fail. Unfortunately, it will sto= p > >> platform restoration after first failed platform which I think should > >> not be the case [1]. > >> > >> I think the ultimate goal with cordova restore is to make it part of t= he > >> prepare cycle and remove plugins and platforms folders. In such a > >> setting restoring platforms that we can not cater on a host OS will > >> probably cause more harm. > >> > >> I can see some cases where this could be a useful feature but I do not > >> think > >> they are part of the main flow. Perhaps a --force flag can be added fo= r > >> this one? > >> > >> [1] https://issues.apache.org/jira/browse/CB-7820 > >> -- > >> Gorkem > >> > >> > -----Original Message----- > >> > From: Josh Soref [mailto:jsoref@blackberry.com >] > >> > Sent: Friday, October 17, 2014 2:15 PM > >> > To: Jesse; dev@cordova.apache.org > >> > Subject: Re: Adding ability to add any platform on any OS > >> > > >> > cordova serve could still benefit from it... > >> > > >> > Although I haven't looked into it too much. =E2=80=8E Sent from my B= lackBerry > >> 10 smartphone. > >> > > >> > > >> > --------------------------------------------------------------------= - > >> > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > >> > For additional commands, e-mail: dev-help@cordova.apache.org > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > >> For additional commands, e-mail: dev-help@cordova.apache.org > >> > >> > >> > > > --=20 Carlos Santana --f46d0418283c4a3b880505f86988--