Re: Serve vs. opening an HTML file in the browser

2013-09-10 Thread Ray Camden
Ok - so anything else I can test - or just chill for now? On 9/10/13 10:00 AM, "Gord Tanner" wrote: >That is something I am working on in my branch ;) > > >On Tue, Sep 10, 2013 at 10:54 AM, Ray Camden wrote: > >> I can confirm it works. :) >> >> Any way to bypass those alerts? (To be clear, it

Re: Serve vs. opening an HTML file in the browser

2013-09-10 Thread Gord Tanner
That is something I am working on in my branch ;) On Tue, Sep 10, 2013 at 10:54 AM, Ray Camden wrote: > I can confirm it works. :) > > Any way to bypass those alerts? (To be clear, it is easy enough for me to > do, but I worry about the folks new to Ripple.) > > > > On 9/10/13 9:17 AM, "Gord Ta

Re: Serve vs. opening an HTML file in the browser

2013-09-10 Thread Ray Camden
I can confirm it works. :) Any way to bypass those alerts? (To be clear, it is easy enough for me to do, but I worry about the folks new to Ripple.) On 9/10/13 9:17 AM, "Gord Tanner" wrote: >Do you get the prompt's for the calls to native? > >If you do press cancel which will should allow thi

Re: Serve vs. opening an HTML file in the browser

2013-09-10 Thread Ray Camden
That's the thing - I can't get Ripple to load. I get the console.log infinite recursion thing I've gotten with PG for a while now. I literally can't get to a point where any HTML shows and the extension can take over. On 9/9/13 5:23 PM, "Gord Tanner" wrote: >Hey, > >got pulled off on some other

Re: Serve vs. opening an HTML file in the browser

2013-09-10 Thread Gord Tanner
Do you get the prompt's for the calls to native? If you do press cancel which will should allow things to boot up. If not try opening your browser to *http://localhost:4400/ ?enableRipple=cordova-3.0.0 * On Tue, Sep 10, 2013 at 10:04 AM, Ray Camden wrote: > That

Re: Serve vs. opening an HTML file in the browser

2013-09-09 Thread Gord Tanner
Hey, got pulled off on some other stuff: Lets make sure you are not running an old copy of ripple: > cordova create Baz > cordova platform add android > cordova prepare > cd incubator-ripple > jake > ./bin/ripple emulate --path ../Baz/platforms/android/assets/www/ Ensure that you have cordova 3

Re: Serve vs. opening an HTML file in the browser

2013-09-09 Thread Ray Camden
Hey Gord - just checking in. If you've been too busy to return to this - sorry - but if you missed my messages - let me know. On 9/3/13 12:30 PM, "Gord Tanner" wrote: >You will need to run: > >ripple emulate --path /path/to/cordova/project/platform/android/assets/www > >Let me know if that works

Re: Serve vs. opening an HTML file in the browser

2013-09-03 Thread Gord Tanner
You will need to run: ripple emulate --path /path/to/cordova/project/platform/android/assets/www Let me know if that works for you. On Tue, Sep 3, 2013 at 12:27 PM, Ray Camden wrote: > Ok, I forgot to run cordova serve. I did, and then I get the same behavior > as before. A prompt and then in

Re: Serve vs. opening an HTML file in the browser

2013-09-03 Thread Ray Camden
No go. I mean the command ran of course, but upon opening it up in my browser, I got the same. On 9/3/13 12:30 PM, "Gord Tanner" wrote: >You will need to run: > >ripple emulate --path /path/to/cordova/project/platform/android/assets/www > >Let me know if that works for you. > > >On Tue, Sep 3,

Re: Serve vs. opening an HTML file in the browser

2013-09-03 Thread Michal Mocny
Wildshot: localhost:4400/ripple ? On Tue, Sep 3, 2013 at 12:08 PM, Ray Camden wrote: > Ok, forgive me if I did something stupid here. > > I cloned https://github.com/apache/incubator-ripple/tree/cordova-3.0. I > did configure, jake, and then in Chrome I installed the unpacked > extension. I ch

Re: Serve vs. opening an HTML file in the browser

2013-09-03 Thread Ray Camden
Ok, I forgot to run cordova serve. I did, and then I get the same behavior as before. A prompt and then infinite console.log messages. On 9/2/13 8:32 PM, "Gord Tanner" wrote: >Good news! > >I have a branch that is booting projects made with cordova 3.0 [1]. > >It is basically a stripped down pla

Re: Serve vs. opening an HTML file in the browser

2013-09-03 Thread Ray Camden
Ok, forgive me if I did something stupid here. I cloned https://github.com/apache/incubator-ripple/tree/cordova-3.0. I did configure, jake, and then in Chrome I installed the unpacked extension. I chose pkg/chrome.extension. Of the three folders I assume that is the right one. I then made a new p

Re: Serve vs. opening an HTML file in the browser

2013-09-02 Thread Gord Tanner
Good news! I have a branch that is booting projects made with cordova 3.0 [1]. It is basically a stripped down platform and I tested it booting a project with android and ios. To run: > cordova create Baz > cordova platform add android > cordova prepare > ripple emulate (make sure you pick cor

Re: Serve vs. opening an HTML file in the browser

2013-08-28 Thread Ray Camden
On 8/27/13 11:41 PM, "Gord Tanner" wrote: > >I think with some tweaks we could have ripple working on all platform >cordova.js files again. I am going to need to version out a new platform >for cordova to handle the updated hacks and overrides to boot each >platform >cleanly but doesn't seem l

Re: Serve vs. opening an HTML file in the browser

2013-08-27 Thread Gord Tanner
Took a look at what was breaking ripple and it is a little more involved then I was hoping: - Android crashing the browser is caused by changes to how android sets up it's polling and how the modules all work together in the exec module. We used to have everything regarding polling rolled into th

Re: Serve vs. opening an HTML file in the browser

2013-08-27 Thread Brian LeRoux
I'll buy you a gord for that too! On Tue, Aug 27, 2013 at 11:19 AM, Ray Camden wrote: > Dude, if you get this working, I won't buy you a beer. I'll go back and > time and make it so that when beer was invented, it was called Gord, and > your name would forever be synonymous with the best thing

Re: Serve vs. opening an HTML file in the browser

2013-08-27 Thread Ray Camden
Dude, if you get this working, I won't buy you a beer. I'll go back and time and make it so that when beer was invented, it was called Gord, and your name would forever be synonymous with the best thing ever created. Not being able to use Ripple has been a real pain in my rear when doing presentati

Re: Serve vs. opening an HTML file in the browser

2013-08-27 Thread Gord Tanner
I can take a look at this tonight. We may not be upto date with API support (not a lot of people working on the project right now) but we shouldn't crash. I will ping back on this list when I know more Gord On Tue, Aug 27, 2013 at 2:13 PM, Ray Camden wrote: > As far as I know, Ripple hasn¹t

Re: Serve vs. opening an HTML file in the browser

2013-08-27 Thread Ray Camden
As far as I know, Ripple hasn¹t worked with PG sinceŠ 2.7 I believe. Currently it creates an infinite loop in the console which kills the tab eventually. On 8/26/13 2:03 PM, "Wargo, John" wrote: >So, how do I "use" it? > >cordova ripple? > >@ray: how is it broken? > > >John M. Wargo > >On Aug 12

Re: Serve vs. opening an HTML file in the browser

2013-08-26 Thread Wargo, John
So, how do I "use" it? cordova ripple? @ray: how is it broken? John M. Wargo On Aug 12, 2013, at 4:55 PM, "Ray Camden" wrote: > Although please note Ripple has not worked since 2.6 (or 2.7 - I forget). > I know (assume) folks know this, but I keep hoping it gets repaired soon. > :) > > >

Re: Serve vs. opening an HTML file in the browser

2013-08-12 Thread Ray Camden
Although please note Ripple has not worked since 2.6 (or 2.7 - I forget). I know (assume) folks know this, but I keep hoping it gets repaired soon. :) On 8/6/13 10:28 AM, "Filip Maj" wrote: >Ripple does exactly what serve does but provides an in-browser emulator >experience on top > >On 8/6/13

Re: Serve vs. opening an HTML file in the browser

2013-08-12 Thread Michael Wolf
This is how we are using itŠ as a local server for remote devices to then attach for example chrome remote debugging. mw On 8/6/13 10:20 AM, "Michal Mocny" wrote: >file:// urls come with a lot of restrictions in chrome in desktop, but >that >isn't the intended use case anyway. > >The intended p

Re: Serve vs. opening an HTML file in the browser

2013-08-06 Thread Filip Maj
e: +1 704.249.7476 >Email: john.wa...@sap.com >Twitter: @johnwargo > >-Original Message- >From: mmo...@google.com [mailto:mmo...@google.com] On Behalf Of Michal >Mocny >Sent: Tuesday, August 06, 2013 10:21 AM >To: dev >Subject: Re: Serve vs. opening an HTML fi

RE: Serve vs. opening an HTML file in the browser

2013-08-06 Thread Wargo, John
Mocny Sent: Tuesday, August 06, 2013 10:21 AM To: dev Subject: Re: Serve vs. opening an HTML file in the browser file:// urls come with a lot of restrictions in chrome in desktop, but that isn't the intended use case anyway. The intended purpose was to load the web assets from a mobile d

Re: Serve vs. opening an HTML file in the browser

2013-08-06 Thread Michal Mocny
file:// urls come with a lot of restrictions in chrome in desktop, but that isn't the intended use case anyway. The intended purpose was to load the web assets from a mobile device instead of loading the bundled versions, so as to get rapid edit-refresh when not making changes to native bits. As

Re: Serve vs. opening an HTML file in the browser

2013-08-06 Thread Andrew Grieve
One of the original motivations for "cordova serve" was for it to watch for changes and automatically run "prepare" for you. I don't think this is working right now though. On Fri, Aug 2, 2013 at 4:23 PM, Anis KADRI wrote: > XHRs won't work by default on certain browsers such as Chrome. I don't

Re: Serve vs. opening an HTML file in the browser

2013-08-02 Thread Anis KADRI
XHRs won't work by default on certain browsers such as Chrome. I don't think there are any other benefits. This restriction does not exist on a device. On Fri, Aug 2, 2013 at 1:13 PM, John M. Wargo wrote: > Can someone help me understand why I would want to use cordova serve rather > than just lo

Serve vs. opening an HTML file in the browser

2013-08-02 Thread John M. Wargo
Can someone help me understand why I would want to use cordova serve rather than just loading the web content in the browser directly (through File - Open for example)? Is there something special that serve does that makes this approach better?