Bug 231209 - [api][breaking] IRemoteFile.getSystemConnection() should be changed to IRemoteFile.getHost()
Summary: [api][breaking] IRemoteFile.getSystemConnection() should be changed to IRemot...
Status: RESOLVED FIXED
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.0 RC2   Edit
Assignee: David McKnight CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords: api
Depends on:
Blocks:
 
Reported: 2008-05-08 16:58 EDT by David McKnight CLA
Modified: 2008-05-22 10:29 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David McKnight CLA 2008-05-08 16:58:47 EDT
SystemConnection was renamed to IHost before moving RSE to open source so we shouldn't be using that name.
Comment 1 Martin Oberhuber CLA 2008-05-09 01:42:38 EDT
We are past API freeze so I don't think this is worth it. But you can start a vote on the tm-dev mailing list and if a majority of committers is in favor of the change I will accept it.
Comment 2 David McKnight CLA 2008-05-21 16:37:13 EDT
I've committed the changes to cvs.
Comment 3 Radoslav Gerganov CLA 2008-05-22 05:09:15 EDT
Hm, I am getting lots of compile errors due to this change. You need to update all references to IRemoteFile#getSystemConnection() in the code.
Comment 4 Martin Oberhuber CLA 2008-05-22 07:27:56 EDT
Rado, can you make the necessary fixes and commit? - i'd like to releaser current HEAD into an I-build as soon as possible, such that adopters can pick up recent API changes most quickly.
Comment 5 Radoslav Gerganov CLA 2008-05-22 07:33:57 EDT
Martin, I am sorry but I am occupied with other stuff for the next 2 or 3 hours. Maybe I will be able to do the changes after that. Tell me if this works for you.
Comment 6 David McKnight CLA 2008-05-22 09:08:58 EDT
My error list is messed up again and I'm not able to see any of these errors without going into the editor.  I'll try to get it working again so I can fix these.
Comment 7 David McKnight CLA 2008-05-22 09:28:05 EDT
I had to change my preferences back to the defaults to see the errors.  I've committed the changes now.
Comment 8 Martin Oberhuber CLA 2008-05-22 10:29:00 EDT
Summary of API Changes:
-----------------------

* IRemoteFile#getSystemConnection() has been renamed to #getHost()

Migration notes: client's build errors due to not finding getSystemConnection() must be fixed by renaming the getSystemConnection() method call to getHost().