Re: How to change the name of the host html page in project

2009-01-04 Thread Addy
I use a simple ant task to rename the file during the build process. You dont have to do anything else. move file=${webapp.dir}/MainApp.html tofile=${webapp.dir}/ index.html/ You can see it here:- http://checkappointments.com/checkAppointments/index.html regards, Addy

Re: How to change the name of the host html page in project

2009-01-04 Thread David Hoffer
In this case why not just name it statically index.html? Why wait? -Dave 2009/1/4 Addy adityaka...@gmail.com I use a simple ant task to rename the file during the build process. You dont have to do anything else. move file=${webapp.dir}/MainApp.html tofile=${webapp.dir}/ index.html/

Re: How to change the name of the host html page in project

2009-01-04 Thread gregor
Because not everyone wants to organize their web sites the same way or wants to call their GWT module bootstrap file index.html? As Addy says, what's the problem with Ant? On Jan 4, 7:55 pm, David Hoffer dhoff...@gmail.com wrote: In this case why not just name it statically index.html?  Why

Re: How to change the name of the host html page in project

2009-01-04 Thread David Hoffer
Because not everyone uses Ant. Some use maven to build the war, it's not a standard practice to rename during the compile/deploy process and therefore maven it not going to do this. -Dave On Sun, Jan 4, 2009 at 3:11 PM, gregor greg.power...@googlemail.com wrote: Because not everyone wants to

Re: How to change the name of the host html page in project

2009-01-04 Thread gregor
I would have thought resources resource targetPathMETA-INF/plexus/targetPath in a POM more or less does the same job in maven. no? On Jan 4, 10:36 pm, David Hoffer dhoff...@gmail.com wrote: Because not everyone uses Ant.  Some use maven to build the war, it's not a standard

Re: How to change the name of the host html page in project

2009-01-04 Thread David Hoffer
I don't know what plugin you are referring to. I used maven-googlewebtoolkit2-plugin which worked very well. I'm no expert on its usage but I don't have and don't know about any feature like you describe. -Dave 2009/1/4 gregor greg.power...@googlemail.com I would have thought resources

Re: How to change the name of the host html page in project

2009-01-04 Thread gregor
yeah, that's why I use Ant: I know how it works! In that maven thing I would think the key is around here: compileTargets valuecom.totsp.sample.Application/value /compileTargets

Re: How to change the name of the host html page in project

2009-01-04 Thread David Hoffer
I can look into what features the maven plugin may have but I think I'm missing something. I don't understand why changing the name to index.html fixes things. And by fixing things I mean get rid of package names in the URL. I'm not a web guru, I spend most of my time with jars/apps not wars so

Re: How to change the name of the host html page in project

2009-01-03 Thread David Hoffer
Could you post what you did to make this work? I am not having any success with the link http://java.dzone.com/tips/getting-rid-package-based-gwt-. Also I don't use eclipse, could you explain in non-eclipse terms how I can remove the package names from the browser URLs? -Dave 2008/12/29

Re: How to change the name of the host html page in project

2009-01-03 Thread Ian Bambury
Once compiled, take all the files inside the package-name folder and put them wherever you like. You can also change the host html page name to anything you want. If you change it in the source code, you will have to change it in any file that runs hosted mode. Just change 'MyProject.html' to the

Re: How to change the name of the host html page in project

2009-01-03 Thread David Hoffer
Thanks for the reply. It sounds like you are suggesting a manual process. I'm looking for an auto process, something I can do in code/xml/html and it just works. I use maven to build a war, I don't have the option of manually moving files around. Is there a way I can code this in my gwt.xml

How to change the name of the host html page in project

2008-12-29 Thread giannisdag
Hi, I can' t figure out the solution to a simple problem. I want to rename my first html page to index.html. I am using eclipse. I have renamed the html page and the corresponding java class file to index.htm. Also i have changed the entry point of the settings xml file to entry-point

Re: How to change the name of the host html page in project

2008-12-29 Thread Hasan Turksoy
this entry may help you... http://java.dzone.com/tips/getting-rid-package-based-gwt- Hasan On Mon, Dec 29, 2008 at 3:23 PM, giannisdag pascoua...@gmail.com wrote: Hi, I can' t figure out the solution to a simple problem. I want to rename my first html page to index.html. I am using eclipse.

Re: How to change the name of the host html page in project

2008-12-29 Thread giannisdag
Thank you, it is very simple as it should be. On 29 Δεκ, 16:13, Ian Bambury ianbamb...@gmail.com wrote: Don't do all that. Rename the page to index.html. In any .launch file, rename just the ProjectName.html part - just one place - leave everything else alone. Ian

Re: How to change the name of the host html page in project

2008-12-29 Thread Ian Bambury
The trouble with the app/project creators is that they name everything the same ('MyProject') which makes the setup easy, but working out how the bits relate is a nightmare. :-) Ian http://examples.roughian.com 2008/12/29 giannisdag pascoua...@gmail.com Thank you, it is very simple as it