Feature request: Support implementing external strategies in Scala officially
Right now I have a Spoofax project with a downloaded Scala standard library jar in there. I put it as a jar provider in
editor/Main.esv
under thelanguage
header. This allows me to develop Scala code in Eclipse insrc/main/strategies/<project-name>/strategies
. But only in Eclipse because it knows it’s a Scala project.What I’d like to see is that we have an option in
Submitted by Jeff Smits on 2 September 2016 at 10:36metaborg.yaml
(at least I think that’s the place to put it), maybe underlanguage: stratego: external: scala
. That would then set things right in the build system (maven-scala-plugin or so?) so you can still compile from the command line, and don’t need to download the scala library jar separately (nor mention it inMain.esv
).
Issue Log
That’s just not possible with the current Stratego runtime, sorry. You can add
build: useBuildSystemSpec: true
to make command-line maven builds ignore themetaborg.yaml
file completely, and use thepom.xml
file instead. Then you can set up the POM file to compile your scala stuff.
Log in to post comments