EnvFile
EnvFile copied to clipboard
Add support for Play 2 App
Play 2 App is a run configuration provided by the Scala plugin
I will look into this someday. Until then - contributions are welcome.
I would like to contribute and take time to add Play 2 App support.
But do you know where the code is located for something similar ?
Is it a good start to go from GradleEnvFileProvider
in order to create a PlayAppEnvFileProvider ?
Ok. i saw it use the GradleRunConfiguration
to attach to it.
I created a run configuration of a Play 2 App configuration and then stored it as xml project file.
type="Play2FrameworkRunConfigurations" factoryName="Play 2 App"
I searched everywhere a Play2FrameworkRunConfigurations
on the web and couldn't find anything.
Even in the scala plugin it's not referenced. (https://github.com/JetBrains/intellij-scala)
If anyone can help me to find the missing link from Play2FrameworkRunConfigurations
and the ConfigurationFactory
that it must extends
I found a AbstractTestRunConfigurationFactory
but i'm not sure if it's helpfull for us.
Maybe it's made by typesafe in another library but i didn't see any clear dependency in the build.sbt file.
I saw a Resolver.typesafeIvyRepo("releases")
used but i don't find the link to a lib from it.
I have created a PR with sbt support, it's not updated to last IntelliJ version but it's something #167 I usually compile and run my play application with sbt tasks so it does the trick.