Stratego imports do not work with Stratego dialects (e.g. Stratego-Java-15).

Eclipse: org.eclipse.platform.ide 4.6.0.I20160606-1100
Spoofax: org.metaborg.spoofax.eclipse 2.0.0
System: Mac OS X x86_64 10.11.6
Submitted by Daco Harkes on 22 August 2016 at 14:03

On 23 August 2016 at 11:28 Daco Harkes commented:

Note that stratego imports from a dialect to a same dialect also do not work.

Importing a dialect file in a non-dialect file is fine.


On 23 August 2016 at 11:34 Daco Harkes commented:

There is no workaround, as removing the compile dependency - org.metaborg:org.metaborg.meta.lang.stratego:${metaborgVersion} breaks all (both mix syntax and non mix syntax) stratego imports.


On 26 August 2016 at 13:09 Daco Harkes commented:

Even though the imports are marked as error, cmd+clicking them still works. (But all the strategies from those modules are not imported to the current module.)


On 26 August 2016 at 13:43 Daco Harkes commented:

Apparently this is already fixed in nightly.

Eclipse: org.eclipse.platform.ide 4.6.0.I20160606-1100
Spoofax: org.metaborg.spoofax.eclipse 2.1.0.20160825-095503-master
System: Mac OS X x86_64 10.11.6

On 26 August 2016 at 14:39 Daco Harkes commented:

Is it possible to hotfix this? (As nightly currently has a not completely working SDF3.)


On 26 August 2016 at 14:52 Daco Harkes commented:

Or is it maybe possible to use org.metaborg:org.metaborg.meta.lang.stratego:2.1.0-SNAPSHOT in Spoofax 2.0.0?

In Eclipse I get this error.

14:40 | ERROR | o.m.s.e.b.ProjectBuilder       - Cannot build project eclipse:///icedust, some dependencies are missing.
The following dependencies are missing: 
  Compile-time: 
    org.metaborg:org.metaborg.meta.lang.stratego:2.1.0-SNAPSHOT

But the commandline build works. (Probably because stratego 2.1.0-SNAPSHOT was fetched already today by maven.)

How would I add the correct dependencies/repositories to my project?


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

Fixed in latest version.


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

Log in to post comments