step:
1.create a gradle ws and add liferay server to start
2.create a larger number of modules
3.watch modules one by one or watch a larger number of modules one time
actual result:
1.the previous watch will be stopped
2.error log:
Error running Gradle watch task for project P/gw71
org.eclipse.buildship.core.GradlePluginsRuntimeException: Cannot create Gradle launch configuration gw71 - .modules.gsb.gsb-api.watch .modules.gp.watch .modules.gnpmb.watch .modules.gnpmj.watch .modules.gnpmp.watch .modules.gnpmr.watch .modules.gnpmv.watch .modules.gact.watch .modules.gapi.watch .modules.gmvc.watch .modules.gtcc.watch .modules.gpci.watch .modules.gpanelapp.watch .modules.grest.watch .modules.gs.watch .modules.gnpmi.watch .modules.gcme.watch .modules.gpp.watch .modules.gsi.watch .modules.gso.watch .modules.gsw.watch .modules.gfree.watch .modules.gptc.watch .modules.gsb.gsb-service.watch.
at org.eclipse.buildship.core.launch.internal.DefaultGradleLaunchConfigurationManager.createLaunchConfiguration(DefaultGradleLaunchConfigurationManager.java:82)
at org.eclipse.buildship.core.launch.internal.DefaultGradleLaunchConfigurationManager.getOrCreateRunConfiguration(DefaultGradleLaunchConfigurationManager.java:61)
at org.eclipse.buildship.ui.launch.UiGradleLaunchConfigurationManager.getOrCreateRunConfiguration(UiGradleLaunchConfigurationManager.java:43)
at com.liferay.ide.gradle.core.GradleUtil.runGradleTask(GradleUtil.java:185)
at com.liferay.ide.gradle.core.LiferayGradleWorkspaceProject$1.run(LiferayGradleWorkspaceProject.java:164)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
Caused by: org.eclipse.core.runtime.CoreException: Could not write file: D:\ce1017\liferay-developer-studio\eclipse-workspace1\.metadata\.plugins\org.eclipse.debug.core\.launches\gw71 - .modules.gsb.gsb-api.watch .modules.gp.watch .modules.gnpmb.watch .modules.gnpmj.watch .modules.gnpmp.watch .modules.gnpmr.watch .modules.gnpmv.watch .modules.gact.watch .modules.gapi.watch .modules.gmvc.watch .modules.gtcc.watch .modules.gpci.watch .modules.gpanelapp.watch .modules.grest.watch .modules.gs.watch .modules.gnpmi.watch .modules.gcme.watch .modules.gpp.watch .modules.gsi.watch .modules.gso.watch .modules.gsw.watch .modules.gfree.watch .modules.gptc.watch .modules.gsb.gsb-service.watch.launch.
at org.eclipse.core.internal.filesystem.Policy.error(Policy.java:45)
at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:431)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.writeNewFile(LaunchConfigurationWorkingCopy.java:307)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave0(LaunchConfigurationWorkingCopy.java:250)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:220)
at org.eclipse.debug.internal.core.LaunchConfigurationWorkingCopy.doSave(LaunchConfigurationWorkingCopy.java:173)
at org.eclipse.buildship.core.launch.internal.DefaultGradleLaunchConfigurationManager.createLaunchConfiguration(DefaultGradleLaunchConfigurationManager.java:80)
... 5 more
Caused by: java.io.FileNotFoundException: D:\ce1017\liferay-developer-studio\eclipse-workspace1\.metadata\.plugins\org.eclipse.debug.core\.launches\gw71 - .modules.gsb.gsb-api.watch .modules.gp.watch .modules.gnpmb.watch .modules.gnpmj.watch .modules.gnpmp.watch .modules.gnpmr.watch .modules.gnpmv.watch .modules.gact.watch .modules.gapi.watch .modules.gmvc.watch .modules.gtcc.watch .modules.gpci.watch .modules.gpanelapp.watch .modules.grest.watch .modules.gs.watch .modules.gnpmi.watch .modules.gcme.watch .modules.gpp.watch .modules.gsi.watch .modules.gso.watch .modules.gsw.watch .modules.gfree.watch .modules.gptc.watch .modules.gsb.gsb-service.watch.launch (文件名、目录名或卷标语法不正确。)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at org.eclipse.core.internal.filesystem.local.LocalFile.openOutputStream(LocalFile.java:421)
... 10 more