|
Re: Backslash issue [message #1413954 is a reply to message #1413822] |
Fri, 29 August 2014 21:21 |
|
On 08/29/2014 09:29 AM, Clinton Dickerson wrote:
> I am using the Kepler Release of Eclipse with PDT on Windows using
> XAMPP. I would like to launch the project in Firefox. To do this, I set
> up a run external tool configuration as:
>
> Location: C:\Program Files (x86)\Mozilla Firefox\firefox.exe
> Arguments: 127.0.0.1/workspace2${container_path}/${resource_name}
> or 127.0.0.1/workspace2${resource_path}
>
> where 127.0.0.1/workspace2 is my workspace location on Apache
>
> When I run this, Firefox launches but the URL contains backslashes and
> the @Server not found' message is received. If I change the arguments to
> 127.0.0.1${resource_path} then resource_path correctly gives forward
> slashes, but this does not work for me because the path is wrong. It
> seems that the '/' in the prefix causes the resource file to return with
> backslashes.
>
> When I look at the documentation for eclipse at
> http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fconcepts-exttools.htm
> the example shows that calling ${resource_path} should give forward
> slashes (as might be expected for a web resource).
>
> I have tried everything that I can think of but I always get the
> backslashes when I include the workspace path and can't find a way to
> fix this. Is this a bug in Eclipse? Any ideas or suggestions will be
> appreciated.
You might do better in the Eclipse PDT forum.
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03006 seconds