I am tring to work with GWT on eclipse indigo.

My goal is to create new GWT project that runs on the eclipse local 
glassfish server. (and after that on a remote server).

I have installed the GWT plag-in on eclipse and took the following steps:

Created a new project
Marked use google web toolkit
Unmarked use google app engine
Marked generate project sample code
Right click on new project > properties > project facets > changed java ver 
from 1.7 to 1.6

So far so good , running the project as a web application works just fine

but when i try to upgrade the project to a dynamic web i get problems.

Steps i took :

Right click on new project > properties > project facets > mark dynamic web 
module
After this step if i try to run the project as a web application, it works 
fine , but attempting to run it on local server results with 404 error

Project properties > google > web application > change war dir from war to 
WebContent
Leave "lanch and deploy from this directory " as marked

At this point , when running the project as a web app i m getting "No 
startup URLs supplied and no plausible ones found -- use -startupUrl" and i 
can see that the WebContent dir does not hold the css and the html file 
that are under the war dir

At this point i simply copied the css and html files to the WebContent dir 
, the result:

Would work if i run it as a web applicaton, but will not connect to the 
server side of the app
Will not run on eclipse's local glassfish server - return 404 error

I should add that i have imported a working project and it works fine , so 
it probably not a problem of the plag-in or the eclipse config , but rather 
on the way that i configure the project

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


Reply via email to