I have SDF syntax with the deprecated attribute applied to it. Whenever Sunshine parses this, it results in a warning (which is displayed as a warning in Eclipse) but interpreted by Sunshine as an error. Sunshine then exits with a non-zero exit code, even though there might not have been any real errors in the file.

  1. ERROR in tmp\file.app (at line 97)
    var u3_img := ImageStore{ };
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    Warning: Deprecated construct: Remove ā€˜;ā€™ from global variable declaration.

    1 messages (1 ERROR, 0 WARNING, 0 NOTE)

Iā€™m invoking Sunshine (from Jenkins) like this:

java -jar spoofax-sunshine.jar      \
    --auto-lang ../WebDSL/include   \
    --project tmp/                  \
    --non-incremental               \
    --builder "Format"              \
    --build-on file.app             \
    --no-analysis
Submitted by D. Pelsmaeker on 22 August 2014 at 15:36

Log in to post comments