Skip to main content



      Home
Home » Eclipse Projects » DSDP - Target Management » how to delete remote working folder ...
how to delete remote working folder ... [message #31229] Mon, 19 January 2009 10:08 Go to next message
Eclipse UserFriend
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 #31430 is a reply to message #31229] Fri, 23 January 2009 04:55 Go to previous messageGo to next message
Eclipse UserFriend
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 #31499 is a reply to message #31430] Fri, 23 January 2009 07:32 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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
>>
>>
Previous Topic:Eclipse PDT + RSE (FTP)
Next Topic:Call for participation: TM 3.1m5 test pass on 1-Feb-2009
Goto Forum:
  


Current Time: Wed Jul 23 20:03:27 EDT 2025

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

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

Back to the top