I copied the modules languages/aterm/syntax/* and basic/* into my Spoofax project and imported languages/aterm/syntax/ATerms into my syntax definition. Generation of parse table and signatures works fine. However, compilation fails once I start importing the generated signature. When removing the signature entries for the ATerms, everything works fine again.

Error message does not report the problem:

stratego.jvm.helper:
[java] [ Main | error ] Compilation failed (2.66 secs)

BUILD FAILED

Submitted by Guido Wachsmuth on 2 June 2010 at 07:18

On 2 June 2010 at 10:09 Lennart Kats commented:

What happens if you add --verbose 3 to build.stratego.args in build.main.xml? Could you post the log?


On 2 June 2010 at 10:13 Guido Wachsmuth commented:


[java] [ Main | notice ] include path:
[java] [IncludeDir(“/Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans”),IncludeDir(“/Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans”),IncludeDir(“/Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses”),IncludeXTC]
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/strategiclenses.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/strategiclenses.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/include/StrategicLenses.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/include/StrategicLenses.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/lib/editor-common.generated.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/lib/editor-common.generated.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/run-tests.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/run-tests.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/semantics.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/semantics.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/indices.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/indices.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/desugar.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/desugar.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/signatures.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/signatures.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/simplecheck.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/simplecheck.str
[java] [ Main | notice ] Using syntax Stratego
[java] [ Main | notice ] including /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/pp.str
[java] [ Main | notice ] Parsing file /Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/trans/pp.str
[java] [ Main | notice ] Using syntax Stratego
[java] Main (3.46 secs)
[java] Main: rewriting failed, trace:
[java] main_0_0
[java] main_strj_0_0
[java] log_timed_1_2
[java] xtc_input_1_0
[java] xtc_temp_files_1_0
[java] restore_always_2_0
[java] strj_or_die_0_0
[java] strj_0_0
[java] dr_scope_all_verbose_1_0
[java] dr_scope_1_1
[java] strc_front_end_0_0
[java] log_timed_1_2
[java] frontend_0_0
[java] m_transform_no_overlays_1_0
[java] dr_scope_1_1
[java] [ Main | error ] Compilation failed (3.46 secs)

BUILD FAILED
/Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/build.generated.xml:288: The following error occurred while executing this line:
/Users/guwac/Documents/EclipseWorkspaces/Development/StrategicLenses/build.generated.xml:332: Java returned: 1

Total time: 3 seconds


On 2 June 2010 at 10:18 Lennart Kats commented:

Thanks, but could you verbatimize it? :)


On 2 June 2010 at 10:28 Guido Wachsmuth commented:

Done.


On 2 June 2010 at 15:44 Lennart Kats commented:

Seems like this was caused by an old version of the plugin or perhaps an old version of the webdsl plugin. We haven’t been able to reproduce it in a clean environment. Scary stuff, but closing it as cannotreproduce for now. (See Spoofax/143.)


On 2 June 2010 at 15:44 Lennart Kats closed this issue.

Log in to post comments