ceylon-ide-eclipse icon indicating copy to clipboard operation
ceylon-ide-eclipse copied to clipboard

Set runtime options in the launch configurations

Open quintesse opened this issue 10 years ago • 2 comments

In #735 it became obvious we need a way to set runtime options in the launch configurations, Right now we have a way to pass program arguments and Java VM options.

We shouldn't actually need the VM options because they should preferably be handled by Ceylon itself, except that's not possible right now (see ceylon/ceylon-runtime#55).

So possibly we could re-use the current VM options box, rename it to "Ceylon Runtime arguments", do a first scan of the options ourselves, pick out the --java ones and pass them on to Eclipse as before while passing on the rest to the Ceylon runtime.

It's a bit hacky, but it seems better than having 3 edit boxes (one for program arguments, one for Ceylon runtime arguments and one for Java VM arguments, especially when at some point in the future the command line runtime will have a --java option).

quintesse avatar Mar 06 '14 09:03 quintesse

This issue sounds like nonsense to me. Compiler options don't belong in a launch configuration! That would require a full recompile every time you execute the program! (There is a one to many relationship between a project and its launch configurations.)

gavinking avatar Mar 21 '15 18:03 gavinking

The "compiler options" was a typo, changed it to "runtime options".

quintesse avatar Mar 21 '15 19:03 quintesse