Run configurations enable a user of an IDE such as IntelliJ or Eclipse to save repeatable actions performed within the IDE. They can be viewed as a macro, but with the limitation of only using functionality recognized by the specific IDE it is created in.
Questions tagged [run-configuration]
158 questions
3
votes
1 answer
Command Line Parameter for current date and time in eclipse
I have a java application that writes a file. One of my command line parameters is the name of the file. I would like to set a run configuration in eclipse to name the file with the date and time, something like…

Josh
- 16,286
- 25
- 113
- 158
2
votes
1 answer
Quickly switching between run configurations in PyCharm
Two actions that I perform on a regular basis are "run my tests" and "run my application". Unfortunately, PyCharm uses the same keystroke (Shift+F10, i.e., "Run") for both, and that keystroke uses my "current" run/debug configuration. I have to do a…

Joe White
- 94,807
- 60
- 220
- 330
2
votes
1 answer
Significance of "Execute in terminal" option in IntelliJ IDEA
I am trying to create a shell script run configuration with existing system utilities. Here's a test Run Configuration for printing the present working directory.
Output for this Run Configuration :
When I uncheck the Execute in terminal option in…

Saurabh P Bhandari
- 6,014
- 1
- 19
- 50
2
votes
2 answers
Intellij Idea - ignoring non-zero exit code of external tool
I'm using external tool to run fuser -k 1099 command before actually launching my run configuration
But if external tool returns non-zero status, build configuration stops. That is perfectly correct, but I can not find any way to ignore failure. If…

Dmitriusan
- 11,525
- 3
- 38
- 38
2
votes
1 answer
Eclipse Helios, run server after ant build has successfully finished
I'm not an Eclipse expert, but here is what I need to do and I hope for your help guys. I have an ant build file in my project. I'd like to have such run configuration where whenever I press the launch button my ant build script is run and if it…

John_Doe
- 35
- 3
2
votes
1 answer
how to set directory of the System.setOut()
I want to save my output as a separate at a specified folder. The following code would save the output at the project root. How can I change it?
public static void main(String[] args) throws Exception {
FileOutputStream f = new…

Spider
- 1,380
- 4
- 22
- 42
2
votes
2 answers
Run Play framework project
What file should I run in order to open and see how my Play project works?
Here is a screen shot of my project opened in Intellij Idea:

Yaroslav
- 1,325
- 1
- 11
- 23
2
votes
1 answer
Can I remove duplicate run configurations from Eclipse view?
I have Maven parent project with children.
When I go to Run -> Run Configurations... in Java Application I see few launchers twice - the only difference is path in Common tab, section Save as... Shared file.
I can't even rename one of them without…

Line
- 1,529
- 3
- 18
- 42
2
votes
3 answers
C++ NetBeans Run-Configuration passing arguments-issue
When i want to run a program with arguments out of the IDE i do this:
ProjectProperties→Run→Arguments and type my arguments in there.
But if I want to Debug, NetBeans ignores these arguments given there.
So how can I debug a project with…

JavaHater
- 45
- 1
- 4
- 8
2
votes
1 answer
What is the defaul -Xmx value for Junit run configuration in Intellij idea?
I have faced with memory problem and read this question which tells to increase -Xmx parameter. But when I opened JUnit default Run configuration I saw no parameter -Xmx.
So how to determine the default value for -Xmx in JUnit in default Run…

Cherry
- 31,309
- 66
- 224
- 364
2
votes
3 answers
How to solve: Android ClassFormatError for RunConfiguration in Android Studio
appreciate some help here.
just installed Android Studio 1.5.1 (after using 1.2). I then created a new project to try it out and get the following displayed in the event log:
7:15:26 PM ClassFormatError: update failed for AnAction with…

Clive Sargeant
- 622
- 11
- 24
2
votes
3 answers
Eclipse. Run two different mains when the second reads a static field of the previous
I have a Java project in eclipse which is divided in two parts; two different main classes that run two different Threads basically.
One contains loading, initialization and debug-showing procedures that are quite slow. While, the other manipulates…

user2497897
- 45
- 2
- 6
2
votes
1 answer
How to run all TestNG test in a package in Eclipse?
I have a growing number of TestNG based unit test in my eclipse project. To make sure alle of the tests get executed I'm looking for an easy way of telling eclipse "Run all TestNG test of package foo".
I can set-up a run configuration and…

BetaRide
- 16,207
- 29
- 99
- 177
2
votes
3 answers
how do I map a key in eclipse to run the project run configuration?
I created a new eclipse project with a new run configuration. This configuration is visible on the drop down menu for run configurations and has a 1 on it. How do I assign a Key to run exacty this configuration?
The problem I have is, that I use…

Arne
- 7,921
- 9
- 48
- 66
2
votes
1 answer
IntelliJ run configurations for Netbeans RCP project
there's a project I'm working on with a team (BUMMEL) and we've migrated it's build tool from Ant to Maven, to make it IDE-agnostic, and now I can open it into IntelliJ as a Maven project but I have troubles creating the run configuration for…

Uko
- 13,134
- 6
- 58
- 106