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
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 Oberhuber
Messages: 983
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
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 Oberhuber
Messages: 983
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
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:Eclipse PDT + RSE (FTP)
Next Topic:Call for participation: TM 3.1m5 test pass on 1-Feb-2009
Goto Forum:
  


Current Time: Thu Sep 18 06:04:02 GMT 2014

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

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