Community
Participate
Working Groups
Created attachment 235711 [details] workspace with simple build org.eclipse.ant.ui.antRunner does not close ui after executing execution for example if run ant file with command eclipse\eclipsec.exe -data workspace -application org.eclipse.ant.core.antRunner -file workspace\test\ant.xml it will generate Test.class without any unclosed Eclipse instance but in case eclipse\eclipsec.exe -data workspace -application org.eclipse.ant.ui.antRunner -file workspace\test\ant.xml Eclipse instance will be not closed even after project build Reproduced in eclipse-SDK-4.2.2-win32-x86_64 eclipse-standard-kepler-R-win32-x86_64
AntRunner just runs + completes as it always has returning EXIT_OK. I would have to check and see if it used to exit when supplied with a workspace in older versions. Paul, have there been any changes recently that could cause the workbench to not exit when AntRunner finishes (and returns EXIT_OK)?
(In reply to Michael Rennie from comment #1) > AntRunner just runs + completes as it always has returning EXIT_OK. I would > have to check and see if it used to exit when supplied with a workspace in > older versions. Confirmed that the workbench starts and stays in 4.4 - but that only the splash screen shows and no workbench is actually started in 3.x.
(In reply to Michael Rennie from comment #2) > (In reply to Michael Rennie from comment #1) > > AntRunner just runs + completes as it always has returning EXIT_OK. I would > > have to check and see if it used to exit when supplied with a workspace in > > older versions. > > Confirmed that the workbench starts and stays in 4.4 - but that only the > splash screen shows and no workbench is actually started in 3.x. For some context, when using the org.eclipse.ant.ui.antRunner application we end up using the org.eclipse.ant.internal.ui.WorkbenchAntRunner runner with the org.eclipse.ant.internal.ui.AntRunnerWorkbenchAdvisor that does not veto the normal shutdown from WorkbenchAdvisor#preShutdown().
Chatting with Paul, this is dupe of bug 413096, where the Platform is no longer honouring the request to not open windows. *** This bug has been marked as a duplicate of bug 413096 ***