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 4054808
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:37:21+00:00 2026-05-20T14:37:21+00:00

Is there a way to compile a GWT application so that all the files

  • 0

Is there a way to compile a GWT application so that all the files are relative to a path different than the usual / ?

E.g. http://www.acme.com/ to http://www.acme.com/app/

I know I could play some server side tricks (based on the pattern com.acme.app.* of the Java class) but the problem is I am planning on hosting multiple GWT apps on the same www subdomain… and therefore GWT’s usual pattern is / relative…

Any hints?

UPDATED: I have a way by modifying the file Main.html manually but I am hoping for a more automated way. Granted that Main.html only needs to be modified once it seems.

  • 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-20T14:37:21+00:00Added an answer on May 20, 2026 at 2:37 pm

    I simply moved the compiled gwt folder.

    e.g.:

    <module zzz.flying.spaghetti rename-to="FlyingSpaghetti">
    ....
    </module>
    

    would have the gwt compiler place the compiled code into war/FlyingSpaghetti . Then, I would manually move it to subfolder war/peace/FlyingSpaghetti.

    If you have links within your gwt app that refer back to itself, you would need to make sure that those url references are relative. Even GWT RPC @RemoteServiceRelativePath annotation uses relative path – which means that you should have no problem ensuring relative url paths. Perhaps, google expects people to be able to do that (relocate a compiled module).

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

Sidebar

Related Questions

I have the following code that won't compile and although there is a way
Is there a way to compile multiple java source directories in a single maven
Is there a way to compile a .vbproj or .csproj project file directly, just
Is there an easy way to compile c code in visual studio 2005? Its
Is there a way to have the compile deduce the template parameter automatically? template<class
Assume I have created a compiled re: x = re.compile('^\d+$') Is there a way
I have a web application that I developed with the Google Web Toolkit (GWT),
Is there a way to define a program's working directory to be different from
is there a way to get different shortcut for different file types? Tipically I
Is there a way to utilise the GCC compiler whilst still being able to

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.