Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 317969 - Project Location URI Host cannot be modified once the Host name/IP of the project is changed
Summary: Project Location URI Host cannot be modified once the Host name/IP of the pro...
Status: NEW
Alias: None
Product: Target Management
Classification: Tools
Component: RSE (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: dsdp.tm.rse-inbox CLA
QA Contact: Martin Oberhuber CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 09:19 EDT by Loganathan CLA
Modified: 2010-06-25 09:42 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 Loganathan CLA 2010-06-25 09:19:45 EDT
Build Identifier:  M20080911-1700

I'm working on a code, that creates project for the resources in remote ssh system. Using EFS and RSE combination. I use the projectDescription.setLocationURI("the remote URI of the project") for creating the project at the remote machine. 

The main problem is as follows:
 * I have created the project with remote URI.
 * Due to DHCP my remote machine IP address is changed.
 * Now if I open the project, it doesn't open because the Remote Host as in the  URI is not physically available.
 * I'm in no way can open/use the project again unless untill the remote machine IP is changed back to the previous one (which we cannot expect to happen).

=>This makes the project totally unaccessible and unusable.

This is a major issue.. and needs to be fixed in one or other way.

My suggestion is:
1. We can provide a API and/or user interface to change the host name of the remote project.
2. Automatically finding the projects which may have lost the link to the host by change in host name or IP, during the project opening or workspace loading, and provide a prompt for changing/finding the host name or id of that project.

Thanks.


Reproducible: Always

Steps to Reproduce:
1. Create a project for a remote location (Remote URI).
2. Change the host name/IP address of the remote system.
3. Reopen the project now. -->It wont open unless the host name/ip of remote machine is restored
4. Try to locate API/User Interface to change the Host name or IP of the project that is the referring remote URI.
Comment 1 Paul Webster CLA 2010-06-25 09:26:45 EDT
I'm guessing this is RSE, not IDE
Comment 2 Loganathan CLA 2010-06-25 09:37:29 EDT
(In reply to comment #1)
> I'm guessing this is RSE, not IDE

Hi, This is not specific to RSE, because, EFS provides a common way to adopt any URI say remote, web, SQL.
EFS only creates project setLocationURI(), and there is no other way to alter the URI after creation. I'm saying here to provide a way to modify the Host means to provide a way to modify the URI. Make the File systems to provide a way or API/User Unterface to change the URI (or the Host or the IP). 

 And hence RSE also need to provide the API/ User Interface by the compulsion made by the EFS.

Thanks.
Comment 3 Paul Webster CLA 2010-06-25 09:42:59 EDT
Martin, if this is a limitation of EFS then send it to Platform Resources.

PW