In the latest unstable plugin, rebuilding fails with the following error:

   [javac] Since compiler setting isn't classic or modern,ignoring fork setting.
   [javac] Compiling 111 source files to C:\workspacegame\exmpl\WebContent\WEB-INF\classes
   [javac] Since compiler setting isn't classic or modern,ignoring fork setting.
   [javac] ----------
   [javac] 1. ERROR in C:\workspacegame\exmpl\.servletapp\src-generated\utils\PageServlet.java (at line 212)
   [javac] 	staticEnv.putTemplate("labelcolumnsString_labelInternal1StringStringTemplateContextString", labelcolumnsString_labelInternal1StringStringTemplateContextString_Template.class);
   [javac] 	                                                                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [javac] labelcolumnsString_labelInternal1StringStringTemplateContextString_Template cannot be resolved to a type
   [javac] ----------
   [javac] 1 problem (1 error)

The class in the precompiled jar is …labelInternal0… , looks like an issue in the rename strategy.

Submitted by Danny Groenewegen on 23 May 2011 at 13:16

On 23 May 2011 at 16:31 Danny Groenewegen commented:

Also multiple errors like this can occur when rebuilding an app:

   [javac] ----------
   [javac] 1. ERROR in /Users/dan/Documents/workspace5555/ggg/.servletapp/src-generated/utils/PageServlet.java (at line 50)
   [javac] 	staticEnv.putTemplate("dateinputgenericDateStringStringString_ta1ListStringStringStringStringStringStringDate", dateinputgenericDateStringStringString_ta1ListStringStringStringStringStringStringDate_Template.class);
   [javac] 	                                                                                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [javac] dateinputgenericDateStringStringString_ta1ListStringStringStringStringStringStringDate_Template cannot be resolved to a type
   [javac] ----------
  ....
   [javac] ----------
   [javac] 49. ERROR in /Users/dan/Documents/workspace5555/ggg/.servletapp/src-generated/utils/PageServlet.java (at line 216)
   [javac] 	staticEnv.putTemplate("wrapsubmitString_ta1String", wrapsubmitString_ta1String_Template.class);
   [javac] 	                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   [javac] wrapsubmitString_ta1String_Template cannot be resolved to a type
   [javac] ----------
   [javac] 49 problems (49 errors)

On 23 May 2011 at 18:09 Danny Groenewegen commented:

This only seems to happen in the plugin, command-line builds are not affected. I assume it is related to the newname strategy’s name pool “cache”. According to Lennart https://yellowgrass.org/issue/Spoofax/313, newname should not be used for deterministic code generation, so the call to newname should be replaced in the newname-webdsl strategy.


On 30 May 2011 at 15:59 Danny Groenewegen tagged 1.2.8

On 30 May 2011 at 15:59 Danny Groenewegen commented:

fixed in r4681


On 30 May 2011 at 15:59 Danny Groenewegen closed this issue.

Log in to post comments