Thursday, June 28, 2012

superdevmode when working with multiple projects

Hi,

I've downloaded gwt 2.5.0 RC1 SDK and successfully worked with it for testing super devmode on a GWT helloworld application.
Then i've tried to test super devmode on a more complex project structure:
- my.gwt.web.module.standard
- common.gwt.web.module
- another.common.gwt.web.module

When I start the CodeServer I get this exception:

workDir: C:\Users\mga\AppData\Local\Temp\gwt-codeserver-3445187718077539929.tmp
binding: user.agent=safari
binding: compiler.useSourceMaps=true
binding: locale=en
Compiling module nts.wincash.webapplication.repairmanager.RepairManager
   Finding entry point classes
      [ERROR] Unable to find type 'common.gwt.client.MyEntryPoint'
         [ERROR] Hint: Check that the type name ' common.gwt.client.MyEntryPoint ' is really what you meant
         [ERROR] Hint: Check that your classpath includes all required source roots
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
at com.google.gwt.dev.codeserver.Recompiler.compile(Recompiler.java:93)
at com.google.gwt.dev.codeserver.ModuleState.<init>(ModuleState.java:52)
at com.google.gwt.dev.codeserver.CodeServer.start(CodeServer.java:88)
at com.google.gwt.dev.codeserver.CodeServer.main(CodeServer.java:51)
[ERROR] Compiler returned false


I've added the source directories of all dependent GWT projects in the classpath.

In my main module .xml file I've added the following properties:
<set-property name="compiler.useSourceMaps" value="true">
</set-property>


<add-linker name="xsiframe" />
<set-configuration-property name="devModeRedirectEnabled"
value="true" />


Can anyone help with some sugestions on how to get rid of the compiler problem?

Thanks in advance.

--
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/-/r74vOEw_l4sJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment