Questions tagged [run-configuration]

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.

158 questions
2
votes
1 answer

Batch file in eclipse path variables not found

I want to start a batch-script in my eclipse. (Instructions here: How to run a batch script (.bat file) from eclipse) In my batch file i need some commands like pear or phing. I put the path to these commands into my environment variable called…
eav
  • 2,123
  • 7
  • 25
  • 34
1
vote
1 answer

Debugging an app with computed environment variables in IntelliJ IDEA

Consider an app which, in 12-factor style, receives its config in the form of a JSON document provided as an environment variable. The config contains secrets, so it is never stored on disk; instead, it is computed on the fly before starting the…
1
vote
1 answer

How to set the default run configuration for a project in Rider

I have a C# solution, with multiple projects, being managed in Rider. For one project ("Proj1") I have multiple run configurations ("Proj1 A", and "Proj1 B"). By default the project explorer UI offers one of the configurations…
Brondahl
  • 7,402
  • 5
  • 45
  • 74
1
vote
1 answer

Run configuration setup in IntelliJ

I can run my Spring Boot jar in Git Bash with the following command: java -Dspring.profiles.active=development -Djasypt.encryptor.password=$JASYPT_DEV_PWD -DAPP_LOGS=C:/temp/logs -DDEBUG_OPTS -jar target/application-0.0.1-SNAPSHOT I'm now trying to…
runnerpaul
  • 5,942
  • 8
  • 49
  • 118
1
vote
0 answers

IntelliJ IDEA. Compound doesn't work as 'Before launch' task

IntelliJ IDEA and other idea-based IDEs have Run/Debug Configurations that help users to create templates of frequently used tasks. One of the possible run configurations is Compound, which can include multiple run configurations/tasks and run them…
Dan Serbyn
  • 105
  • 5
1
vote
1 answer

IntelliJ Kotlin - MainKt run/debug configuration unavailable, cannot run project

I'm trying to run a basic Kotlin main file but the problem is I don't have any run/debug configurations available. My main.kt file is under src>main and is a very simple Helloworld program. See below image. When I enter Add Configuration>Kotlin and…
1
vote
1 answer

Run New Class in existing project ECLIPSE

I am trying to run a new class(guidemo is class name) which in existing project. to run it as always if I click on run there is no option for newly created class .if I click run the old class is running. now what should I do to run the new class, I…
Sumanth
  • 31
  • 1
  • 6
1
vote
1 answer

Docker configuration does not find existing file?

I try to configure and run a docker file in IntelliJ Rider. During the build, I get the following error: Step 7/17 : COPY ["src/No.Services/No.Gf/No.Gf.Api/No.Gf.Api.csproj", "src/No.Services/No.Gf/No.Gf.Api/"] Error response from daemon: COPY…
bl4ckb0l7
  • 3,839
  • 4
  • 28
  • 33
1
vote
0 answers

Migrate run configuration in IntelliJ to Eclipse run configuration

I have the following run configuration in IntelliJ, how to migrate this configuration to eclipse run configuration?
user1169587
  • 1,104
  • 2
  • 17
  • 34
1
vote
0 answers

How do I create an eclipse Run Configuration that applies to all script files that match a pattern?

I am using eclipse with Perl EPIC for Perl scripting. It appears I have to create an individual Run Configuration for each script file I want to run, which seems overkill: Is there a way to create a Run Configuration that is always applied to…
skeetastax
  • 1,016
  • 8
  • 18
1
vote
1 answer

Intellij Run/Debug Configurations, how to set Main Class from another module

My project structure is like this: project --common --moduleA I am trying to run moduleA, however, I would like to use the Main class defined in common. In Intellij's Run/Debug Configurations. There are two settings 1) Main class 2) Use…
Guifan Li
  • 165
  • 2
  • 14
1
vote
2 answers

Eclipse Application run config to intellij

Im Currently working in an old java swing project with eclipse IDE. we wanted to change from eclipse to intellij but we have a problem configuring our eclipse application in intellij. I have tried to generate .launch file and convert it as intellij…
Ricard Kollcaku
  • 1,622
  • 5
  • 9
1
vote
1 answer

Android Studio has lost Run Configurations

Android Studio lost all the run-configurations of a project and it is not the first time this happened. This always occurs (as far as I can tell), when switching projects and/or having opened an Android project in IntelliJ IDE. In an attempt to…
Martin Zeitler
  • 1
  • 19
  • 155
  • 216
1
vote
1 answer

Sharing environment variables in IntelliJ JUnit run configurations

I'm using IntelliJ IDEA to write and run e2e tests with JUnit. My tests require some environment variables to be set, so I set these in the Run Configurations dialog (through Run-->Edit Configurations, Environment Variables field). This works fine,…
1
vote
0 answers

How do I disable Smart Quotes in the Eclipse Oxygen Configuration Arguments text area on Mac OS X?

The Eclipse Oxygen app on Mac OS X has the 'Smart Quotes' feature enabled by default for the text area inputs of the 'Arguments' tab of the 'Run Configurations' dialog. This is immensely annoying - I never want smart quotes in arguments I am…
Lindsey Spratt
  • 226
  • 2
  • 5