Hi Ben,

I've been away for a long weekend and only just got back. Is it working OK?

Ian

http://examples.roughian.com


2009/11/9 ben fenster <fenster....@gmail.com>

>
> thank u very much i managed to use -noserver and it works great
> how the hell can gwt debug the js code running on another web
> server ?!??!?
>
> On Nov 8, 1:55 pm, ben fenster <fenster....@gmail.com> wrote:
> > pls help i cant use hosted mode even after installing apache setting
> > the directory to my war
> > if i use browser it works fine but not in hosted mode pls help me
> >
> > On Nov 4, 6:16 pm, Ian Bambury <ianbamb...@gmail.com> wrote:
> >
> > > OK.
> >
> > > The way I do it is like this:
> >
> > > In the program arguments you need
> >
> > > -noserver -port 1080
> >
> > > if you don't put the port, it will default to 80
> >
> > > in my launch file for my 1.7 minimum app I have
> >
> > > <stringAttribute key="org.eclipse.jdt.launching.PROGRAM_ARGUMENTS"
> > > value="-noserver -port 80 -startupUrl index.html
> > > com.roughian.appmin_1_7.Module"/>
> >
> > > but however you run it, you need those arguments.
> >
> > > You also need a local web server. I use Abyss (since Apache seemed like
> > > overkill) and set it up so that the document root was pointing to the
> /war/
> > > directory of my project and the port it was using was 1080, and it was
> also
> > > set up to deal with PHP, of course.
> >
> > > As far as I can remember, that's all you have to do.
> >
> > > The advantage of setting a port number is that you can then set up
> *another*
> > > project with another port number, and another instance of Abyss which
> is
> > > pointed at the new project's /war/ directory and uses the new port
> number.
> >
> > > What is more, you can run both projects in hosted mode at the same
> time.
> >
> > > In GWT 2.0, you can do exactly the same thing, but if you want to run
> more
> > > than one project in development mode at the same time, you will also
> need to
> > > add
> >
> > > -portHosted 9998
> >
> > > (or some other unique hosted mode port number)
> >
> > > If that doesn't make sense, or doesn't work, or you need help setting
> up
> > > Abyss (if you decide to use it), let me know.
> >
> > > Ian
> >
> > >http://examples.roughian.com
> >
> > > 2009/11/4 ben fenster <fenster....@gmail.com>
> >
> > > > it will help me alot if you could alaberate on the subject :)
> >
> > > > On 4 נובמבר, 16:13, Ian Bambury <ianbamb...@gmail.com> wrote:
> > > > > Have everything in the same place if you can.
> >
> > > > > Run with the -noserver option and have a local web server point to
> your
> > > > war
> > > > > directory
> >
> > > > > If that's too cryptic an answer, just shout and I'll give more
> detail.
> >
> > > > > Ian
> >
> > > > >http://examples.roughian.com
> >
> > > > > 2009/11/4 ben fenster <fenster....@gmail.com>
> >
> > > > > > how can i send a post request to my php page without getting an
> > > > > > exception about same orign execution restriction
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to