Yeah. That's worth on investigation/observation why you haven't seen that error locally.
śr., 12 cze 2019 o 20:34 Carlos Rovira <[email protected]> napisał(a): > Hi, don't understand why I don't get that fail locally. Also, something > that I was seeing since many time is that errors are logged twice. Seems > like some code in compiler is running duplicated. > > Coming back to hljs problem. how can I reproduce that problem locally in > order to fix it? > > > > El mié., 12 jun. 2019 a las 18:36, Alex Harui (<[email protected]>) > escribió: > > > I have no idea why we haven't seen that rat problem before, but now that > > Piotr fixed it, build 1908 is back to the same error most other builds > have > > had. > > > > > F:\jenkins\jenkins-slave\workspace\Royale-asjs\examples\blog\BE0012_Using_external_javascript_libraries_in_Apache_Royale\src\main\royale\BE0012_Using_external_javascript_libraries_in_Apache_Royale.mxml(33): > > col: 22 Error: Call to a possibly undefined method highlightBlock > through a > > reference with static type hljs. > > > > hljs.highlightBlock(sourceCodeMXMLText.element); > > ^ > > > > > F:\jenkins\jenkins-slave\workspace\Royale-asjs\examples\blog\BE0012_Using_external_javascript_libraries_in_Apache_Royale\src\main\royale\BE0012_Using_external_javascript_libraries_in_Apache_Royale.mxml(33): > > col: 22 Error: Call to a possibly undefined method highlightBlock > through a > > reference with static type hljs. > > > > hljs.highlightBlock(sourceCodeMXMLText.element); > > > > -Alex > > > > On 6/12/19, 7:56 AM, "Piotr Zarzycki" <[email protected]> > wrote: > > > > Carlos, > > > > Log is saying that this file is a problem for rat. In order to > confirm > > it > > you need to go to Workspace on Jenkins. Report from Rat [1] > > > > [1] > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuilds.apache.org%2Fjob%2FRoyale-asjs%2Fws%2Ftarget%2Frat.txt&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=pQySs2PwkXki5UAX3BeBedIUWxfQDSB0N6s119iJBn8%3D&reserved=0 > > > > On Wed, Jun 12, 2019, 4:43 PM Carlos Rovira <[email protected] > > > > wrote: > > > > > Hi Piotr, > > > > > > just to make sure we're on the same page: > > > * don't think fb.properties is a problem, and don't see any log > > reporting > > > that file is involved in something wrong, I searched for it in the > > log that > > > report the failure and is listed as an exclusion what is completely > > right. > > > * I have RAT turn on > > > * What I tried to express is that the folder used by Jenkins (for > us > > our > > > "royale-asjs" folder) must have some temp folder or file(s) that > > should be > > > removed. When this happen in my local machine, I go to rat.txt in > the > > > target folder that is failing and see what files report. If the > > files are > > > AS3 code, I add the corresponding license header, if the problem > > comes from > > > files not removed in a previous build for whatever reason, I need > to > > remove > > > them manually. > > > > > > You can check for this if you know why, or I can do it, although I > > never > > > try to browse that Jenkin server folder, so I'll need some guidance > > in > > > order to know how to connect and how to localize that server > folder. > > Once I > > > got there, I can do the job. > > > > > > thanks > > > > > > > > > > > > > > > El mié., 12 jun. 2019 a las 12:09, Piotr Zarzycki (< > > > [email protected]>) escribió: > > > > > > > Maybe it is placed in a wrong pom file ? Just a shoot in the > dark. > > > > > > > > śr., 12 cze 2019 o 11:21 Carlos Rovira <[email protected]> > > > > napisał(a): > > > > > > > > > about that file is already excluded in main pom.xml in the RAT > > plugin > > > > > section. For that reason build does not complain for it: > > > > > > > > > > <!-- FlashBuilder settings. frameworks/fb.properties contains > > Alex' > > > path > > > > > entries and should be removed --> > > > > > <exclude>fb.properties</exclude> > > > > > > > > > > El mié., 12 jun. 2019 a las 10:55, Piotr Zarzycki (< > > > > > [email protected]>) escribió: > > > > > > > > > > > Well that file [1] was added two years ago, so maybe it still > > needed. > > > > > > > > > > > > [1] > > > > > > > > > > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Froyale-asjs%2Fblob%2Fdevelop%2Fframeworks%2Ffb.properties&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=GMhKwh4T8AlXdsIyowGm5a7RTJellh20okF%2B8wLypaU%3D&reserved=0 > > > > > > > > > > > > śr., 12 cze 2019 o 10:46 Carlos Rovira < > > [email protected]> > > > > > > napisał(a): > > > > > > > > > > > > > Hi Piotr, > > > > > > > > > > > > > > in my experience this use to happen when some tries has > been > > done > > > > that > > > > > > > created files that was not removed, then maven pass and > find > > that > > > > kind > > > > > of > > > > > > > files. For example, if I try to build with VSCode > CTRL+ENTER > > quick > > > > > build > > > > > > > and generate a bin folder, then I need to remove or I'll > get > > a RAT > > > > > error > > > > > > > when pass maven. My bet is that we have files staled that > > need to > > > be > > > > > > > removed > > > > > > > > > > > > > > El mié., 12 jun. 2019 a las 10:40, Piotr Zarzycki (< > > > > > > > [email protected]>) escribió: > > > > > > > > > > > > > > > How your local build didn't report that ? Do you have RAT > > > checking > > > > > > > disabled > > > > > > > > for local build ? > > > > > > > > > > > > > > > > śr., 12 cze 2019 o 10:33 Piotr Zarzycki < > > > [email protected] > > > > > > > > > > > > > napisał(a): > > > > > > > > > > > > > > > > > Hi Carlos, > > > > > > > > > > > > > > > > > > This file is without license header > > > "frameworks/fb.properties" - > > > > > > This > > > > > > > is > > > > > > > > > Flash Builder related file actually ? > > > > > > > > > > > > > > > > > > śr., 12 cze 2019 o 10:25 Carlos Rovira < > > > [email protected]> > > > > > > > > > napisał(a): > > > > > > > > > > > > > > > > > >> Seems a problem with the files without license (RAT > > plugin) > > > > right? > > > > > > > > >> > > > > > > > > >> [ERROR] Failed to execute goal > > > > > > > > >> org.apache.rat:apache-rat-plugin:0.12:check > > (license-check) on > > > > > > project > > > > > > > > >> royale-framework-parent: Too many files with > unapproved > > > > license: 1 > > > > > > See > > > > > > > > >> RAT report in: > > > > > > > > >> > > f:\jenkins\jenkins-slave\workspace\Royale-asjs\target\rat.txt > > > > > > > > >> -> [Help 1][ERROR] [ERROR] To see the full stack trace > > of the > > > > > > errors, > > > > > > > > >> re-run Maven with the -e switch.[ERROR] Re-run Maven > > using the > > > > -X > > > > > > > > >> switch to enable full debug logging.[ERROR] [ERROR] > For > > more > > > > > > > > >> information about the errors and possible solutions, > > please > > > read > > > > > the > > > > > > > > >> following articles:[ERROR] [Help 1] > > > > > > > > >> > > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcwiki.apache.org%2Fconfluence%2Fdisplay%2FMAVEN%2FMojoFailureException&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=T1tyWaM1lvhVc8I%2BXlsXy9YlHNoNU8WSNRR%2F191rblw%3D&reserved=0 > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> El mié., 12 jun. 2019 a las 10:18, Apache Jenkins > > Server (< > > > > > > > > >> [email protected]>) escribió: > > > > > > > > >> > > > > > > > > >> > The Apache Jenkins build system has built > Royale-asjs > > (build > > > > > > #1905) > > > > > > > > >> > > > > > > > > > >> > Status: Still Failing > > > > > > > > >> > > > > > > > > > >> > Check console output at > > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbuilds.apache.org%2Fjob%2FRoyale-asjs%2F1905%2F&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=NWzYDarDLyYctYAoZQkvbcA5K7n3kIdUu%2FiRQSyofHU%3D&reserved=0 > > > > > > > > >> > to view the results. > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > >> -- > > > > > > > > >> Carlos Rovira > > > > > > > > >> > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=MVNGYG%2B2qu6KvmqGdbfGGpN7uivfEimGtxE3UyRizcE%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%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=4RbuFEUGRQ%2FfqhLMtR16XeB6U5SMZHeJc65IO64QwXs%3D&reserved=0 > > > > > > > > > < > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=4RbuFEUGRQ%2FfqhLMtR16XeB6U5SMZHeJc65IO64QwXs%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%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=4RbuFEUGRQ%2FfqhLMtR16XeB6U5SMZHeJc65IO64QwXs%3D&reserved=0 > > > > > > > > < > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=4RbuFEUGRQ%2FfqhLMtR16XeB6U5SMZHeJc65IO64QwXs%3D&reserved=0 > > >* > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Carlos Rovira > > > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=MVNGYG%2B2qu6KvmqGdbfGGpN7uivfEimGtxE3UyRizcE%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%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=4RbuFEUGRQ%2FfqhLMtR16XeB6U5SMZHeJc65IO64QwXs%3D&reserved=0 > > > > > > < > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=4RbuFEUGRQ%2FfqhLMtR16XeB6U5SMZHeJc65IO64QwXs%3D&reserved=0 > > >* > > > > > > > > > > > > > > > > > > > > > -- > > > > > Carlos Rovira > > > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=MVNGYG%2B2qu6KvmqGdbfGGpN7uivfEimGtxE3UyRizcE%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%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=4RbuFEUGRQ%2FfqhLMtR16XeB6U5SMZHeJc65IO64QwXs%3D&reserved=0 > > > > < > > > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.patreon.com%2Fpiotrzarzycki&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719090146&sdata=4RbuFEUGRQ%2FfqhLMtR16XeB6U5SMZHeJc65IO64QwXs%3D&reserved=0 > > >* > > > > > > > > > > > > > -- > > > Carlos Rovira > > > > > > https://nam04.safelinks.protection.outlook.com/?url=http%3A%2F%2Fabout.me%2Fcarlosrovira&data=02%7C01%7Caharui%40adobe.com%7C287bb560b00d4a3cfa8c08d6ef461b1d%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636959481719100136&sdata=K%2Fts6btXCJ0ufoujb0tHrEu3rh9JhPr0TBYByVrJ%2BR8%3D&reserved=0 > > > > > > > > > > > -- > Carlos Rovira > http://about.me/carlosrovira > -- Piotr Zarzycki Patreon: *https://www.patreon.com/piotrzarzycki <https://www.patreon.com/piotrzarzycki>*
