You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Patrick Mueller (Resolved) (JIRA)" <ji...@apache.org> on 2012/03/22 21:50:22 UTC

[jira] [Resolved] (CB-280) Improve layout of cordova-js scripts

     [ https://issues.apache.org/jira/browse/CB-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Mueller resolved CB-280.
--------------------------------

    Resolution: Fixed
      Assignee: Patrick Mueller  (was: Filip Maj)

commited to master in commit:

https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-js.git;a=commit;h=e50b7ef686e865cc8b6bb7caa5e05292de4148a6
                
> 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: Patrick Mueller
>            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