Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [dsdp-tm-dev] problems with localFile and hostname

Hello Christian,

putting your entier Web Service URL into the "hostname"
field seems wrong to me.

RSE is designed to be a framework where multiple services
(which can be contributed independently) can be registered
on a host. Therefore the meaning of "host" should really
be the host name or IP address only. Note that for this
case, converting the hostname to uppercase is not an 
issue, since IP is not case sensitive.

If your particular service requires more data (i.e. the
entire URL) that should be handled differently. For instance,
you could write a custom newConnectionWizard that stores
the data properly.
Or, if it is just for testing, your connectorservice or
subsystem could expose the URL as a Property in a 
PropertySet -- see the FTP service for how such Properties
can be handled.

Or, if you really only want to try it out for now, you
could perhaps store your URL in the "description" field
of your host and have your service read it from there.
That's certainly not the ultimate solution but should 
help with the current issue.

Cheers,
--
Martin Oberhuber, Senior Member of Technical Staff, Wind River
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm
 
 

> -----Original Message-----
> From: dsdp-tm-dev-bounces@xxxxxxxxxxx 
> [mailto:dsdp-tm-dev-bounces@xxxxxxxxxxx] On Behalf Of 
> Christian Hohmann
> Sent: Tuesday, January 08, 2008 10:07 AM
> To: David McKnight; Target Management developer discussions
> Subject: Re: Fw: [dsdp-tm-dev] problems with localFile and hostname
> 
> Hi David,
> 
> thanks for your reply! Yes, I open the file via double click.
> I tryed a file on remote-unix with "?" and ":". It works fine 
> for me, too (replaced by "#063"). I guess the problem is, 
> that I have the "?" 
> and ":" characters in the hostName, it seems that this part 
> of the local fileName is not checked and replaced. It would 
> be great if you can help me with this.


Back to the top