Trying to execute a run-configuration Follow
Well, I've cheated an dug into the com.intellij.execution package to try
to run an existing run configuration. I can get my hands on the
configuration with no problems (its a JUnitConfiguration class) but I
need to get some data to the actual test class that will be run.
What I want to do is add a -D to the JavaParameters. But I see no way to
do this. Does anybody (jetbrains?) have any advice? Here's my action:
--
Barry Kaplan
bkaplan@integratedtrading.com
Please sign in to leave a comment.
You may clone existing RunConfiguratation then cast it to
RunJavaConfiguration (if it is instanceof, JUnit and Application
configurations are) then
configuration.getProperty(RunJavaConfiguration.VM_PARAMETERS_PROPERTY) - to
get current JVM parameteres modify returned string and then set with
setProperty().
PS. This way may stop to work at any time.
--
Dmitry Peshehonov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:c2tkps$br5$1@is.intellij.net...
>
>
>
>
>
Well, it looks like RunJavaConfiguration is obsficated.
Dmitry Peshehonov (JetBrains) wrote:
--
Barry Kaplan
bkaplan@integratedtrading.com
Oops, your are right it is scrambled. You have to wait for Pallada EAP to
use it - shouldn't be scrambled here.
--
Dmitry Peshehonov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:c35gle$j2$1@is.intellij.net...
>
>
>
to
>
>
>
Ok, I wait.
Dmitry Peshehonov (JetBrains) wrote:
--
Barry Kaplan
bkaplan@integratedtrading.com
Will Pallada be for 4.1 or 5.x. I'm trying to build a plugin for our
internal team to make running tests via a our domain-specific harness
easy. Most of my team does not run the eap builds.
Barry Kaplan wrote:
>> Oops, your are right it is scrambled. You have to wait for Pallada EAP to
>> use it - shouldn't be scrambled here.
>>
--
Barry Kaplan
bkaplan@integratedtrading.com
Pallada is name of 4.1
--
Dmitry Peshehonov
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Barry Kaplan" <bkaplan@integratedtrading.com> wrote in message
news:c39l3n$emv$3@is.intellij.net...
>
>
to
>
>