Yes please skip it, I will look into it tomorrow. This is definitely a bug on my side. Please file a bug on it and assign it to me. We probably do not need jsdocs for RC5 yet, do we?
Am Do., 16. Feb. 2023 um 21:11 Uhr schrieb Volodymyr Siedlecki < [email protected]>: > Hello again, > > > I ran into another problem regarding the JavaScript Docs: > > [INFO] [ERROR] Failed to execute goal > org.codehaus.mojo:dependency-maven-plugin:1.0:copy (copy-jsdoc) on project > myfaces-core-assembly: Unable to find artifact.: Could not find artifact > org.apache.myfaces.core:myfaces-api:jar:jsdoc:4.0.0-RC5 in central ( > https://repo.maven.apache.org/maven2) > > Running, 'mvn clean install -PgenerateJsDoc' produced these errors: > > [INFO] --- frontend-maven-plugin:1.12.1:npm (npm run build) @ myfaces-api > --- > [INFO] Running 'npm run doc' in > /Users/volosied/opensource/myfaces/api/src/client > [INFO] > [INFO] > [email protected] doc > [INFO] > npx typedoc --tsconfig typescript/faces/tsconfig-typedoc.json > [INFO] > [INFO] error TS2318: Cannot find global type 'Boolean'. > [INFO] > [INFO] error TS2318: Cannot find global type 'Function'. > [INFO] > [INFO] error TS2318: Cannot find global type 'Number'. > [INFO] > [INFO] error TS2318: Cannot find global type 'RegExp'. > [INFO] > [INFO] typescript/faces/api/_api.ts:108:21 - error TS2339: Property > 'match' does not exist on type > '"#{facesContext.namingContainerSeparatorChar}"'. > [INFO] > [INFO] 108 return > (sep.match(/\#\{facesContext.namingContainerSeparatorChar\}/gi)) ? > Implementation.getSeparatorChar() : sep; > [INFO] ~~~~~ > [INFO] > [INFO] typescript/faces/api/_api.ts:192:62 - error TS2304: Cannot find > name 'Function'. > [INFO] > [INFO] 192 export function chain(source, event, ...funcs: > Array<Function | string>): boolean { > [INFO] > ~~~~~~~~ > [INFO] > [INFO] typescript/faces/api/_api.ts:212:29 - error TS2304: Cannot find > name 'Function'. > [INFO] > [INFO] 212 onopen: Function, > [INFO] ~~~~~~~~ > [INFO] > [INFO] typescript/faces/api/_api.ts:213:32 - error TS2304: Cannot find > name 'Function'. > [INFO] > [INFO] 213 onmessage: Function, > [INFO] ~~~~~~~~ > [INFO] > [INFO] typescript/faces/api/_api.ts:214:30 - error TS2304: Cannot find > name 'Function'. > [INFO] > [INFO] 214 onerror: Function, > [INFO] ~~~~~~~~ > [INFO] > [INFO] typescript/faces/api/_api.ts:215:30 - error TS2304: Cannot find > name 'Function'. > [INFO] > [INFO] 215 onclose: Function, > [INFO] ~~~~~~~~ > [INFO] > [INFO] typescript/faces/api/faces.ts:33:19 - error TS2580: Cannot find > name 'require'. Do you need to install type definitions for node? Try `npm > i --save-dev @types/node`. > [INFO] > [INFO] 33 const faces = require("./_api").faces; > [INFO] ~~~~~~~ > [INFO] > [INFO] typescript/faces/api/faces.ts:37:21 - error TS2580: Cannot find > name 'require'. Do you need to install type definitions for node? Try `npm > i --save-dev @types/node`. > [INFO] > [INFO] 37 const myfaces = require("./_api").myfaces; > [INFO] ~~~~~~~ > [INFO] > [INFO] typescript/faces/api/faces.ts:41:5 - error TS2693: 'Object' only > refers to a type, but is being used as a value here. > [INFO] > [INFO] 41 Object.keys(myfaces).forEach(key => window.myfaces[key] = > window.myfaces?.[key] ?? myfaces[key]); > [INFO] ~~~~~~ > [INFO] > [INFO] typescript/faces/api/jsf.ts:25:19 - error TS2580: Cannot find name > 'require'. Do you need to install type definitions for node? Try `npm i > --save-dev @types/node`. > [INFO] > [INFO] 25 const faces = require("./_api").faces; > [INFO] ~~~~~~~ > [INFO] > [INFO] typescript/faces/api/jsf.ts:38:32 - error TS2304: Cannot find name > 'Function'. > [INFO] > [INFO] 38 onopen: Function, > [INFO] ~~~~~~~~ > [INFO] > ... > a lot more > ... > [INFO] 85 (<any>global).XMLHttpRequest = window.XMLHttpRequest > = this.xhr.restore(); > [INFO] ~~~~~~ > [INFO] > [INFO] typescript/faces/test/xhrCore/XhrFormDataTest.spec.ts:104:9 - error > TS2304: Cannot find name 'global'. > [INFO] > [INFO] 104 global.debugf2 = true; > [INFO] ~~~~~~ > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 24.280 s > [INFO] Finished at: 2023-02-16T14:39:06-05:00 > [INFO] > ------------------------------------------------------------------------ > [ERROR] Failed to execute goal > com.github.eirslett:frontend-maven-plugin:1.12.1:npm (npm run build) on > project myfaces-api: Failed to run task: 'npm run doc' failed. > org.apache.commons.exec.ExecuteException: Process exited with an error: 3 > (Exit value: 3) -> [Help 1] > > POM: https://github.com/apache/myfaces/blob/main/api/pom.xml#L379 > > Should I skip the copy-jsdoc for the meantime? > > > Volodymyr > > On 2023/02/16 15:34:21 Werner Punz wrote: > > Yes it is kind of weird, I never had that issue, and I do not think it is > > related to the two issues I have fixed today. > > Could have been connected to the fixed cache resource loader issue though > > one way or the other, but that is a hunch, nothing more. > > > > Werner > > > > > > > > Am Do., 16. Feb. 2023 um 16:19 Uhr schrieb Volodymyr Siedlecki < > > [email protected]>: > > > > > It hasn't occurred this morning, but I'm not sure if it really is > fixed? > > > > > > If I see it again, I'll post more info in the JIRA you created. > > > > > > On 2023/02/16 15:14:39 Werner Punz wrote: > > > > The issue with the NPE fixed as well? > > > > > > > > Neither Thomas, nor I could reproduce it! > > > > > > > > > > > > Am Do., 16. Feb. 2023 um 16:12 Uhr schrieb Volodymyr Siedlecki < > > > > [email protected]>: > > > > > > > > > Hi, > > > > > > > > > > Thanks for working on these so quickly! I've run build twice now, > and > > > both > > > > > runs were successful! Looks to be revolved! :) > > > > > > > > > > Thanks again! > > > > > > > > > > On 2023/02/16 11:20:56 Werner Punz wrote: > > > > > > https://issues.apache.org/jira/browse/MYFACES-4565 is fixed, but > > > > > @Volodymyr > > > > > > Siedlecki <[email protected]> please check whether it > is > > > fixed > > > > > > for you. > > > > > > > > > > > > > > > > > > Am Do., 16. Feb. 2023 um 10:34 Uhr schrieb Werner Punz < > > > > > > [email protected]>: > > > > > > > > > > > > > https://issues.apache.org/jira/browse/MYFACES-4565 @Volodymyr > > > > > Siedlecki > > > > > > > <[email protected]> please have a look! > > > > > > > > > > > > > > > > > > > > > Am Do., 16. Feb. 2023 um 10:22 Uhr schrieb Werner Punz < > > > > > > > [email protected]>: > > > > > > > > > > > > > >> Second case might be TempDirFileCacheResourceLoader related. I > > > was not > > > > > > >> working on this one, but I will file an issue here for me for > now, > > > > > given I > > > > > > >> know that part a little bit! This resource loader is basically > > > just > > > > > there > > > > > > >> for small speed improvements. > > > > > > >> > > > > > > >> > > > > > > >> Am Do., 16. Feb. 2023 um 10:09 Uhr schrieb Werner Punz < > > > > > > >> [email protected]>: > > > > > > >> > > > > > > >>> The ajax test issue is resolved, the test was at fault for > > > having a > > > > > wait > > > > > > >>> timeout for findElements of Zero, which causes race > conditions! > > > > > > >>> > > > > > > >>> The second issue might be a similar race condition issue, > given > > > that > > > > > it > > > > > > >>> does not show up on my machine! > > > > > > >>> But someone else should look into it! > > > > > > >>> > > > > > > >>> > > > > > > >>> Am Do., 16. Feb. 2023 um 08:24 Uhr schrieb Werner Punz < > > > > > > >>> [email protected]>: > > > > > > >>> > > > > > > >>>> https://issues.apache.org/jira/browse/MYFACES-4564 > > > > > > >>>> I have created one for the timeout issue. I will take care > of it > > > > > today. > > > > > > >>>> > > > > > > >>>> Werner > > > > > > >>>> > > > > > > >>>> Am Do., 16. Feb. 2023 um 08:21 Uhr schrieb Werner Punz < > > > > > > >>>> [email protected]>: > > > > > > >>>> > > > > > > >>>>> Hi I will have a look at this. Re Tabletest, the test > probably > > > > > needs > > > > > > >>>>> to be adapted here, it still uses timeouts instead of > waiting > > > for > > > > > > >>>>> conditions on the dom, the new JS code is somewhat slower > in > > > > > execution (not > > > > > > >>>>> by miles, but it is slower given the higher level of > > > abstraction). > > > > > I will > > > > > > >>>>> take over the test. It executes fine on my machine, so it > is > > > very > > > > > very > > > > > > >>>>> likely a timeout issue which needs to be fixed on test > level! > > > The > > > > > second > > > > > > >>>>> test, someone else has to look into. > > > > > > >>>>> > > > > > > >>>>> > > > > > > >>>>> > > > > > > >>>>> Am Do., 16. Feb. 2023 um 05:58 Uhr schrieb Volodymyr > Siedlecki > > > < > > > > > > >>>>> [email protected]>: > > > > > > >>>>> > > > > > > >>>>>> Hi, > > > > > > >>>>>> > > > > > > >>>>>> I was hoping to have a release vote out today, but I've > been > > > hit > > > > > by a > > > > > > >>>>>> numerous errors when building MyFaces. > > > > > > >>>>>> > > > > > > >>>>>> Some have disappeared already (through no action of my > own), > > > but > > > > > the > > > > > > >>>>>> one I keep getting the most is this ajax one: > > > > > > >>>>>> > > > > > > >>>>>> [INFO] [ERROR] Tests run: 6, Failures: 0, Errors: 1, > Skipped: > > > 0, > > > > > Time > > > > > > >>>>>> elapsed: 21.554 s <<< FAILURE! - in > > > > > > >>>>>> > org.apache.myfaces.core.integrationtests.ajax.IntegrationTest > > > > > > >>>>>> [INFO] [ERROR] > > > > > > >>>>>> > > > > > > > > > org.apache.myfaces.core.integrationtests.ajax.IntegrationTest.testBasicTable > > > > > > >>>>>> Time elapsed: 6.733 s <<< ERROR! > > > > > > >>>>>> [INFO] org.openqa.selenium.TimeoutException: Expected > > > condition > > > > > > >>>>>> failed: waiting for > > > > > > >>>>>> > > > > > > > > > org.apache.myfaces.core.integrationtests.ajax.IntegrationTest$$Lambda$675/0x000000080085b040@2f54f746 > > > > > > >>>>>> (tried for 0 second(s) with 500 milliseconds interval) > > > > > > >>>>>> [INFO] at > > > > > > >>>>>> > > > > > > > > > org.openqa.selenium.support.ui.WebDriverWait.timeoutException(WebDriverWait.java:87) > > > > > > >>>>>> ... > > > > > > >>>>>> [INFO] at > > > > > > >>>>>> > > > > > > > > > org.apache.maven.surefire.booter.ForkedBooter.execute(ForkedBooter.java:169) > > > > > > >>>>>> [INFO] at > > > > > > >>>>>> > > > > > > > > > org.apache.maven.surefire.booter.ForkedBooter.run(ForkedBooter.java:595) > > > > > > >>>>>> [INFO] at > > > > > > >>>>>> > > > > > > > > > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:581) > > > > > > >>>>>> [INFO] Caused by: > org.openqa.selenium.NoSuchElementException: > > > no > > > > > such > > > > > > >>>>>> element: Unable to locate element: {"method":"css > > > > > > >>>>>> selector","selector":"#head_row1_0"} > > > > > > >>>>>> [INFO] (Session info: headless chrome=110.0.5481.100) > > > > > > >>>>>> > > > > > > >>>>>> > > > > > > >>>>>> Others: > > > > > > >>>>>> > > > > > > >>>>>> > > > > > > > > > CompositeComponentValueChangeListenerTestCase.testSimpleValueChangeListenerNoTarget:336 > > > > > > >>>>>> » NullPointer > > > > > > >>>>>> _________ > > > > > > >>>>>> > > > > > > >>>>>> [ERROR] Errors: > > > > > > >>>>>> [ERROR] > > > > > > >>>>>> > > > > > > > > > AcidMyFacesRequestTestCase.testAddSimpleCCVDL3:1075->AbstractMyFacesRequestTestCase.processLifecycleExecuteAndRender:225->AbstractMyFacesRequestTestCase.renderResponse:256->AbstractMyFacesTestCase.renderResponse:551 > > > > > > >>>>>> » Faces java.lang.NullPointerException > > > > > > >>>>>> _____ > > > > > > >>>>>> > > > > > > >>>>>> ——————————————————————————————————————— > > > > > > >>>>>> Test set: > > > > > > >>>>>> > > > > > > > > > org.apache.myfaces.view.facelets.tag.composite.CompositeComponentNestedCCTestCase > > > > > > >>>>>> ——————————————————————————————————————— > > > > > > >>>>>> Tests run: 14, Failures: 0, Errors: 1, Skipped: 0, Time > > > elapsed: > > > > > > >>>>>> 2.572 s <<< FAILURE! - in > > > > > > >>>>>> > > > > > > > > > org.apache.myfaces.view.facelets.tag.composite.CompositeComponentNestedCCTestCase > > > > > > >>>>>> > > > > > > > > > org.apache.myfaces.view.facelets.tag.composite.CompositeComponentMethodExpressionTestCase.testCompositeMethodExpressionTarget2 > > > > > > >>>>>> Time elapsed: 0.106 s <<< ERROR! > > > > > > >>>>>> java.lang.NullPointerException > > > > > > >>>>>> at > > > > > > >>>>>> > > > > > > > > > org.apache.myfaces.resource.TempDirFileCacheResourceLoader.deleteDir(TempDirFileCacheResourceLoader.java:145) > > > > > > >>>>>> > > > > > > >>>>>> > > > > > > >>>>>> Has anyone encountered these...? > > > > > > >>>>>> > > > > > > >>>>>> > > > > > > >>>>>> > > > > > > >>>>>> On 2023/02/15 19:30:06 Melloware wrote: > > > > > > >>>>>> > +1 from me. > > > > > > >>>>>> > > > > > > > >>>>>> > On 2/15/2023 10:06 AM, Volodymyr Siedlecki wrote: > > > > > > >>>>>> > > Hello, > > > > > > >>>>>> > > > > > > > > >>>>>> > > Is the code ready for an RC5 release? I saw Thomas and > > > Werner > > > > > > >>>>>> have > > > > > > >>>>>> > > some discussion regarding building on windows, but a > fix > > > was > > > > > > >>>>>> just > > > > > > >>>>>> > > merged in. > > > > > > >>>>>> > > > > > > > > >>>>>> > > I would like to merge > > > > > https://github.com/apache/myfaces/pull/520 > > > > > > >>>>>> > > (MYFACES-4561), if possible, but it shouldn't hold up > RC5. > > > > > > >>>>>> > > > > > > > > >>>>>> > > If there's anything else that should be merged in, > let me > > > > > know. > > > > > > >>>>>> > > > > > > > > >>>>>> > > Thanks, > > > > > > >>>>>> > > Volodymyr > > > > > > >>>>>> > > > > > > > >>>>>> > > > > > > >>>>> > > > > > > > > > > > > > > > > > > > > >
