[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: Fw: [dsdp-tm-dev] problems with localFile and hostname
|
Hi David,
thanks for your reply! Yes, I open the file via double click.
I tryed a file on remote-unix with "?" and ":". It works fine for me,
too (replaced by "#063"). I guess the problem is, that I have the "?"
and ":" characters in the hostName, it seems that this part of the local
fileName is not checked and replaced. It would be great if you can help
me with this.
-------------------------------------------------------------------
Christian Hohmann
SW - Engineer
Forschungszentrum Jülich GmbH
Jülich Supercomputing Centre (JSC)
Distributed Systems and Grid Computing Division
-------------------------------------------------------------------
David McKnight schrieb:
Hi Christian,
I briefly looked at this scenario specifically for ? and : characters
but I'm not seeing the same problem that you report. Using a linux
connection, I tried to open a remote file called "abc?123". When I
look at the local path used for the download, I get the following:
D:\\Development\\Workspaces\\runtime-RSE-clear\\RemoteSystemsTempFiles\\DMCKNIGH3\\\\home\\dmcknigh\\largefiles\\abc#063123
In this case, the ? character, has been escaped with #063. I'm
wondering what is different in your scenario from mine. Are you
opening the file via a double click from the Remote Systems view?
____________________________________
David McKnight
Phone: 905-413-3902 , T/L: 969-3902
Internet: dmcknigh@xxxxxxxxxx
Mail: D1/YFY/8200/TOR
____________________________________
Hi Christian,
We already have a bug open for the invalid chars in a file name:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=160103. I plan to
take a look at it soon.
In the meantime, you should be able to work around this by using the
Mount Path Mappers extension point. This provides the means to
override how remote files are stored in the RemoteSystemsTempFiles
project.
By default, RSE uses the folowing:
<extension
point="org.eclipse.rse.ui.mountPathMappers">
<mountPathMapper
name="DefaultMountPathMapper"
class="org.eclipse.rse.internal.files.ui.resources.DefaultMountPathMapper"
id="org.eclipse.rse.core.resources.defaultmountpathmapper">
</mountPathMapper>
</extension>
To provide your own extension you need to implement
ISystemMountPathMapper.
If you have more questions about that, let me know.
Thanks,
____________________________________
David McKnight
Phone: 905-413-3902 , T/L: 969-3902
Internet: dmcknigh@xxxxxxxxxx
Mail: D1/YFY/8200/TOR
____________________________________
-------------------------------------------------------------------
-------------------------------------------------------------------
Forschungszentrum Jülich GmbH
52425 Jülich
Sitz der Gesellschaft: Jülich
Eingetragen im Handelsregister des Amtsgerichts Düren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Bärbel Brumme-Bothe
Geschäftsführung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Dr. Sebastian M. Schmidt
-------------------------------------------------------------------
-------------------------------------------------------------------