Hi have exactly the same experince.

I have followed it through with a debugger. Whats happening is for
whatever reason its assuming the module name includes the package
path. This is the default unless you override it with the rename-to
attribute in the module config. Since its just using the module name
not the full package path, when it tries to convert it to a path
relative to the class path it won't work.So it ends up looking for the
module in the default package not the one you are actually using.

For me removing the rename to and recompiling works, but it breaks the
RPCs since they uses the module name as the root of their serverlets
url.

Did you open an issue on this?

Charlie M

On Nov 20, 8:58 am, cromoteca <luci...@virgilio.it> wrote:
> Hi,
>
> yesterday I installed GWT 2.0 RC1 and it seems to work randomly.
> Before opening an issue, I'd like to know if I'm the only one to
> experience it. I was writing an application with 1.7 and I just
> replaced the GWT files without any change of code.
>
> When I run the new dev mode, everything starts as normal. I browse 
> tohttp://meshcms.dev:8887/meshcms/resources/host_page.mfm?mode=file_man...
> (mfm is mapped to FreeMarker, meshcms.dev points to localhost).
>
> In the development mode window, two elements are marked in red:
> 00:01:48,887 [INFO] Connection received from 127.0.0.1:50316
> 00:01:48,995 [ERROR] Failed to loadmodule'meshcms' from user agent
> 'Mozilla/5.0 (Windows; U; Windows NT 6.1; it; rv:1.9.1.5) Gecko/
> 20091102 Firefox/3.5.5' at 127.0.0.1:50316
>
> In the host_page.mfm tab there is another red line:
> 00:01:48,995 [ERROR] Unable to find 'meshcms.gwt.xml' on your
> classpath; could be a typo, or maybe you forgot to include a classpath
> entry for source?
>
> There is no other error, even in the IDE.
>
> My setup is:
> Windows 7 64bit
> NetBeans 6.7 without GWT plugin (just an Ant task that launches dev
> mode)
> Firefox 3.5.5
> IE8
>
> I just have to restart dev mode until it works. It seems to work
> randomly, but when it works the application runs perfectly until I
> close dev mode.
>
> My gwt.xml file is com.cromoteca.meshcms.Client.gwt.xml and contains:
>
> <modulerename-to="meshcms">
>         <source path="client"/>
>
>         <inherits name="com.google.gwt.user.User"/>
>         <inherits name="com.google.gwt.i18n.I18N"/>
>         <inherits name="com.google.gwt.user.theme.chrome.Chrome"/>
>         <inherits name="com.allen_sauer.gwt.dnd.gwt-dnd"/>
>
>         <entry-point class="com.cromoteca.meshcms.client.core.Client"/>
>
>         <stylesheet src="resources/client.css"/>
>
>         <set-property name="user.agent" value="ie6,gecko1_8" />
> </module>
>
> So why is dev mode searching for meshcms.gwt.xml?
>
> My Ant task is:
>
>   <target name="hosted-mode-run" depends="compile">
>     <webproject1:java classname="com.google.gwt.dev.DevMode">
>       <customize>
>         <jvmarg value="-Xss16M"/>
>         <jvmarg value="-Xmx256M"/>
>         <jvmarg value="-Dfile.encoding=utf-8"/>
>         <arg value="-war"/>
>         <arg value="build/web"/>
>         <arg value="-port"/>
>         <arg value="8887"/>
>         <arg value="-portHosted"/>
>         <arg value="9997"/>
>         <arg value="-startupUrl"/>
>         <arg value="index.html"/>
>         <arg value="com.cromoteca.meshcms.Client"/>
>       </customize>
>     </webproject1:java>
>   </target>

--

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


Reply via email to