Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Run config name bug(Eclipe Indigo - when project name has space inside, the generated URL is truncated)
Run config name bug [message #868792] Wed, 02 May 2012 14:46 Go to next message
Ginger Opariti is currently offline Ginger OparitiFriend
Messages: 5
Registered: March 2012
Junior Member
Hi,
I have a new installation of Eclipse - Indigo, after having used Helios.
With the same settings in Run configurations in both releases, I have in Indigo a wrong URL generated (which is sent to the browser for execution).
Let's say my project is 'My project', and the launch file is index.html. I create the Run config named 'My project' and the URL that is generated in the config window is 'localhost/My project/index.html. But when I press Run I have the URL in browser (I use Chrome) /localhost/My, which, of course, gives me a Not found error message. I Helios it worked fine, but not in Indigo. It is possible that there is some hidden setting in the version that I am missing, or there is a bug, or there is a (new) limitation.
Thanks for any clarification

PS: If I enter directly the URL /localhost/My project/index.html the project is executed in Indigo.
Re: Run config name bug [message #869180 is a reply to message #868792] Thu, 03 May 2012 03:23 Go to previous messageGo to next message
Toshihiro Izumi is currently offline Toshihiro IzumiFriend
Messages: 356
Registered: July 2009
Location: Japan
Senior Member
I'm not sure about Chrome browser but it seems same as Firefox browser.
The change came from eclipse.platform.ui, but not pdt.
Helios: Spaces in the url are replaced with "%20".
Indigo: The code was removed.
Source(diff):
eclipse.platform.ui.git - Eclipse Platform UI repository
eclipse.platform.ui.git - Eclipse Platform UI repository

Unfortunately, you need to modify your launch configurations. Open your run config, replace spaces in the URL with "%20".

extra:
Eclipse Community Forums: PDT ≫ Setup Eclipse php environment
空白を含むパス - Dead Zone
Re: Run config name bug [message #869320 is a reply to message #869180] Thu, 03 May 2012 08:20 Go to previous message
Ginger Opariti is currently offline Ginger OparitiFriend
Messages: 5
Registered: March 2012
Junior Member
Thanks Toshihiro. This decision is a non-sense.
Is there any Indigo configuration to set the spaces to be replaced with %20 in generated URLs?
Previous Topic:How import project with inherited permissions
Next Topic:DTD not working as it should ?
Goto Forum:
  


Current Time: Fri Nov 28 17:25:12 GMT 2014

Powered by FUDForum. Page generated in 0.04469 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software