Thanks guys for the responses.
I was able to make this work.
The problem was the jar that I created had everything in the project
included & not just the src folder. This caused runtime errors.

Thanks again for the help.
Ashish

On Wed, Feb 17, 2010 at 10:16 PM, Subhrajyoti Moitra <[email protected]
> wrote:

> i think gwt-maven plugin can help you do this.
> Have 2 separate projects, and the do a clean install on the first project.
> and then use it as a dependency in the 2nd one, like any other typical
> maven dependency.
>
> For specifics see
> http://mojo.codehaus.org/gwt-maven-plugin/user-guide/multiproject.html ,,
> this has another approach for multi module builds.
>
> Thanks,
> Subhro.
>
> On Thu, Feb 18, 2010 at 5:39 AM, Ashish Khivesara <
> [email protected]> wrote:
>
>> Hi,
>>     I have some GWT utilities that I would like to use in other GWT Apps.
>> I am using Eclipse. How can I create this into a GWT library to for re-use?
>>
>> I referenced it as anther project (in eclipse) and that seemed to work.
>>
>> However when i export that utility project as a jar and then reference
>> that as a library in the other project, it seems like it is referenced fine
>> (since there are no compile errors). But there are runtime errors. It is not
>> able to import the library class.
>>
>> Is there a systematic procedure I could follow to create GWT libraries?
>>
>> Thanks
>> Ashish
>>
>> --
>> 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]<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].
> To unsubscribe from this group, send email to
> [email protected]<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].
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