I use a deferred-binding method to get my urls right for every app / build.

Basically,

public class xSettings{
public String xDatiiUrl(){
   return Document.get().getDomain()+"x51/";
}

and

public class xYourSettings extends xSettings{
@Override
public String xDatiiUrl(){
   return Document.get().getDomain()+"yourUrl/";
}
}

and a module replace-class for each project, so each one can target it's own
build folder.

the new module attribute rename-to is handy, as you can define short,
SEO-friendly urls, and just compile in a settings class to target that
folder.

Keeps your war clean and concise, but might not be useful if your
independant modules need to reference common material...  Unless you
remember to use Document.get().getDomain()+urlFromWar();
-- 
"He whose desires are drawn toward knowledge in every form will be absorbed
in the pleasures of the soul, and will hardly feel bodily pleasure --I mean,
if he be a true philosopher and not a sham one." - Plato
"Wise Words Woven With Will Wakes Worlds" - Alyxandor Artistocles

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