run-configuration

Shortcut for selecting run configuration in Eclipse IDE

半腔热情 提交于 2019-12-17 15:56:34
问题 I have an Eclipse workspace with a bunch of projects. I manually created some run configurations for each project (it's necessary to pass some arguments to VM, so I can't just run it directly, e.g. using shortcut ALT + SHIFT + X , T in the specific file). Most of the time, I just use one run configuration (whereas for the first time I manually launch it using Run -> Run configurations -> (name) -> Run ). Since I configured Eclipse to always run the last run configuration (on F11 or CTRL + F11

Eclipse CDT cannot find built exe file after building, have to click run configuration

天涯浪子 提交于 2019-12-13 01:22:41
问题 I am using Eclipse CDT. I encounter a really weird problem. After I built a project, I click on the project and choose run as -> local c/c++ project , it will throw a binary not found error. If I right click the project -> run configuration , but does not make any changes or touch any buttons, and click Run , it compiles and runs perfectly... So everytime, I have to click the run configurations , and then hit run. I also have the auto-build option on in the properties. Does anyone have an

how do I map a key in eclipse to run the project run configuration?

本小妞迷上赌 提交于 2019-12-12 09:11:59
问题 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 eclipse to write scala, and the hotkey "Run as Scala" does only work if my editor has the file with the main class opened (WTF). On all other files I get the error message "Editor does not contain a main type" without any further information. So I

Connecting Your Own Device On Eclipse safely to run Application

╄→尐↘猪︶ㄣ 提交于 2019-12-11 14:44:20
问题 I have an Android phone running version 2.2 of the android. The name of the phone is "Samsung Galaxy S fascinate". Its the Canadian version of the Galaxy S I think. Now, I have a lot of things saved on this phone especially on my SD card. Recently I have been busy developing my game on Canvas, SurfaceView. You can see my XML code on the bottom. I have been testing my game on my Eclipse emulator, but now since my game has multi-touch, I want to test it on my own android device. Also I have

Can I remove duplicate run configurations from Eclipse view?

落爺英雄遲暮 提交于 2019-12-11 06:14:17
问题 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 renaming the second. Is there a way to at least hide one of two same-named entries? Because now it's a little confusing when you look at it without wider spectrum. 回答1: Launch configurations appear as duplicates in Eclipse if the following

Eclipse - No server found in Run Configurations

ぐ巨炮叔叔 提交于 2019-12-07 11:45:25
问题 I'm having a trouble: I've got a GlassFish Server configured in Eclipse. Now, I need to add a project to its classpath: I go to Run Configurations -> Glassfish -> "Glassfish 3.1.2. at localhost" (the current server). Now, as you can see from the image attached, I cannot select any server as it seems there's no server in the dropdown menu. I'd like to select the server and then go to "Classpath" and add the project... Anyone can help me? What sounds strange to me is that when I run my web app,

IntelliJ : executing a program with environment variables stored in a separated file

北战南征 提交于 2019-12-05 19:46:45
My application needs custom environment variables to run. I have created a run configuration in IntelliJ in order to start the application. For environment variables, I have set VM options. Example : -DDATABASE_URL=jdbc:oracle:thin:@dbbdevdb0397.fr:1522:DBZD08 My concerns is to add all environment variables in my IntelliJ configuration automatically. That is why I have set these environment variables inside a separated file Example : DEV.env DATABASE_URL=jdbc:oracle:thin:@dbbdevdb0397.fr:1522:DBZD08 Is it possible to load this file DEV.env in a IntelliJ run configuration as it could be done by

Eclipse - No server found in Run Configurations

不问归期 提交于 2019-12-05 15:26:15
I'm having a trouble: I've got a GlassFish Server configured in Eclipse. Now, I need to add a project to its classpath: I go to Run Configurations -> Glassfish -> "Glassfish 3.1.2. at localhost" (the current server). Now, as you can see from the image attached, I cannot select any server as it seems there's no server in the dropdown menu. I'd like to select the server and then go to "Classpath" and add the project... Anyone can help me? What sounds strange to me is that when I run my web app, it runs on that server... So why can't I see it from Run Configuration? Thanks to anyone can help, AN

How to set the default working directory for run configurations in PyCharm

荒凉一梦 提交于 2019-12-04 22:42:22
When I want to run one of our many python scripts I hit run, which creates a new run configuration. The working directory for that configuration is the folder in which the python script file resides. Instead, it should run from a project wide fixed folder. I'd like to set that somehow but I really cannot figure out why, which is a bit odd as I'd expect many people to want to have this functionality. Do you know how to pull this off? mxscho If you hit the Edit configurations... button in the submenu appearing when clicking on your currently selected run configuration in the top right of PyCharm