The way I have been doing this is to disable the test server in the
gwt plugin (done via the POM). I then do:

mvn gae:run -Dgwt.compiler.skip=true
mvn gwt:run

The first command starts the GAE server but skips any compilation of
GWT apps (optional, but saves a lot of time)
The second command starts up the gwt plugin.

I still use the ?gwt.codesvr=.... in my URL.

On Aug 2, 4:48 pm, Magno Machado <[email protected]> wrote:
> I'm not sure whether I should ask it here or in the GAE group..
>
> I'm trying to launch an application that uses GWT and GAE. I'm using Maven
> and Netbeans.
>
> First I was launching the app with "mvn gwt:run". It worked well until I
> started to use the GAE apis in my code (It does make sense, since the gwt
> plugin for Maven doesn't do anything with GAE as far as I know). After some
> research, I found out that now I need to run the app with "mvn gae:run",
> this way I'm invoking the GAE plugin, which will set up the GAE environment
> for me.
> First issue:
> After that, I noticed the GWT compiler started to compile my java classes to
> Javascript. That didn't happen before when I wasn't using GAE. Do I really
> have to run the JS compiler in order to run the app with GAE?
>
> Anyway, after the compilation finished I received this message:
> The server is running athttp://localhost:8080/
>
> So I tried to open this URL on the browser and received this message:
> GWT module 'crystalpoll' may need to be (re)compiled
>
> After more research, I found a forum post saying that it's missing the
> "?gwt.codesrv"
> url parameter, so I copied it from the URL I used to access before and now I
> have:http://localhost:8080/CrystalPoll.html?gwt.codesvr=127.0.0.1:9997
>
> But it gives me: Plugin failed to connect to hosted mode server at
> 127.0.0.1:9997
>
> Any ideas?
>
> --
> Magno Machado 
> Paulohttp://blog.magnomachado.com.brhttp://code.google.com/p/emballo/

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

Reply via email to