-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
-Dosgi.dataAreaRequiresExplicitInit=true doesn't work anymore #21
Comments
Bundle uses immediate service to init workspace to default location, before prompt is even shown. See eclipse-equinox/equinox.bundles#21
Bundle uses immediate service to init workspace to default location, before prompt is even shown. See eclipse-equinox/equinox.bundles#21
It seems we don't have tests for this? |
Yes, we don't have tests. If you have a pointer how a test could be added that tests Eclipse startup with some custom launch arguments and checks something from inside that Eclipse, I could add one. |
There is something called session tests that can be run. It is not the most elegant way of testing but it can be done. Here is one of the more "simple" testcases I found that uses it where the testcase is setting some specific values in a config.ini: org.eclipse.osgi.tests.configuration.EclipseStarterConfigIniTest |
OK, I have a fix but that is in resources, so I will close this issue and reopen one in platform resources. |
Proposed fix: eclipse-platform/eclipse.platform.runtime#36 |
While reviewing eclipse-platform/eclipse.platform.resources#71 I've found, that I'm able to silently init a workspace (with default value) without specifying workspace location explicitly via prompt or
-data
argument, even if-Dosgi.dataAreaRequiresExplicitInit=true
is set in eclipse.ini.This is a regression, so bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=514333 is back.
I'm investigating where it was broken... 4.19 is OK, 4.20 is broken...
OK, regression is coming from
Ironically, commit message was
The start code for the plugin can be migrated to run inside Workspace without changing existing behaviour.
...The text was updated successfully, but these errors were encountered: