|Startup tasks not executed if project.setup is pulled from redirected setup [message #1741289]
||Wed, 24 August 2016 11:51
| Simon Stratmann
Registered: August 2016
I have a project.setup file that contains some tasks for downloading and extratcing files and resource modification for bootstrapping and some tasks for eclipse workspace preferences, so startup tasks.
I redirect to a hosted org.eclipse.setup file that contains my setup.project file as "projectCatalog".
When I add the project.setup file in the advanced installer manually and install my project from that file everything is fine; at first startup the preferences are set and working sets are created.
If install using the hosted project.setup file that then none of the startup tasks are executed. The "Setup tasks" windows doesn't contain any of them. I'm 100% sure that the files are identical, I actually add them from my HTTP repository for the first test. So the only difference is how the installer accesses them. How is that possible?
setup.log from error case:
[2016-08-24 14:26:50] Performing post bootstrap tasks
[2016-08-24 14:26:50] Launching the installed product...
setup.log from positive case:
[2016-08-24 14:07:41] Performing post bootstrap tasks
[2016-08-24 14:07:41] Launching the installed product...
[2016-08-24 14:08:44] Executing startup tasks
[2016-08-24 14:08:45] Java(TM) SE Runtime Environment 1.8.0_60-b27
[2016-08-24 14:08:45] Product org.eclipse.products.epp.package.java.latest.released
... A lot more lines
[Updated on: Wed, 24 August 2016 12:28]
Report message to a moderator
|Re: Startup tasks not executed if project.setup is pulled from redirected setup [message #1741429 is a reply to message #1741413]
||Thu, 25 August 2016 05:47
| Ed Merks
Registered: July 2009
Is the project simply contained in the catalog, or is it in a separate resource that's cross resource contained by the catalog? If the latter, what does the URI look like? Is it an absolute URI?
Note that the projects are referenced by the workspace.setup. You can use Navigate -> Open Setup -> Workspace to open it. From the context menu of the setup editor, you can use Open Text Editor to look at the file textually. What does the URI for the reference to the project setup look like? I suspect in both cases the project reference is present, but in the incorrectly functioning case that it's an unresolved proxy. Hence the question about how the project catalog references or contains the project setup, and this followup question about how the reference look in the workspace.setup.
When using -Doomph.redirection.*, the * has no semantic significance, other than the fact that multiple Eclipse Ini tasks can be merged, so if there is more than one task for -Dxyz=abc and -Dxyz=def you'll end up with a single task, so definitely it's good to make the * part unique in your overall context.
Powered by FUDForum
. Page generated in 0.22063 seconds