Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [platform-dev] Change Resource Path Delimiter

John,
 
Thank you for replying to my question.  I didn't mean to confuse you - yes I am using resource_path and this is expanding the resource with '\' delimiters.
 
The output from when my external tool is called is.
 
PVCS Version Manager (VMGUI) v6.7.11 (Build 915.11) for Windows NT/80x86
Copyright 1985-2001 MERANT.  All rights reserved.
09:59:51 Sep.22.03 [Error]
The entity (or entities) for "\cad\src\treasury\oa\pipes\SimpleReportParserPipe.java" could not be loaded.
 
I've tested the behaviour on the command line and get the same error when I specify \cad\src\treasury\oa\pipes\SimpleReportParserPipe.java as the entity, but /cad/src/treasury/oa/pipes/SimpleReportParserPipe.java works.
 
I've logged this on Bugzilla 43413.
 
Regards
 
Simon
 
 -----Original Message-----
From: John Arthorne [mailto:John_Arthorne@xxxxxxxxxx]
Sent: 19 September 2003 19:04
To: platform-dev@xxxxxxxxxxx
Subject: RE: [platform-dev] Change Resource Path Delimiter


In your original note, you said you were using ${resource_path}, but now you say you are using ${resource_location} so I am confused.  The "path" variables should always use /, and the "location" variables should always use the OS path delimiter.  If you are seeing something different, please enter a bug.  If this is what you are seeing but you want it to be changed, then you're out of luck.  You'll just have to convert the separators yourself if you want something different.
--



SimonRichardson2@xxxxxxxxxx
Sent by: platform-dev-admin@xxxxxxxxxxx

09/19/2003 06:43 AM
Please respond to platform-dev

       
        To:        platform-dev@xxxxxxxxxxx
        cc:        
        Subject:        RE: [platform-dev] Change Resource Path Delimiter



I also found this article:

http://dev.eclipse.org/newslists/news.eclipse.tools/msg56376.html

It's interesting, because it looks like a previous releases of eclipse had the behaviour I was after:

"Note that the eclipse platform distingues carefully between "paths" and
"locations".  Paths are always workspace or project relative, never have
a device, and always use forward slash.  Paths in this context describe
where resources are found in the workspace, regardless of their location
on disk.

Locations always refer to places in the file system.  These are always
absolute, contain a device if applicable, and use the underlying OS path
separator ('\' in windows)."

I am using resource_loc but it's using the backwards '\' Windows slash which is not what I want.

>
>
> When running an external tool the ${resource_path} is
> resolved with platform specific delimiters.
>
> I would like to specify a '/' as the delimiter - so that the
> ${resource_path} is resolved using this and not the windows
> '\' - is this possible?
>


--

------------------------------------------------------------------------------
For more information on HBOS Treasury Services, please visit http://www.HBOSTS.com

Or for details of our online FX & Deposit services, please go to http://www.HBOSdeal.com

HBOS Treasury Services plc is part of the HBOS Group, which also includes Halifax plc and Bank of Scotland.
Registered Office: 33 Old Broad Street, London EC2N 1HZ. Registered No. 2692890. Registered in England.
Regulated by the Financial Services Authority.

The information contained in this message is confidential and is intended for the addressee only. If you have received this message in error or there are any problems please notify the originator immediately. The unauthorised use, disclosure, copying or alteration of this message is strictly forbidden. This mail and any attachments have been scanned for viruses prior to leaving the HBOS Treasury Services plc network. HBOS Treasury Services plc will not be liable for direct, special, indirect or consequential damages arising from alteration of the contents of this message by a third party or as a result of any virus being passed on.

HBOS Treasury Services plc reserves the right to monitor and record e-mail messages sent to and from this address for the purposes of investigating or detecting any unauthorised use of its system and ensuring its effective operation.
==============================================================================


Back to the top