Yes, the Ant build tries to fix the line endings on the scripts in js/bin (I assume the Maven build does something similar, but I'm not familiar with it). I just checked, and it did not seem to try to fix the line endings on the scripts in bin.
I just committed a change that should do that now. Let me know if it helps, once there's a nightly build that includes this commit. https://github.com/apache/royale-asjs/commit/267ba30c980a7c6df3408fa1eb49390277f3fc89 -- Josh Tynjala Bowler Hat LLC <https://bowlerhat.dev> On Thu, Jan 23, 2020 at 7:26 AM Piotr Zarzycki <[email protected]> wrote: > > > > You can check the build log and see if the CRLF removal tasks ran or not. > > > Alex what do you mean by that - do we have some removal CRLF task during > build ? > > czw., 23 sty 2020 o 16:25 Piotr Zarzycki <[email protected]> > napisał(a): > > > I have just downloaded .tar.gz > > < > http://apacheroyaleci2.westus2.cloudapp.azure.com:8080/job/royale-asjs_jsonly/676/artifact/out/apache-royale-0.9.7-bin-js.tar.gz> > of > > latest Nightly and result is exactly the same, so files probably have > some > > unwanted characters. > > > > śr., 22 sty 2020 o 22:42 Alex Harui <[email protected]> > napisał(a): > > > >> IIRC, there is a step in the build process that is supposed to remove > >> CRLF from certain files. Did you use the zip or tar.gz for Mac? It > might > >> be that if you use the zip on a Mac that the files may still have CRLF. > >> You can check the build log and see if the CRLF removal tasks ran or > not. > >> > >> I rarely use those scripts so they might have been broken for a long > time. > >> > >> -Alex > >> > >> On 1/22/20, 11:56 AM, "Piotr Zarzycki" <[email protected]> > >> wrote: > >> > >> Alex, Carlos, > >> > >> I have checked mxmlc file in repository and it has LF lines only > >> which is > >> ok. However when I have downloaded build version of SDK [1] - that > >> file and > >> others has CR LF [2] - which causes all problems on Mac. > >> Maybe this is problem with our build machine where after checkout > >> something > >> is not right. I would suggests what line endings after checkout have > >> that > >> files on our machine (I can't access it right now). > >> > >> [1] > >> > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fapacheroyaleci2.westus2.cloudapp.azure.com%3A8080%2Fjob%2Froyale-asjs_jsonly%2F&data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&sdata=Aju44%2BimSaZWK9MYTXlx7w8ccrw0Bznm0NrFPFOQzVc%3D&reserved=0 > >> [2] > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fibb.co%2FQ69p1BW&data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&sdata=ONerEV8VAQE8IVU%2FIbm2VzCMNfYVp8HxCOn4NsMBZw4%3D&reserved=0 > >> > >> Thanks, > >> Piotr > >> > >> śr., 22 sty 2020 o 18:38 Carlos Rovira <[email protected]> > >> napisał(a): > >> > >> > Hi, > >> > > >> > this could be something to do with changes done by me? if so I'm > on > >> Mac not > >> > Windows > >> > > >> > El mié., 22 ene. 2020 a las 17:11, Alex Harui > >> (<[email protected]>) > >> > escribió: > >> > > >> > > > >> > > > >> > > On 1/22/20, 4:57 AM, "Piotr Zarzycki" < > [email protected]> > >> > wrote: > >> > > > >> > > Hi, > >> > > > >> > > This is the day of failing. > >> > > > >> > > I've definitely had days like this... > >> > > > >> > > Another issue which I'm struggling with is > >> > > failing API report generation with SDK Nightly build [1] for > >> a simple > >> > > Hello > >> > > World Flex app. > >> > > > >> > > > >> > > > >> > > > >> /Users/piotr/Downloads/apache-royale-0.9.7-bin-js/royale-asjs/bin/mxmlc: > >> > > /bin/sh^M: bad interpreter: No such file or directory > >> > > > >> > > Do you have any idea why it may happen ? > >> > > > >> > > That usually means that the mxmlc script has Windows line > endings. > >> > > > >> > > -Alex > >> > > > >> > > > >> > > > >> > > >> > -- > >> > Carlos Rovira > >> > > >> > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&sdata=ivffpA6vPAMXm2Va59ENN8CjS7gFH0EPkC7Xd1ZrrSA%3D&reserved=0 > >> > > >> > >> > >> -- > >> > >> Piotr Zarzycki > >> > >> Patreon: * > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&reserved=0 > >> < > >> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7Cbedba7092fc542c5477e08d79f75280c%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C637153197845283911&sdata=Kju%2FeSAeIxzBQyRttQ4gXeL6iICyeeWQKV0MkGFbnLE%3D&reserved=0 > >> >* > >> > >> > >> > > > > -- > > > > Piotr Zarzycki > > > > Patreon: *https://www.patreon.com/piotrzarzycki > > <https://www.patreon.com/piotrzarzycki>* > > > > > -- > > Piotr Zarzycki > > Patreon: *https://www.patreon.com/piotrzarzycki > <https://www.patreon.com/piotrzarzycki>* >
