Monday, October 28, 2013

Re: GWT - How add files from other project?

Sorry I forgot to mention that... Yes already defined the inherit in the gwt.xml from my GWTProject.

More precisely the content of the Web.gwt.xml is:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.5.1/distro-source/core/src/gwt-module.dtd">

<module rename-to="Web">
    <!-- Inherit the core Web Toolkit stuff.                  -->
    <inherits name='com.google.gwt.user.User'/>
    <inherits name='com.google.gwt.user.User'/>
    <inherits name='com.smartgwt.SmartGwt'/>
    <inherits name="com.smartclient.SmartClientDefault"/>
    <inherits name="com.google.gwt.i18n.I18N"/>
    <inherits name="com.google.gwt.user.ClippedImage"/>
    <inherits name="com.domain.sample.Dto"/> <!-- The inherit module from MyDTO -->

    <!-- Specify the app entry point class.                   -->
    <entry-point class='com.domain.sample.client.Web'/>

    <!-- Specify the app servlets.                   -->
    .... some servlets...

    <source path='client'/>
    <source path='shared'/>

</module>

All on MyWebUI project under the package com.domain.sample



On Monday, October 28, 2013 10:41:10 AM UTC-4:30, Daniel De Leon wrote:
did you include your new module into your project?
:
<inherits name='com.domain.sample.Dto'/>

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment