how to delete remote working folder ... [message #31229] |
Mon, 19 January 2009 10:08  |
Eclipse User |
|
|
|
Hi all,
I have created my service and subsystem ...
on the top of that I have created my own view to display IHostFile ...
when I edit the file the remote object file are downloaded from the server
in the local machine
what can I do to remove the REMOTE SYSTEM TEMP FILES local folder once the
IDE is shutdown?
I have tried with ... but still no luck ...
ISystemRegistry systemRegistry = RSECorePlugin.getTheSystemRegistry();
subSystem.getParentRemoteFileSubSystemConfiguration().delete SubSystem(subSystem);
subSystem.disconnect();
systemRegistry.deleteHost(connection);
systemRegistry.deleteSubSystem(subSystem);
Thanks
Kar
|
|
|
|
Re: how to delete remote working folder ... [message #31499 is a reply to message #31430] |
Fri, 23 January 2009 07:32  |
Eclipse User |
|
|
|
Thanks a lot for your help
;-)
"Martin Oberhuber" <martin.oberhuber@windriver.com> wrote in message
news:4979942C.6060906@windriver.com...
> Window > Preferences > Remote Systems > File Cache
> press button "Clear Cached Files"
>
> I'm sure you can find the code which does that, to also
> call it programmatically if you want.
>
> When you select any folder, the right-click > Synchronize Cache
> function is also related.
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> Kar wrote:
>> Hi all,
>> I have created my service and subsystem ...
>> on the top of that I have created my own view to display IHostFile ...
>>
>> when I edit the file the remote object file are downloaded from the
>> server in the local machine
>>
>> what can I do to remove the REMOTE SYSTEM TEMP FILES local folder once
>> the IDE is shutdown?
>>
>> I have tried with ... but still no luck ...
>>
>> ISystemRegistry systemRegistry = RSECorePlugin.getTheSystemRegistry();
>>
>> subSystem.getParentRemoteFileSubSystemConfiguration().delete SubSystem(subSystem);
>> subSystem.disconnect();
>> systemRegistry.deleteHost(connection);
>> systemRegistry.deleteSubSystem(subSystem);
>>
>> Thanks
>> Kar
>>
>>
|
|
|
Re: how to delete remote working folder ... [message #578800 is a reply to message #31229] |
Fri, 23 January 2009 04:55  |
Eclipse User |
|
|
|
Window > Preferences > Remote Systems > File Cache
press button "Clear Cached Files"
I'm sure you can find the code which does that, to also
call it programmatically if you want.
When you select any folder, the right-click > Synchronize Cache
function is also related.
Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
Kar wrote:
> Hi all,
> I have created my service and subsystem ...
> on the top of that I have created my own view to display IHostFile ...
>
> when I edit the file the remote object file are downloaded from the
> server in the local machine
>
> what can I do to remove the REMOTE SYSTEM TEMP FILES local folder once
> the IDE is shutdown?
>
> I have tried with ... but still no luck ...
>
> ISystemRegistry systemRegistry = RSECorePlugin.getTheSystemRegistry();
>
> subSystem.getParentRemoteFileSubSystemConfiguration().delete SubSystem(subSystem);
>
> subSystem.disconnect();
> systemRegistry.deleteHost(connection);
> systemRegistry.deleteSubSystem(subSystem);
>
> Thanks
> Kar
>
>
|
|
|
Re: how to delete remote working folder ... [message #578835 is a reply to message #31430] |
Fri, 23 January 2009 07:32  |
Eclipse User |
|
|
|
Thanks a lot for your help
;-)
"Martin Oberhuber" <martin.oberhuber@windriver.com> wrote in message
news:4979942C.6060906@windriver.com...
> Window > Preferences > Remote Systems > File Cache
> press button "Clear Cached Files"
>
> I'm sure you can find the code which does that, to also
> call it programmatically if you want.
>
> When you select any folder, the right-click > Synchronize Cache
> function is also related.
>
> Cheers,
> --
> Martin Oberhuber, Senior Member of Technical Staff, Wind River
> Target Management Project Lead, DSDP PMC Member
> http://www.eclipse.org/dsdp/tm
>
>
>
>
> Kar wrote:
>> Hi all,
>> I have created my service and subsystem ...
>> on the top of that I have created my own view to display IHostFile ...
>>
>> when I edit the file the remote object file are downloaded from the
>> server in the local machine
>>
>> what can I do to remove the REMOTE SYSTEM TEMP FILES local folder once
>> the IDE is shutdown?
>>
>> I have tried with ... but still no luck ...
>>
>> ISystemRegistry systemRegistry = RSECorePlugin.getTheSystemRegistry();
>>
>> subSystem.getParentRemoteFileSubSystemConfiguration().delete SubSystem(subSystem);
>> subSystem.disconnect();
>> systemRegistry.deleteHost(connection);
>> systemRegistry.deleteSubSystem(subSystem);
>>
>> Thanks
>> Kar
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03605 seconds