Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7668497
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:22:44+00:00 2026-05-31T15:22:44+00:00

As I know, GWT needs that code that will be used on client side

  • 0

As I know, GWT needs that code that will be used on client side to be on the XXX.client package. I also know that is possible to configure this path, allowing other client-side code to be outside this package.

However, I can connect this to solve my problem: I’m writing a library that automate some code I’ll be using many times over more than one application. This library has an Exception class that is used in the client-side (RCP methods throws it). How can I inform GWT that this class need to be converted to translatable code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T15:22:45+00:00Added an answer on May 31, 2026 at 3:22 pm

    You need to create a module definition file for the library you want to share between projects. In the module file you can specify multiple <source path="/path/to/source/" /> elements. The Exception class you want to include must have its source code somewhere in one of those paths.

    Once you’ve created the module for the library, each project needs to “inherit” it with an <inherits name="com.you.libraryname" /> element in its module definition file.

    You’ll have to google for more specifics, but that’s the gist of it!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to use : http://code.google.com/p/jspf/ within a GWT framework. I know that
Does anyone know how to monitor long-running server-side processes in GWT, other than polling
i think u all know about GWT Code Splitting because I have been programming
I'd like to know if its possible, by using GWT, Struts2 of JSF, provide
I have developed a simple GWT application with the client/server packages. From server package
Let's say I have a JSONObject in GWT that looks like this: {name1:value1, name2:value2}
If I used Autobean on GWT client to serialise my POJO (sent out thro
Writing GWT application. I have CellTable and a code that i'v got from google-example
I recently created a flextable using GWT 2.4 using this code: @uiBinder Flextable flextable;
I need to compile my GWT 1.7 project from my ant build file....anyone know

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.