incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gord Tanner <>
Subject Re: CB-280 - Improve layout of cordova-js scripts
Date Mon, 19 Mar 2012 15:37:28 GMT

If we could somehow lay things out that we can handled more of the platform
specific insertions and scripts in a convention over configuration basis
that would be a huge win.

If I have foo.js in the main folder and a blackberry/foo.js.  I would
expect it would overwrite the foo.js during blackberry's build and only
include the platform specific one in the compiled source.

On Mon, Mar 19, 2012 at 11:30 AM, Patrick Mueller <> wrote:

> It seems like now would be a good time to tackle
> .  Everyone still generally
> in
> favor of this?  The main idea is to just move the files around a bit so the
> file 'paths' correspond more closely to the actual module id's, so you
> don't have to guess.  Also, moves all the platform-specific code to a
> platform-specific subdirectory, so all the platform-specific code isn't
> sprayed all over the 'lib' directory.  I anticipate having to make no code
> changes, other than to the build, which should end up being simplified, in
> some ways.
> Everyone still in favor?
> This would be fairly disruptive if folks are making large modifications to
> incubator-cordova-js .  Anyone in midst of, or planning big changes of any
> kind in that project?
> --
> Patrick Mueller

Gord Tanner
Senior Developer / Code Poet
tinyHippos Inc.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message