如何在Eclipse中增加启动配置的延迟? [英] How to add delays for launch configurations in Eclipse?
问题描述
我有一个具有多个启动配置的启动组.运行配置后,所有配置都会快速启动.我不确定一次发射是否需要以某种方式返回"以便下次发射.
I have a launch group with several launch configurations. When it is ran, all configurations are launched one after the other quickly. I'm not sure if one launch needs to "return" in some fashion in order for the next to start.
我想在某些发射之间增加一个延迟.手动持续时间:launch1,等待2秒钟,launch2;或以某种方式告知下次发射它现在可以发生.
I would like to add a delay between some of the launches. Either a manual time duration: launch1, wait 2 seconds, launch2; or some way to tell the next launch that it can happen now.
在Eclipse中有什么方法(我在4.5.2上)吗?也许是启动配置中的插件或选项?如果有人可以指导我,我也愿意提供脚本选项.
Is there any way to do it in Eclipse (I'm on 4.5.2)? Maybe a plugin or an option in the launch configuration? I'm also open for a script option if someone can guide me.
推荐答案
In Eclipse Oxygen this options became available as a Launch Group launch configuration. Go to Run > Run Configurations...
, under Launch Group
add a new configuration and then add the configurations you want to launch.
可以在Post launch action
中设置延迟:
这篇关于如何在Eclipse中增加启动配置的延迟?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!