Return-Path: X-Original-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-callback-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id EC4279892 for ; Wed, 21 Mar 2012 19:10:08 +0000 (UTC) Received: (qmail 26568 invoked by uid 500); 21 Mar 2012 19:10:06 -0000 Delivered-To: apmail-incubator-callback-dev-archive@incubator.apache.org Received: (qmail 26543 invoked by uid 500); 21 Mar 2012 19:10:06 -0000 Mailing-List: contact callback-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: callback-dev@incubator.apache.org Delivered-To: mailing list callback-dev@incubator.apache.org Received: (qmail 26502 invoked by uid 99); 21 Mar 2012 19:10:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 19:10:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 21 Mar 2012 19:10:03 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id D6A3C1B6404 for ; Wed, 21 Mar 2012 19:09:42 +0000 (UTC) Date: Wed, 21 Mar 2012 19:09:42 +0000 (UTC) From: "Patrick Mueller (Commented) (JIRA)" To: callback-dev@incubator.apache.org Message-ID: <2015503874.43609.1332356982894.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <10543664.28727.1330448626129.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CB-280) Improve layout of cordova-js scripts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CB-280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234883#comment-13234883 ] Patrick Mueller commented on CB-280: ------------------------------------ need to look at other changes required, like the README.md file > Improve layout of cordova-js scripts > ------------------------------------ > > Key: CB-280 > URL: https://issues.apache.org/jira/browse/CB-280 > Project: Apache Callback > Issue Type: Improvement > Components: CordovaJS > Affects Versions: 1.5.0 > Reporter: Filip Maj > Assignee: Filip Maj > Priority: Minor > Fix For: 1.6.0 > > > Originally proposed by Pat on the mailing list. Reorganize the directory names and conventions used in the builder to make the association between javascript files and modules (and their ids) clearer. > From Pat's e-mail: > - rename `~/lib` to `~/cordova`; there is no more `~/lib`. > - mkdir ~/platform > - mkdir ~/platform/android > - mkdir ~/platform/... > - move platform-specific stuff in ~/cordova (was ~/lib), in such a way as > each module exists in a path associated with it's eventual module id, > prefixed by `~/platform/[whicheverPlatform]` > - move non-modules into a 'new' `~/lib` directory; it's more than just > require.js - bootstrap, etc > Now, to do a build for a platform: > - collect as modules all files from ~/cordova > - collect as modules all files from ~/platform/[whicheverPlatform]/cordova > - collect as scripts all files from ~/lib > bonusi: > - the files are laid out exactly as the modules will be named, modulo > platform-specific prefix directories for platform-specific files; no more > in-head conversion when I'm looking at directory listings of modules. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira