Community
Participate
Working Groups
When setting up connection between Plug-in Registry and some remote application, user should be able to use simple URL, like "r-osgi://localhost:port". On the server side, monitoring plug-in should use some default port (r-osgi default is fine), but it should be also easy to configure it to use some other port.
Created attachment 141883 [details] adds ports configuration This patch modifies: - org.eclipse.pde.runtime - adds backend.setURI(uri) call in RegistryModelFactory - org.eclipse.pde.runtime.core - adds new method setURI in RegistryBackend interface - org.eclipse.pde.runtime.rosgi.rs To change client address you must set fallowing properties: - ch.ethz.iks.r_osgi.port - default is 9278 - rosgi.client.host - default is localhost
Of course you must set these properties in the client application.
Created attachment 142012 [details] updated addresses configuration It's updated version of previous patch. Now if you want to connect with remote application you must only know its ip address and port. Client application will get its host address and rosgi port automaticly. Of course you can still change ports of rosgi instances on both sides by using property ch.ethz.iks.r_osgi.port.
Patch looks good :-) FIXED
Created attachment 142253 [details] additional patch I forgot to add changes in org.eclipe.pde.runtime.RegistryModelFactory, org.eclipe.pde.runtime.core.LocalRegistryBackend and org.eclipse.pde.runtime.core.RegistryBackend to previous patch. They are required.
not sure why I didn't marked as FIXED on 2009-07-21... it's FIXED since then with both Wojciech patches applied.