Like I said, you can create another module that includes just the things that 
should be shared and inherit that in B (and possibly in A as well).

You may find you prefer to put all the shared things in their own package so 
it's cleaner and easy to see what's what.

Paul

On 01/03/12 09:41, Deepak Singh wrote:
ok. But will it be a good practice if module B inherits module A for just to 
use a single class AbcDTO ?
Thanks
Deepak

On Thu, Mar 1, 2012 at 1:58 PM, Paul Robinson <[email protected] 
<mailto:[email protected]>> wrote:

    If you don't want module B to inherit module A, then create a new module 
that sits alongside A that includes AbcDTO and have B inherit that.

    Paul


    On 29/02/12 21:34, Deepak Singh wrote:

        Hi All,

        I have the following scenario.

        In GWT application, i have two seperate modules, not inherited one from 
another.

        Module A has
        class AbcDTO implements Serialisable {
        }

        in its shared package.


        Module B has a different shared package.

        What i want is to compile AbcDTO with module B so that i can use AbcDTO 
in module B client code. Otherwise if i dont include AbcDTO in compilation of 
Module B, It will throw exception when using AbcDTO in module B client code.

        How can i include this particular AbcDTO in mudule B.gwt.xml file for 
compilation ?


        Thanks
        Deepak



-- Deepak Singh -- 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] 
<mailto:[email protected]>.
        To unsubscribe from this group, send email to 
[email protected] 
<mailto:google-web-toolkit%[email protected]>.
        For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.


-- 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] 
<mailto:[email protected]>.
    To unsubscribe from this group, send email to 
[email protected] 
<mailto:google-web-toolkit%[email protected]>.
    For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.




--
Deepak Singh
--
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.

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