I think this relates to the issue that you've probably got a globally
installed Ripple from NPM that's NOT on the cordova-3.0 branch and a local
instance of Ripple that is now on the cordova-3.0 branch and the pathing is
messed up.


On Thu, Oct 10, 2013 at 10:39 AM, Raymond Camden <[email protected]>wrote:

> Nope, when I run from root or www I get the same:
>
> INFO: Server instance running on: http://localhost:4400
> INFO: CORS XHR proxy service on: http://localhost:4400/ripple/xhr_proxy
> INFO: JSONP XHR proxy service on:
> http://localhost:4400/ripple/jsonp_xhr_proxy
>
>
> On Thu, Oct 10, 2013 at 9:37 AM, Gord Tanner <[email protected]> wrote:
>
> > Yeah,
> >
> > We host our own webserver now that will proxy your content and inject
> > ripple without need to a browser extension.
> >
> > Run from the root of the project, you should see ("Detected Cordova 3.0
> > Project")
> >
> >
> > On Thu, Oct 10, 2013 at 10:35 AM, Raymond Camden <
> [email protected]
> > >wrote:
> >
> > > I will switch branches.
> > > What folder should I run from?
> > > Also... seriously - uninstall the extension? You sure? :)
> > >
> > >
> > >
> > > On Thu, Oct 10, 2013 at 9:32 AM, Gord Tanner <[email protected]>
> wrote:
> > >
> > > > - Are you on the cordova 3.0 branch?
> > > > - Make sure that Cordova 3.0 is selected as the platform.
> > > > - Make sure the extension isn't installed (pass ?enableRipple=true in
> > the
> > > > URL)
> > > >
> > > >
> > > > On Thu, Oct 10, 2013 at 10:24 AM, Raymond Camden <
> > > [email protected]
> > > > >wrote:
> > > >
> > > > > Ok, so I made a virgin cordova project.
> > > > > I cd'ed into the directory and did ripple emulate.
> > > > >
> > > > > I went to localhost:4400 and it didn't response. I had to add /www.
> > > > >
> > > > > Is the expectation that we run from the *root* of the Cordova
> project
> > > or
> > > > > www?
> > > > >
> > > > > I tried both - and in both cases when I enable Ripple for the HTML
> it
> > > > does
> > > > > not fire deviceready and it doesn't find cordova.js, which makes
> > sense
> > > I
> > > > > guess.
> > > > >
> > > > > Am I suppose to build for Android first and then run from the
> assets
> > > > > folder?
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Oct 10, 2013 at 9:19 AM, Gord Tanner <[email protected]>
> > > wrote:
> > > > >
> > > > > > Sorry,
> > > > > >
> > > > > > Got stuck working on something else.  I think you probably didn't
> > > > install
> > > > > > this via npm (which will set up the pathing correctly for you)
> > > > > >
> > > > > > https://github.com/apache/incubator-ripple#cli--npm-package
> > > > > >
> > > > > >
> > > > > > On Thu, Oct 10, 2013 at 10:17 AM, Raymond Camden <
> > > > > [email protected]
> > > > > > >wrote:
> > > > > >
> > > > > > > Just checking - did my reply make sense? :)
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Oct 9, 2013 at 5:24 AM, Raymond Camden <
> > > > > [email protected]
> > > > > > > >wrote:
> > > > > > >
> > > > > > > > Ok, so I'm in the root of a project, and I run it:
> > > > > > > >
> > > > > > > >
> /Users/ray/Dropbox/chromeextensions/incubator-ripple/bin/ripple
> > > > > emulate
> > > > > > > >
> > > > > > > > And it tells me:
> > > > > > > >
> > > > > > > > Unknown command: emulate
> > > > > > > >
> > > > > > > > But then when it prints the help, it shows emulate as an
> > option.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Tue, Oct 8, 2013 at 7:02 PM, Gord Tanner <
> [email protected]
> > >
> > > > > wrote:
> > > > > > > >
> > > > > > > >> Hey Raymond,
> > > > > > > >>
> > > > > > > >> Cordova 3.X support is currently being worked on and you can
> > > > follow
> > > > > > > >> development and use it on this Cordova 3.0 branch [1]
> > > > > > > >>
> > > > > > > >> It should run your cordova projects (hardcoded to use use
> the
> > > > > android
> > > > > > > >> platform now) when you run `ripple emulate` in the root of
> > your
> > > > > > cordova
> > > > > > > >> 3.0
> > > > > > > >> project.  It will detect the platforms / prepare the project
> > and
> > > > > > launch
> > > > > > > >> the
> > > > > > > >> browser for you.
> > > > > > > >>
> > > > > > > >> Any help with testing / development would be awesome :)
> > > > > > > >>
> > > > > > > >> [1] -
> > > https://github.com/apache/incubator-ripple/tree/cordova-3.0
> > > > > > > >>
> > > > > > > >>
> > > > > > > >> On Tue, Oct 8, 2013 at 4:28 PM, Raymond Camden <
> > > > > > [email protected]
> > > > > > > >> >wrote:
> > > > > > > >>
> > > > > > > >> > I believe I've contacted a few folks on this list before,
> > and
> > > > may
> > > > > > have
> > > > > > > >> > posted this here as well, so please forgive me for my
> ailing
> > > > > memory.
> > > > > > > :)
> > > > > > > >> >
> > > > > > > >> > Can someone summarize the status on PhoneGap support in
> > > Ripple?
> > > > > > > >> >
> > > > > > > >> > In the past, I was able to use the Android phonegap.js
> file
> > > with
> > > > > > > Ripple
> > > > > > > >> and
> > > > > > > >> > have fake camera support for example.
> > > > > > > >> >
> > > > > > > >> > In PhoneGap 3 (and recent versions), this no longer works
> > > well.
> > > > > > Ripple
> > > > > > > >> does
> > > > > > > >> > seem to still have PhoneGap in mind (you can fire
> > > deviceready).
> > > > > But
> > > > > > in
> > > > > > > >> > general, it doesn't seem to be working.
> > > > > > > >> >
> > > > > > > >> > I'm about to present on PhoneGap again in a day or so,
> and I
> > > > > > normally
> > > > > > > >> > include Ripple in that discussion. Even w/o PhoneGap
> support
> > > it
> > > > > is a
> > > > > > > >> kick
> > > > > > > >> > butt project, but obviously if it isn't going to work, I
> may
> > > > need
> > > > > to
> > > > > > > >> remove
> > > > > > > >> > that.
> > > > > > > >> >
> > > > > > > >> > --
> > > > > > > >> >
> > > > > > > >>
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> ===========================================================================
> > > > > > > >> > Raymond Camden, Adobe Developer Evangelist
> > > > > > > >> >
> > > > > > > >> > Email : [email protected]
> > > > > > > >> > Blog : www.raymondcamden.com
> > > > > > > >> > Twitter: cfjedimaster
> > > > > > > >> >
> > > > > > > >>
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> ===========================================================================
> > > > > > > > Raymond Camden, Adobe Developer Evangelist
> > > > > > > >
> > > > > > > > Email : [email protected]
> > > > > > > > Blog : www.raymondcamden.com
> > > > > > > > Twitter: cfjedimaster
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
> ===========================================================================
> > > > > > > Raymond Camden, Adobe Developer Evangelist
> > > > > > >
> > > > > > > Email : [email protected]
> > > > > > > Blog : www.raymondcamden.com
> > > > > > > Twitter: cfjedimaster
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > >
> > > >
> > >
> >
> ===========================================================================
> > > > > Raymond Camden, Adobe Developer Evangelist
> > > > >
> > > > > Email : [email protected]
> > > > > Blog : www.raymondcamden.com
> > > > > Twitter: cfjedimaster
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > >
> >
> ===========================================================================
> > > Raymond Camden, Adobe Developer Evangelist
> > >
> > > Email : [email protected]
> > > Blog : www.raymondcamden.com
> > > Twitter: cfjedimaster
> > >
> >
>
>
>
> --
> ===========================================================================
> Raymond Camden, Adobe Developer Evangelist
>
> Email : [email protected]
> Blog : www.raymondcamden.com
> Twitter: cfjedimaster
>



-- 
Jonathan

Reply via email to