Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 15:08 Go to next message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
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 09:55 Go to previous messageGo to next message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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 12:32 Go to previous message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
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 09:55 Go to previous message
Martin Oberhuber is currently offline Martin OberhuberFriend
Messages: 1007
Registered: July 2009
Senior Member
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 12:32 Go to previous message
Carmelo  is currently offline Carmelo Friend
Messages: 224
Registered: July 2009
Senior Member
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:mapping of object database - edit with external editor
Next Topic:Eclipse PDT + RSE (FTP)
Goto Forum:
  


Current Time: Thu Apr 25 19:57:50 GMT 2024

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

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

Back to the top