Compilation fails when importing ATerm syntax
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
Issue Log
What happens if you add
--verbose 3
tobuild.stratego.args
inbuild.main.xml
? Could you post the log?
[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: 1Total time: 3 seconds
Thanks, but could you verbatimize it? :)
Done.
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.)
Log in to post comments