Reputation: 170805
I've added org.eclipse.core.net
and org.eclipse.ui.net
to my RCP application. According to this comment, this should be enough to set the Java system properties. But in my case, the properties are only set after I open the Network connections
preference page. The problem is that the org.eclipse.*.net
plugins aren't getting activated. Is there a more correct way to fix this than just loading a random class from these plugins?
Upvotes: 0
Views: 193
Reputation: 9535
Do it like the Eclipse IDE does it.
See org.eclipse.ui.internal.ide.application.IDEWorkbenchAdvisor.activateProxyService()
in bundle org.eclipse.ui.ide.application
Upvotes: 2