Hi all,
Not sure what I'm going to write has a bit of meaning or not .
But .

I have created my own subsystem to interact with my database .

From the remote view it works . I still have to fix a few bugs but let's say
it works.

How difficult would it be to initialize manually the subsystem without the
use of the remote view . what I would like is to be able to manually connect
to the subsystem and get the root so I can populate my own view . (I did try
something but it comes out the login dialog and after that few error that
internal structure has not been initialized).

what I would like is to be able to create a fileservicesubsystem ... to be
able to used cached object and remote file automatically so that I could
easily handle editor and so on ...
thanks

"Kar" <carmeloscala@hotmail.com> wrote in message
news:gepojv$8cc$1@build.eclipse.org...
> Hi all,
> Not sure what I'm going to write has a bit of meaning or not .
> But .
>
> I have created my own subsystem to interact with my database .
>
> From the remote view it works . I still have to fix a few bugs but let's
> say it works.
>
> How difficult would it be to initialize manually the subsystem without the
> use of the remote view . what I would like is to be able to manually
> connect to the subsystem and get the root so I can populate my own view .
> (I did try something but it comes out the login dialog and after that few
> error that internal structure has not been initialized).
>
> Thanks
> Kar
>
>
> IRSESystemType systemType = RSECorePlugin.getDefault().getCoreRegistry()
> .getSystemTypeById("mydb.files.Files");
>
> Host myHost = (Host)
> RSECorePlugin.getDefault().getSystemRegistry().createHost(
> systemType, "linuxbox", " linuxbox", "this is a test");
>
> myHost.setUserIdCaseSensitive(true);
> myHost.setDefaultEncoding("UTF-8", true);
> myhost.setDefaultUserId("Administrator");
>
> FileServiceSubSystem subsystemX = (FileServiceSubSystem) configuration
> .createSubSystemInternal(myHost);
>
> EOMConnectorService connectorService = (EOMConnectorService) subsystemX
> .getConnectorService();
>
>
>

creating and accessing the fileServiceSubSystem should work
fine even without the RSE SystemView, just via API.

Looking at your code, you shouldn't call createSubSystemInternal()
-- it's internal as its name suggests. The subsystems should be
created for you automatically when the systemRegistry creates your
host, and when you connect later on.

Given that your own systemType / subsystem implementation still appears
to be buggy, I'd suggest that you first try communicating with a remote
system via the existing SSH subsystem programmatically (without the RSE
systemView). Once that works, replace SSH with your own.

Look at the RSE Unittests to see how programmatically creating and using
connections is done. I haven't tried it yet, but the RSE Unittests
should work fine even if the RSE SystemView is never shown.

Kar wrote:
> what I would like is to be able to create a fileservicesubsystem ... to
> be able to used cached object and remote file automatically so that I
> could easily handle editor and so on ...
> thanks
>
>
> "Kar" <carmeloscala@hotmail.com> wrote in message
> news:gepojv$8cc$1@build.eclipse.org...
>> Hi all,
>> Not sure what I'm going to write has a bit of meaning or not .
>> But .
>>
>> I have created my own subsystem to interact with my database .
>>
>> From the remote view it works . I still have to fix a few bugs but
>> let's say it works.
>>
>> How difficult would it be to initialize manually the subsystem without
>> the use of the remote view . what I would like is to be able to
>> manually connect to the subsystem and get the root so I can populate
>> my own view . (I did try something but it comes out the login dialog
>> and after that few error that internal structure has not been
>> initialized).
>>
>> Thanks
>> Kar
>>
>>
>> IRSESystemType systemType = RSECorePlugin.getDefault().getCoreRegistry()
>> .getSystemTypeById("mydb.files.Files");
>>
>> Host myHost = (Host)
>> RSECorePlugin.getDefault().getSystemRegistry().createHost(
>> systemType, "linuxbox", " linuxbox", "this is a
>> test");
>>
>> myHost.setUserIdCaseSensitive(true);
>> myHost.setDefaultEncoding("UTF-8", true);
>> myhost.setDefaultUserId("Administrator");
>>
>> FileServiceSubSystem subsystemX = (FileServiceSubSystem) configuration
>> .createSubSystemInternal(myHost);
>>
>> EOMConnectorService connectorService = (EOMConnectorService) subsystemX
>> .getConnectorService();
>>
>>
>>

"Martin Oberhuber" <martin.oberhuber@windriver.com> wrote in message
news:4911B5A7.2090402@windriver.com...
> Hi Kar,
>
> creating and accessing the fileServiceSubSystem should work
> fine even without the RSE SystemView, just via API.
>
> Looking at your code, you shouldn't call createSubSystemInternal()
> -- it's internal as its name suggests. The subsystems should be
> created for you automatically when the systemRegistry creates your
> host, and when you connect later on.
>
> Given that your own systemType / subsystem implementation still appears to
> be buggy, I'd suggest that you first try communicating with a remote
> system via the existing SSH subsystem programmatically (without the RSE
> systemView). Once that works, replace SSH with your own.
>
> Look at the RSE Unittests to see how programmatically creating and using
> connections is done. I haven't tried it yet, but the RSE Unittests should
> work fine even if the RSE SystemView is never shown.
>
> Team project set which includes the unittests:
> http://www.eclipse.org/dsdp/tm/development/rse-releng-anonym ous.psf
>
> ViewCVS access:
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tm.rse/ tests/org.eclipse.rse.tests/?root=DSDP_Project
>
> 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:
>> what I would like is to be able to create a fileservicesubsystem ... to
>> be able to used cached object and remote file automatically so that I
>> could easily handle editor and so on ...
>> thanks
>>
>>
>> "Kar" <carmeloscala@hotmail.com> wrote in message
>> news:gepojv$8cc$1@build.eclipse.org...
>>> Hi all,
>>> Not sure what I'm going to write has a bit of meaning or not .
>>> But .
>>>
>>> I have created my own subsystem to interact with my database .
>>>
>>> From the remote view it works . I still have to fix a few bugs but let's
>>> say it works.
>>>
>>> How difficult would it be to initialize manually the subsystem without
>>> the use of the remote view . what I would like is to be able to manually
>>> connect to the subsystem and get the root so I can populate my own view
>>> . (I did try something but it comes out the login dialog and after that
>>> few error that internal structure has not been initialized).
>>>
>>> Thanks
>>> Kar
>>>
>>>
>>> IRSESystemType systemType = RSECorePlugin.getDefault().getCoreRegistry()
>>> .getSystemTypeById("mydb.files.Files");
>>>
>>> Host myHost = (Host)
>>> RSECorePlugin.getDefault().getSystemRegistry().createHost(
>>> systemType, "linuxbox", " linuxbox", "this is a
>>> test");
>>>
>>> myHost.setUserIdCaseSensitive(true);
>>> myHost.setDefaultEncoding("UTF-8", true);
>>> myhost.setDefaultUserId("Administrator");
>>>
>>> FileServiceSubSystem subsystemX = (FileServiceSubSystem) configuration
>>> .createSubSystemInternal(myHost);
>>>
>>> EOMConnectorService connectorService = (EOMConnectorService) subsystemX
>>> .getConnectorService();
>>>
>>>
>>>

what I would like is to be able to create a fileservicesubsystem ... to be
able to used cached object and remote file automatically so that I could
easily handle editor and so on ...
thanks

"Kar" <carmeloscala@hotmail.com> wrote in message
news:gepojv$8cc$1@build.eclipse.org...
> Hi all,
> Not sure what I'm going to write has a bit of meaning or not .
> But .
>
> I have created my own subsystem to interact with my database .
>
> From the remote view it works . I still have to fix a few bugs but let's
> say it works.
>
> How difficult would it be to initialize manually the subsystem without the
> use of the remote view . what I would like is to be able to manually
> connect to the subsystem and get the root so I can populate my own view .
> (I did try something but it comes out the login dialog and after that few
> error that internal structure has not been initialized).
>
> Thanks
> Kar
>
>
> IRSESystemType systemType = RSECorePlugin.getDefault().getCoreRegistry()
> .getSystemTypeById("mydb.files.Files");
>
> Host myHost = (Host)
> RSECorePlugin.getDefault().getSystemRegistry().createHost(
> systemType, "linuxbox", " linuxbox", "this is a test");
>
> myHost.setUserIdCaseSensitive(true);
> myHost.setDefaultEncoding("UTF-8", true);
> myhost.setDefaultUserId("Administrator");
>
> FileServiceSubSystem subsystemX = (FileServiceSubSystem) configuration
> .createSubSystemInternal(myHost);
>
> EOMConnectorService connectorService = (EOMConnectorService) subsystemX
> .getConnectorService();
>
>
>

creating and accessing the fileServiceSubSystem should work
fine even without the RSE SystemView, just via API.

Looking at your code, you shouldn't call createSubSystemInternal()
-- it's internal as its name suggests. The subsystems should be
created for you automatically when the systemRegistry creates your
host, and when you connect later on.

Given that your own systemType / subsystem implementation still appears
to be buggy, I'd suggest that you first try communicating with a remote
system via the existing SSH subsystem programmatically (without the RSE
systemView). Once that works, replace SSH with your own.

Look at the RSE Unittests to see how programmatically creating and using
connections is done. I haven't tried it yet, but the RSE Unittests
should work fine even if the RSE SystemView is never shown.

Kar wrote:
> what I would like is to be able to create a fileservicesubsystem ... to
> be able to used cached object and remote file automatically so that I
> could easily handle editor and so on ...
> thanks
>
>
> "Kar" <carmeloscala@hotmail.com> wrote in message
> news:gepojv$8cc$1@build.eclipse.org...
>> Hi all,
>> Not sure what I'm going to write has a bit of meaning or not .
>> But .
>>
>> I have created my own subsystem to interact with my database .
>>
>> From the remote view it works . I still have to fix a few bugs but
>> let's say it works.
>>
>> How difficult would it be to initialize manually the subsystem without
>> the use of the remote view . what I would like is to be able to
>> manually connect to the subsystem and get the root so I can populate
>> my own view . (I did try something but it comes out the login dialog
>> and after that few error that internal structure has not been
>> initialized).
>>
>> Thanks
>> Kar
>>
>>
>> IRSESystemType systemType = RSECorePlugin.getDefault().getCoreRegistry()
>> .getSystemTypeById("mydb.files.Files");
>>
>> Host myHost = (Host)
>> RSECorePlugin.getDefault().getSystemRegistry().createHost(
>> systemType, "linuxbox", " linuxbox", "this is a
>> test");
>>
>> myHost.setUserIdCaseSensitive(true);
>> myHost.setDefaultEncoding("UTF-8", true);
>> myhost.setDefaultUserId("Administrator");
>>
>> FileServiceSubSystem subsystemX = (FileServiceSubSystem) configuration
>> .createSubSystemInternal(myHost);
>>
>> EOMConnectorService connectorService = (EOMConnectorService) subsystemX
>> .getConnectorService();
>>
>>
>>

"Martin Oberhuber" <martin.oberhuber@windriver.com> wrote in message
news:4911B5A7.2090402@windriver.com...
> Hi Kar,
>
> creating and accessing the fileServiceSubSystem should work
> fine even without the RSE SystemView, just via API.
>
> Looking at your code, you shouldn't call createSubSystemInternal()
> -- it's internal as its name suggests. The subsystems should be
> created for you automatically when the systemRegistry creates your
> host, and when you connect later on.
>
> Given that your own systemType / subsystem implementation still appears to
> be buggy, I'd suggest that you first try communicating with a remote
> system via the existing SSH subsystem programmatically (without the RSE
> systemView). Once that works, replace SSH with your own.
>
> Look at the RSE Unittests to see how programmatically creating and using
> connections is done. I haven't tried it yet, but the RSE Unittests should
> work fine even if the RSE SystemView is never shown.
>
> Team project set which includes the unittests:
> http://www.eclipse.org/dsdp/tm/development/rse-releng-anonym ous.psf
>
> ViewCVS access:
> http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.tm.rse/ tests/org.eclipse.rse.tests/?root=DSDP_Project
>
> 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:
>> what I would like is to be able to create a fileservicesubsystem ... to
>> be able to used cached object and remote file automatically so that I
>> could easily handle editor and so on ...
>> thanks
>>
>>
>> "Kar" <carmeloscala@hotmail.com> wrote in message
>> news:gepojv$8cc$1@build.eclipse.org...
>>> Hi all,
>>> Not sure what I'm going to write has a bit of meaning or not .
>>> But .
>>>
>>> I have created my own subsystem to interact with my database .
>>>
>>> From the remote view it works . I still have to fix a few bugs but let's
>>> say it works.
>>>
>>> How difficult would it be to initialize manually the subsystem without
>>> the use of the remote view . what I would like is to be able to manually
>>> connect to the subsystem and get the root so I can populate my own view
>>> . (I did try something but it comes out the login dialog and after that
>>> few error that internal structure has not been initialized).
>>>
>>> Thanks
>>> Kar
>>>
>>>
>>> IRSESystemType systemType = RSECorePlugin.getDefault().getCoreRegistry()
>>> .getSystemTypeById("mydb.files.Files");
>>>
>>> Host myHost = (Host)
>>> RSECorePlugin.getDefault().getSystemRegistry().createHost(
>>> systemType, "linuxbox", " linuxbox", "this is a
>>> test");
>>>
>>> myHost.setUserIdCaseSensitive(true);
>>> myHost.setDefaultEncoding("UTF-8", true);
>>> myhost.setDefaultUserId("Administrator");
>>>
>>> FileServiceSubSystem subsystemX = (FileServiceSubSystem) configuration
>>> .createSubSystemInternal(myHost);
>>>
>>> EOMConnectorService connectorService = (EOMConnectorService) subsystemX
>>> .getConnectorService();
>>>
>>>
>>>