I`ve created two projects in Eclipse - GWT project for presentation,
and plain Java project for model. Added model.gwt.xml to Model
project, then added it to View project build path. I also
put<inherits> tag to view.gwt.xml
Now eclipse displays error message "Product can not be found in source
packages. Check the inheritance chain from your module; it may not be
inheriting a required module or a module may not be adding its source
path entries properly."
Strange thing is that view project works, when deployed. Model classes
are accessible and act as expected.
Is there any way to remove error messages? The are really distracting.
Model Project structure
-src
--com.kfuntak.gwt.json.serialization.client - marker interface
--com.project.model - model classes
--model.gwt.xml
model.gwt.xml
<?xml version="1.0" encoding="UTF-8"?>
<module>
<inherits
name='com.google.gwt.user.User' />
<source
path="com/kfuntak/gwt/json/serialization/client" />
<source
path="com/project/model" />
</module>
view.gwt.xml
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to='licensefrontend'>
<inherits name='com.google.gwt.user.User'/>
<inherits name='com.google.gwt.user.theme.standard.Standard'/>
<inherits name='model' />
<entry-point class='ru.isys.license.frontend.client.LicenseFrontEnd'/
>
<source path='client'/>
<source path='shared'/>
</module>
--
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.