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

  • SEARCH
  • Home
  • 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 8821659
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T05:54:41+00:00 2026-06-14T05:54:41+00:00

I want include to gwt client side classes from another package, and don’t want

  • 0

I want include to gwt client side classes from another package, and don’t want to write addition .gwt.xml.
I wrote complex relative path like this:

<source path="../../../../../../../../logic/src/p1/p2/p3/p4/p5/p6"/>

It’s seems right path, but gwt can’t import classes and throw warning:

GWT Compiler: Non-canonical source package:
…/../../../../../../../logic/src/p1/p2/p3/p4/p5/p6/

Should i use additional gwt-module, or my solution right, but with bug?

I don’t want use gwt-module, because it’s bad to write client configs on logic side

  • 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-06-14T05:54:43+00:00Added an answer on June 14, 2026 at 5:54 am

    The purpose of <source path=""> is to specify the package and the subpackages under the specified package that contains code translatable into javascript. So, you cannot specify a folder which is not in your current gwt module. In other words, the source path should be under the directory which contains your gwt.xml file. This being the case, the solution to your problem is either you include all the source as one gwt module or create multiple gwt modules.

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

Sidebar

Related Questions

I want to include objects from 3 different classes in one xml. I am
I have a class that I want to include in a GWT module. Unfortunately,
I want include the Type name of each object in my collection from my
I don't want include cc or bcc fields in mail composer sheet .. Can
I have two different gwt projects, and want to use classes of one gwt
During assemby, I want include all files from a release directory into the root
I want to include some Javascript functionality in a Haml view, but I don't
We're using GWT Atmosphere to send strings from the server to the client and
I have an external JAR signpost-core-1.2.1.1.jar (from http://code.google.com/p/oauth-signpost/ ), that I want to include
I want to include an admob banner in my application and I got this

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.