Hi everyone,

I'm working with GWT 2.2.0 and I have problems running my project in
hosted mode (with own Tomcat server):

This is my project structure:

Test
  - src
    - de
      - mytest
        - test
          - test.gwt.xml
          - client
             -.....
          - shared
             -.....
   - war
      - test
        - WEB-INF
          - classes

My test.gwt.xml looks like that:
_______
<module rename-to="test">
  <inherits name='com.google.gwt.user.User' />
  <inherits name='com.google.gwt.rpc.RPC' />
  <inherits name='com.google.gwt.user.theme.standard.Standard'/>

  <entry-point class='de.mytest.test.client.MainView' />
  <servlet path='/TestService' class='de.mytest.test.TestServiceImpl' /
>
  <source path="shared"/>
  <source path="client"/>
</module>
_________

In my build script I compile all classes to war/test/WEB-INF/classes.
All classes and also the test.gwt.xml are present. If I start my own
Tomcat (which WEBAPP-Dir is configured to war), everything works fine
(on http://localhost:8080/test/index.jsp).

In my build script, i have an own target to start the GWTShell:

__________
<target name="gwtcdevmode" depends="compile" description="DEVMODE GWT
compile to JavaScript">
                <java failonerror="true" fork="true"
classname="com.google.gwt.dev.GWTShell">
                        <classpath>
                                <pathelement location="src" />
                                <path refid="project.class.path" />
                        </classpath>
                        <jvmarg value="-Xmx256M" />

                        <arg value="-noserver"/>

                        <arg value="-port"/>
                        <arg value="8080"/>

                        <arg value="-out"/>
                        <arg value="war/test"/>
                        <arg line="${gwt.debug.args}" />
                        <arg value="test/index.jsp" />
                </java>
        </target>
___________

If I call the URL above, the log says:

00:00:04,406 [ERROR] Unable to find 'test.gwt.xml' on your classpath;
could be a typo, or maybe you forgot to include a classpath entry for
source?
00:00:04,406 [ERROR] Failed to load module 'test' from user agent
'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR
2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR
3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)' at localhost:
3961

What I'm doing wrong?

project.class.path contains also war/test/WEB-INF/classes and all
*.jar files...

Best Regards!

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