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 C67B01033A for ; Mon, 13 Jan 2014 20:38:19 +0000 (UTC) Received: (qmail 23322 invoked by uid 500); 13 Jan 2014 19:34:47 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 23008 invoked by uid 500); 13 Jan 2014 19:34:28 -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 22886 invoked by uid 99); 13 Jan 2014 19:34:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jan 2014 19:34:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gorkem.ercan@gmail.com designates 209.85.223.178 as permitted sender) Received: from [209.85.223.178] (HELO mail-ie0-f178.google.com) (209.85.223.178) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Jan 2014 19:34:11 +0000 Received: by mail-ie0-f178.google.com with SMTP id x13so1891146ief.37 for ; Mon, 13 Jan 2014 11:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:mime-version:content-type :content-disposition:user-agent; bh=M1Z6Ek78s8g8cgpfV5rzQgBW9dOGfcLJpz+5A6ueI+Q=; b=UqdsSS2OLbL1SV9A14NgeC5MHeOwLoqRZYzIp7HTJdgwYIZD8Vr2AvfdRmIIZbheRy l3fQSymQTP9s6ZfQhXeqFMI+5kEW/SvEoXtNw2zPpRjClnWxqNCdzTon47Gph4xtnL/3 JlNKQTwMmMqe1foJJni2NpEBl64ZoqCvuFQCN3gMl92dkT6yilurKW58LPH+XQ5LX4em GoTeRf1WcYA++L+wKr4L2IHDJuKRfcm4GhanhH6aiJz3Z3q4d+Z7WEeixWu014w+Cx4m Lc/spNOvVVJqejpG5iGc1ymI556R825l7s/yUNoBnFB3Cy/mzLfqXEvjO2xgtdi/NRRB /uDQ== X-Received: by 10.43.57.19 with SMTP id we19mr1802159icb.89.1389641630922; Mon, 13 Jan 2014 11:33:50 -0800 (PST) Received: from gmail.com (bas1-oakville54-3096612172.dsl.bell.ca. [184.146.141.76]) by mx.google.com with ESMTPSA id fk5sm19891954igb.9.2014.01.13.11.33.49 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Mon, 13 Jan 2014 11:33:50 -0800 (PST) Date: Mon, 13 Jan 2014 14:33:42 -0500 From: Gorkem Ercan To: dev@cordova.apache.org Subject: Engines and plugins Message-ID: <20140113193342.GA23615@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Checked: Checked by ClamAV on apache.org JBoss Tools have recently added the capability to switch between Cordova engines. See [1] for details. While implementing checks for plug-in compatibility I found the engine definitions on the plug-in specification to be more complex than needed to be. I think there are too many "default engines" defined. for instance is essentially the same as Could someone remind the reason for having platform specific default engine names? If they exist for a historic reason can we remove it from the documentation and guide people to use the platform attribute? I can provide a doc patch for this purpose. I think this is making the implementation on plugman more complex also. And specifying custom Apache Cordova-based frameworks is a different beast altogether. It actually gives the responsibility to integrate a custom engine with plugman to the plug-ins with the scriptSrc attribute. I do not think this will scale considering that the engine and plug-in ideally have a different life cycle. I think plugman should actually provide a way for custom engines to provide this information. I guess there is some merit to engines such as "apple-xcode" but I have yet not been able to find a plug-in that uses those. I must also admit the use of engine definitions is also very limited. [1] http://www.gorkem-ercan.com/2014/01/multiple-cordova-engines-on-jboss.html