I didn't realize I had to still run the jetty server seperately before.  I 
got it to work now running the jetty server using mvn jetty:start -Ddev and 
I just needed to right-click Run As "Web Application (running on an 
external server)" and supply the url (something like 
http://localhost:8080/{projectName}-server-1.0-SNAPSHOT/ )and uncheck the 
"Select an HTML page" option.

Is there a way to have it all running from within in eclipse with one 
command? Maybe even with the embedded jetty? The reason I ask is to make it 
easier to use the eclipse debugger to debug both server side and client 
side code at the same time.

Or can I somehow startup the jetty server within eclipse so that I can run 
it in debug mode?

On Saturday, May 19, 2012 6:21:51 AM UTC-4, Thomas Broyer wrote:
>
>
>
> On Friday, May 18, 2012 11:37:20 PM UTC+2, JoseM wrote:
>>
>> So I am assuming I would do this on the client project right? I can't sem 
>> to get it to work though.  
>>
>> No matter what settings I put for the war I get this message:
>>
>> [WARN] No startup URLs supplied and no plausible ones found -- use 
>> -startupUrl
>>
> Oh yeah, sure, I forgot to say that you have to add or update the 
> -startupUrl argument: -startupUrl 
> http://127.0.0.1:8080/foobar/index.html(where the URL is the one of your 
> Jetty server), and uncheck "use embedded 
> server" (or add the -noserver argument).
>
>  
>
>> And when I go to the root of the jetty server the index.html file is not 
>> there.
>>
> Then you have to build your project, or whatever it takes to make your 
> webapp work (i.e. copy index.html to the folder served by your jetty 
> server); that goes beyond GWT usage though.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/1pp88EqGxDoJ.
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