incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Maj <>
Subject Re: plugin tooling/specification
Date Sun, 16 Sep 2012 02:29:53 GMT
Right. I'm ok with this but wanted to keep the exact cordova-powered
platform projects as untouched as possible, so you could cd into those
directories and do whatever you want (run usual cordova project commands,
compile, etc). So removing the www from there forces everyone to always go
through the tool.

On 9/15/12 7:23 PM, "Anis KADRI" <> wrote:

>On Sat, Sep 15, 2012 at 5:32 PM, Filip Maj <> wrote:
>> >Ohhh I think I understand. So basically it packages the www resources
>> >the binary at build time?
>> Correct. Each platform's underlying implementation has its own "www"
>> folder. At build time, the top-level www of your project gets copied
>> each platform before doing a compile for that platform.
>> >> platforms/xxx/www gets destroyed and recreated on every build. See
>> >> here<>.
>> >> It's needed to build packages for every platform. It could arguably
>> >> destroyed after every build though. Fil is there a reason why that's
>> >> the case ?
>> That is the case is it not? Line 57?
>> Or do you mean, we should delete the platforms/<platform>/www (or
>> equivalent) after building?
>Yes that's what I meant.
>> If the latter, I don't see the point.
>To avoid confusion. The reason why we're discussing this is because Mike
>got confused after seeing the root www and a www in each platform
>subfolder. There is also no reason to keep them around since they get
>destroyed before every build anyway. So maybe they should just get
>destroyed _after_ every build. You'd just recursively copy the folder
>before every build. I don't really care either way. Just trying to avoid
>the "Where do I drop my code?" scenario.

View raw message