CustomRunConfigurationProducer for .java files

Hi,

I have an issue with a custom RunConfigurationProducer registered in the build.xml. Last time I tested the plugin it worked just fine. Now (intelli version 14.1.4) my configuration is not part of any run option.

Here the facts:
- CustomRunConfigurationProducer extends JavaRunConfigurationProducerBase
- setupConfigurationFromContext returns true and updates the config
- isConfigurationFromContext won't be called

any ideas?

-Tim

4 comments
Comment actions Permalink

Please check the isPreferredConfiguration() and shouldReplace() methods. Maybe another run configuration producer takes precedence over yours.


0
Comment actions Permalink

both methods won't be called. Even isConfigurationFromContext is not called anymore.

0
Comment actions Permalink

Is your plugin open-source?


0
Comment actions Permalink

yes. you can find it here the class is filed under ./defrac/intellij/run

0

Please sign in to leave a comment.