Closed niloc132 closed 9 months ago
See https://github.com/niloc132/j2clmavenplugin/pull/new/192-partial-fix for a partial fix that compiles, but doesn't pass its tests:
[INFO] fetching http://localhost:42401/zr_escape/test-example.test.AppTest.html
[INFO] 14:02:04.965 : Starting tests: j2cl-maven-plugin test runner
[INFO] 14:02:04.966 : Running test: test_value
[INFO] A()@http://localhost:42401/zr_escape/test-example.test.AppTest.js:17
@http://localhost:42401/zr_escape/test-example.test.AppTest.js:104
@http://localhost:42401/zr_escape/test-example.test.AppTest.js:82
@http://localhost:42401/zr_escape/test-example.test.AppTest.js:81
V()@http://localhost:42401/zr_escape/test-example.test.AppTest.js:99
@http://localhost:42401/zr_escape/test-example.test.AppTest.js:77
V()@http://localhost:42401/zr_escape/test-example.test.AppTest.js:99
@http://localhost:42401/zr_escape/test-example.test.AppTest.js:77
F()@http://localhost:42401/zr_escape/test-example.test.AppTest.js:25
Wd()@http://localhost:42401/zr_escape/test-example.test.AppTest.js:77
Je()@http://localhost:42401/zr_escape/test-example.test.AppTest.js:116
@http://localhost:42401/zr_escape/test-example.test.AppTest.js:123
[INFO] 14:02:04.990 : test_value : FAILED
[INFO] 14:02:04.991 : 1 of 1 tests run in 26 ms.
0 passed, 1 failed.
26 ms/test. 1 files loaded.
[INFO] 14:02:04.991 : Tests Failed
[ERROR] Test failed!
[ERROR] Test example.test.AppTest failed, please try manually example/test/AppTest.js
Fixed by at least 0.21, closing.
https://github.com/google/closure-compiler/commit/da77937ff5db2dce54f1bbde0b38711c74523350#diff-c36853adf65b1c9aa8fec01a29f192fd26431a1652cb9cc2099f6e74617b6cd9R324-R327 enforces stricter constraints on placeholder names - only uppercase, with underscores and numbers.
It looks like the placeholder names in the xml are now expected to be formatted using uppercase only:
However, the placeholder name must still be lowercase in the js files.