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 the language header. This allows me to develop Scala code in Eclipse in src/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 metaborg.yaml (at least I think that’s the place to put it), maybe under language: 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 in Main.esv).

Submitted by Jeff Smits on 2 September 2016 at 10:36

On 13 September 2016 at 13:21 Gabriël Konat commented:

That’s just not possible with the current Stratego runtime, sorry. You can add build: useBuildSystemSpec: true to make command-line maven builds ignore the metaborg.yaml file completely, and use the pom.xml file instead. Then you can set up the POM file to compile your scala stuff.


On 13 September 2016 at 13:21 Gabriël Konat closed this issue.

Log in to post comments