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.

3 comments
Comment actions Permalink

Hello opticyclic,

You can run a batch file as an external tool, rather than as a run configuration.

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.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

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.

0
Comment actions Permalink

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 :)

0

Please sign in to leave a comment.