Idea 4.5 run/debug working - require option to disable buggy AppMain class

I am not able to use run/debug in Idea 4.5 for my existing projects that have worked well since Idea 2 something. Idea is forcing the application type configuration for run/debug to use a custom Intellij class 'com.intellij.rt.execution.application.AppMain' which is not correctly handling the classpath setting as specified in the java command line. Specifically the included class handling is causing run time problems preventing me from starting up my main class (Jboss 2.4).

In addition to using a run loader class (AppMain) Idea is also including jar's I have not specified to use. Is there a way to turn off this feature/bug?

I have yet to make it through an Idea upgrade without significant time spent reconfiguring existing projects.

0
1 comment
Avatar
Permanently deleted user

mcrusty wrote:

I am not able to use run/debug in Idea 4.5 for my existing projects that have worked well since Idea 2 something. Idea is forcing the application type configuration for run/debug to use a custom Intellij class 'com.intellij.rt.execution.application.AppMain' which is not correctly handling the classpath setting as specified in the java command line. Specifically the included class handling is causing run time problems preventing me from starting up my main class (Jboss 2.4).

In addition to using a run loader class (AppMain) Idea is also including jar's I have not specified to use. Is there a way to turn off this feature/bug?

I have yet to make it through an Idea upgrade without significant time spent reconfiguring existing projects.

Add -Didea.no.launcher=true to the IDEA launch script (lax, bat, sh or Info.plist, whatever suites your configuration).

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.