Run Batch File From IDEA
Is it possible to run arbitrary batch files from within IDEA as run configurations?
e.g. I am starting a JMS router as part of developing my application.
Its not critical, but it would be nice if I could run it from within IDEA so that the whole stack required for debugging could be included in the shared run configurations.
Please sign in to leave a comment.
Hello opticyclic,
You can run a batch file as an external tool, rather than as a run configuration.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Yeah, I actually came across that same idea after digging around a bit more after posting.
However, as far as I can tell, you can't end the batch file if it is run as an external tool and it is not possible to share it with anyone else either.
This fix is useful though
http://youtrack.jetbrains.net/issue/IDEA-67280
It means that if we can share the tools and stop the batch script then an environment variable can be used to point to it.
Required fixes without even asking for them :)