I recently made a change in an Eclipse product to switch from a static product 
declaration to a dynamic product declaration, as documented here:
https://help.eclipse.org/2020-09/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_core_runtime_products.html&cp%3D2_1_1_30

After making this change, most everything works as expected, but the “Choose 
workspace” dialog is no longer displayed on startup.  The workspace can be 
switched via the File>Switch Workspace menu item, but on subsequent starts, the 
selection has not been saved (RECENT_WORKSPACES is empty) and the default 
workspace is opened.  I imagine that my dynamic product implementation is 
causing this, so I want to step through the workflow (by the way, if anyone 
reading has an idea of how I could have broken this, please let me know!).

However, as far as I can tell, when launching an “Eclipse Application” there is 
no way to avoid specifying the target workspace in the workspace data section, 
so on initial launch, the “Choose workspace” dialog is not displayed.  Trying 
to exercise the workflow via File>Switch Workspace also fails, because an error 
occurs (“Missing System Property - Unable to relaunch the platform because the 
eclipse.vm property has not been set.").

How can I debug the “Choose workspace” dialog workflow with an “Eclipse 
Application” launch?

_______________________________________________
platform-dev mailing list
platform-dev@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/platform-dev

Reply via email to