module Main

language

  provider : target/metaborg/stratego.ctree
  provider : target/metaborg/stratego-javastrat.jar
  provider : target/metaborg/entityscala.scala-0.1.0-SNAPSHOT.jar               // works on commandline
//  provider : ../entityscala.scala/target/entityscala.scala-0.1.0-SNAPSHOT.jar // works in Eclipse
  provider : target/metaborg/scala-library-2.11.5.jar

Relative path fails on command line, as the relative path jar is not included and not class-loaded. (Relative path works in Eclipse, classes are loaded.)

Proposed solution: copy provider jars into target folder such that it is included.

(Note: command line build maven-copies jar: https://github.com/MetaBorgCube/metaborg-entity-scala/blob/master/entityscala.lang/pom.xml#L63-L92)

Submitted by Daco Harkes on 18 October 2016 at 15:03

On 18 October 2016 at 15:32 Gabriël Konat commented:

The language specification builder may not access resources outside of the project directory, so this cannot be supported by Spoofax. We do need a better way to specify providers (preferably by depending on Maven artifacts), but that is a different issue (part of the https://trello.com/c/k7RPRazu/214-java-scala-entry-points card on Trello)


On 18 October 2016 at 15:32 Gabriël Konat closed this issue.

Log in to post comments