Hi,

My goal is to GWT-ize a struts2 (S2) project.  I read the archives of
this list. Although email threads were quite informative, I do not see
the answer to this situation regarding the Java classpath and GWT.

Tools:
  I am using eclipse Java EE IDE for Web Developers (3.5.1) and the
GWT eclipse plugin (1.2.0) with GWT 2.0.

  I created a GWT hello world application to compare to the small
struts 2 application I am trying to enhance.

Project layout:
  - In the struts2 project, the S2 web application has its WEB-INF in /
s2/src/main/webapp/WEB-INF and its output (.class files) go into "s2/
target/classes"  It's a standard maven project.

  - I see GWT has its WEB-INF located in /sgwt/war/WEB-INF and the
output of the project is "sgwt/war/WEB-INF/classes"


What I did:

  - I changed the S2 project properties in the Google Web Toolkit
dialog box to Use Google Web Toolkit.

  - I also did the following:

  + read the document at:
   http://code.google.com/webtoolkit/doc/latest/DevGuideOrganizingProjects.html

  + copied/modified over components from the brand new GWT web
application

My current obstacle / challenge is knowing how to add s2.gwt.xml,
s2.html, s2.css so they are visible to the Jetty development mode of
GWT.

By hand, I copied over the s2.gwt.xml file into /s2/src/main/
resources   However things did not work quite right. Trying a url
like: http://localhost:8888/Sgwt.html?gwt.codesvr=10.0.0.2:9997  but
for the s2 project did not work.


How do I change the development mode of GWT in eclipse to use the s2
resources ( \s2\target\classes ) ?


I will have a similar issue with another struts2 project but it is not
in a standard maven project setup. It has a WebContent folder which
contains a WEB-INF folder and so on.

Thank you for your help.

Sincerely,
Mike

-- 
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