Hi Doug, You can probably ignore the "public var" warning unless you want to run the js-release version.
Try setting the environment variable: JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF8 I don't think it is the input side of the MXML. Two of the files are pre-compiled JS files from a SWC. If you built those yourself, you might need to rebuild after setting the environment variable. HTH. I think I'm done for tonight. -Alex On 3/17/18, 11:41 PM, "doug777" <doug777...@gmail.com> wrote: >Hi Alex, > >Now that is fantastic! > >The error it was failing on was in a .as file that was unchanged from the >old Flex project where it worked. > >The problem is that when a Number expression of the form >myObj[myArr[i].name] is on the right-hand side of = or == it needs to be >explicitly cast to Number(). > >But now that the js compiler shows you very clearly where the problem is, >this is just a trivial thing. > >Now the whole project compiles with a big bunch of warnings about changing >public vars to getter/setters, which I am working through. > >Apart from this I am left only with these three errors: > > Mar 18, 2018 1:16:00 PM com.google.javascript.jscomp.LoggerErrorManager >println >: SEVERE: ERROR - Cannot read file .../bin/js-debug/Main.js: Failed to >read: >...\bin\js-debug\Main.js, is this input UTF-8 encoded? >: >: Mar 18, 2018 1:16:00 PM com.google.javascript.jscomp.LoggerErrorManager >println >: SEVERE: ERROR - Cannot read file >.../bin/js-debug/org/apache/royale/textLayout/elements/ListElement.js: >Failed to read: >...\bin\js-debug\org\apache\royale\textLayout\elements\ListElement.js, is >this input UTF-8 encoded? >: >: Mar 18, 2018 1:16:00 PM com.google.javascript.jscomp.LoggerErrorManager >println >: SEVERE: ERROR - Cannot read file >.../bin/js-debug/org/apache/royale/textLayout/factory/StringTextLineFactor >y.js: >Failed to read: >...\bin\js-debug\org\apache\royale\textLayout\factory\StringTextLineFactor >y.js, >is this input UTF-8 encoded? > >Since all the mxml files in the project start with the line : <?xml >version="1.0" encoding="utf-8"?> , I'm not quite sure what this is about? > >Doug > > > > > >-- >Sent from: >https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapache-roy >ale-users.20374.n8.nabble.com%2F&data=02%7C01%7Caharui%40adobe.com%7C52e70 >7a9b241416d93d308d58c9b471f%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C6 >36569520917713002&sdata=9Af7mx5oZbQf3O4Gb7Qzy89I4rh0pabHXs9SAjNiyQI%3D&res >erved=0