Re: Building OM 6.0.0
Okay. Thank you. Filip ut 6. 4. 2021 o 15:01 Maxim Solodovnik napísal(a): > clarification: JDK11 required for build only > According to reports OM should work as expected under JDK16 :) > > On Tue, 6 Apr 2021 at 19:51, Filip Žák wrote: > > > > Okay thank you so I will install JDK11. > > > > Thanks > > > > Filip > > > > ut 6. 4. 2021 o 14:50 Maxim Solodovnik > napísal(a): > >> > >> I have no idea > >> current requirement for build is JDK11 > >> > >> I can try to check the build using next LTS but later > >> > >> On Tue, 6 Apr 2021 at 19:47, Filip Žák wrote: > >> > > >> > Okay maybe there is a problem. And what about versions 12, 13, 14 and > 15? Could they work? > >> > > >> > ut 6. 4. 2021 o 14:44 Maxim Solodovnik > napísal(a): > >> >> > >> >> Can you build with JDK11 ? > >> >> I never tried to build with JDK16 :( > >> >> the build might need to be tweaked ... > >> >> > >> >> On Tue, 6 Apr 2021 at 19:42, Filip Žák wrote: > >> >> > > >> >> > I have OracleJDK 16 and Apache Maven 3.6.3. > >> >> > > >> >> > ut 6. 4. 2021 o 14:20 Maxim Solodovnik > napísal(a): > >> >> >> > >> >> >> JDK version please :) > >> >> >> > >> >> >> On Tue, 6 Apr 2021 at 18:33, Filip Žák > wrote: > >> >> >> > > >> >> >> > Hello, > >> >> >> > I have a problem with building OM 6.0.0 again. This time on > Debian. First I'm building it on a really slow virtual server (just one > core) so maybe that is the problem. It fails on Openmeetings-Web: > >> >> >> > > >> >> >> > [INFO] Results: > >> >> >> > [INFO] > >> >> >> > [ERROR] Failures: > >> >> >> > [ERROR] TestDateTime.test3:85 expected: > but was: > >> >> >> > [ERROR] Errors: > >> >> >> > [ERROR] TestLdap » IllegalAccess class > org.apache.directory.server.core.security.Certi... > >> >> >> > [ERROR] > > TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 > » WicketRuntime > >> >> >> > [ERROR] > > TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 > » WicketRuntime > >> >> >> > [INFO] > >> >> >> > [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 > >> >> >> > [INFO] > >> >> >> > [INFO] > > >> >> >> > [INFO] Reactor Summary for Openmeetings 6.0.0: > >> >> >> > [INFO] > >> >> >> > [INFO] Openmeetings ... > SUCCESS [ 39.207 s] > >> >> >> > [INFO] Openmeetings Util .. > SUCCESS [11:42 min] > >> >> >> > [INFO] Openmeetings DB > SUCCESS [ 54.698 s] > >> >> >> > [INFO] Openmeetings Core .. > SUCCESS [02:02 min] > >> >> >> > [INFO] Openmeetings Install ... > SUCCESS [ 40.152 s] > >> >> >> > [INFO] Openmeetings Service ... > SUCCESS [ 32.495 s] > >> >> >> > [INFO] Openmeetings Webservices ... > SUCCESS [02:12 min] > >> >> >> > [INFO] Openmeetings Web ... > FAILURE [ 02:23 h] > >> >> >> > [INFO] Openmeetings Screen Sharing applet . > SKIPPED > >> >> >> > [INFO] Openmeetings Server > SKIPPED > >> >> >> > [INFO] > > >> >> >> > [INFO] BUILD FAILURE > >> >> >> > [INFO] > > >> >> >> > [INFO] Total time: 02:42 h > >> >> >> > > >> >> >> > > >> >> >> > I opened logs of these errors and failure. Here they are: > >> >> >> > > >> >> >> > > --- > >> >> >> > Test set: org.apache.openmeetings.ldap.TestLdap > >> >> >> > > --- > >> >> >> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 10.518 s <<< FAILURE! - in > org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap > Time elapsed: 10.518 s <<< ERROR! > >> >> >> > java.lang.IllegalAccessError: class > org.apache.directory.server.core.security.CertificateUtil (in unnamed > module @0x42e26948) cannot access class sun.security.x509.X500Name (in > module java.base) because module java.base does not export > sun.security.x509 to unnamed module @0x42e26948 > >> >> >> > > >> >> >> > > >> >> >> > > --- > >> >> >> > Test set: org.apache.openmeetings.web.TestMainAreas > >> >> >> > > --- > >> >> >> > Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time > elapsed: 353.076 s <<< FAILURE! - in > org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang > Time elapsed: 1.553 s <<< ERROR! > >> >> >> >
Re: Building OM 6.0.0
clarification: JDK11 required for build only According to reports OM should work as expected under JDK16 :) On Tue, 6 Apr 2021 at 19:51, Filip Žák wrote: > > Okay thank you so I will install JDK11. > > Thanks > > Filip > > ut 6. 4. 2021 o 14:50 Maxim Solodovnik napísal(a): >> >> I have no idea >> current requirement for build is JDK11 >> >> I can try to check the build using next LTS but later >> >> On Tue, 6 Apr 2021 at 19:47, Filip Žák wrote: >> > >> > Okay maybe there is a problem. And what about versions 12, 13, 14 and 15? >> > Could they work? >> > >> > ut 6. 4. 2021 o 14:44 Maxim Solodovnik napísal(a): >> >> >> >> Can you build with JDK11 ? >> >> I never tried to build with JDK16 :( >> >> the build might need to be tweaked ... >> >> >> >> On Tue, 6 Apr 2021 at 19:42, Filip Žák wrote: >> >> > >> >> > I have OracleJDK 16 and Apache Maven 3.6.3. >> >> > >> >> > ut 6. 4. 2021 o 14:20 Maxim Solodovnik >> >> > napísal(a): >> >> >> >> >> >> JDK version please :) >> >> >> >> >> >> On Tue, 6 Apr 2021 at 18:33, Filip Žák wrote: >> >> >> > >> >> >> > Hello, >> >> >> > I have a problem with building OM 6.0.0 again. This time on Debian. >> >> >> > First I'm building it on a really slow virtual server (just one >> >> >> > core) so maybe that is the problem. It fails on Openmeetings-Web: >> >> >> > >> >> >> > [INFO] Results: >> >> >> > [INFO] >> >> >> > [ERROR] Failures: >> >> >> > [ERROR] TestDateTime.test3:85 expected: but >> >> >> > was: >> >> >> > [ERROR] Errors: >> >> >> > [ERROR] TestLdap » IllegalAccess class >> >> >> > org.apache.directory.server.core.security.Certi... >> >> >> > [ERROR] >> >> >> > TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 >> >> >> > » WicketRuntime >> >> >> > [ERROR] >> >> >> > TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 >> >> >> > » WicketRuntime >> >> >> > [INFO] >> >> >> > [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 >> >> >> > [INFO] >> >> >> > [INFO] >> >> >> > >> >> >> > [INFO] Reactor Summary for Openmeetings 6.0.0: >> >> >> > [INFO] >> >> >> > [INFO] Openmeetings ... SUCCESS >> >> >> > [ 39.207 s] >> >> >> > [INFO] Openmeetings Util .. SUCCESS >> >> >> > [11:42 min] >> >> >> > [INFO] Openmeetings DB SUCCESS >> >> >> > [ 54.698 s] >> >> >> > [INFO] Openmeetings Core .. SUCCESS >> >> >> > [02:02 min] >> >> >> > [INFO] Openmeetings Install ... SUCCESS >> >> >> > [ 40.152 s] >> >> >> > [INFO] Openmeetings Service ... SUCCESS >> >> >> > [ 32.495 s] >> >> >> > [INFO] Openmeetings Webservices ... SUCCESS >> >> >> > [02:12 min] >> >> >> > [INFO] Openmeetings Web ... FAILURE >> >> >> > [ 02:23 h] >> >> >> > [INFO] Openmeetings Screen Sharing applet . SKIPPED >> >> >> > [INFO] Openmeetings Server SKIPPED >> >> >> > [INFO] >> >> >> > >> >> >> > [INFO] BUILD FAILURE >> >> >> > [INFO] >> >> >> > >> >> >> > [INFO] Total time: 02:42 h >> >> >> > >> >> >> > >> >> >> > I opened logs of these errors and failure. Here they are: >> >> >> > >> >> >> > --- >> >> >> > Test set: org.apache.openmeetings.ldap.TestLdap >> >> >> > --- >> >> >> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: >> >> >> > 10.518 s <<< FAILURE! - in >> >> >> > org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap >> >> >> > Time elapsed: 10.518 s <<< ERROR! >> >> >> > java.lang.IllegalAccessError: class >> >> >> > org.apache.directory.server.core.security.CertificateUtil (in >> >> >> > unnamed module @0x42e26948) cannot access class >> >> >> > sun.security.x509.X500Name (in module java.base) because module >> >> >> > java.base does not export sun.security.x509 to unnamed module >> >> >> > @0x42e26948 >> >> >> > >> >> >> > >> >> >> > --- >> >> >> > Test set: org.apache.openmeetings.web.TestMainAreas >> >> >> > --- >> >> >> > Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: >> >> >> > 353.076 s <<< FAILURE! - in >> >> >> > org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang >> >> >> > Time elapsed: 1.553 s <<< ERROR!
Re: Building OM 6.0.0
Okay thank you so I will install JDK11. Thanks Filip ut 6. 4. 2021 o 14:50 Maxim Solodovnik napísal(a): > I have no idea > current requirement for build is JDK11 > > I can try to check the build using next LTS but later > > On Tue, 6 Apr 2021 at 19:47, Filip Žák wrote: > > > > Okay maybe there is a problem. And what about versions 12, 13, 14 and > 15? Could they work? > > > > ut 6. 4. 2021 o 14:44 Maxim Solodovnik > napísal(a): > >> > >> Can you build with JDK11 ? > >> I never tried to build with JDK16 :( > >> the build might need to be tweaked ... > >> > >> On Tue, 6 Apr 2021 at 19:42, Filip Žák wrote: > >> > > >> > I have OracleJDK 16 and Apache Maven 3.6.3. > >> > > >> > ut 6. 4. 2021 o 14:20 Maxim Solodovnik > napísal(a): > >> >> > >> >> JDK version please :) > >> >> > >> >> On Tue, 6 Apr 2021 at 18:33, Filip Žák wrote: > >> >> > > >> >> > Hello, > >> >> > I have a problem with building OM 6.0.0 again. This time on > Debian. First I'm building it on a really slow virtual server (just one > core) so maybe that is the problem. It fails on Openmeetings-Web: > >> >> > > >> >> > [INFO] Results: > >> >> > [INFO] > >> >> > [ERROR] Failures: > >> >> > [ERROR] TestDateTime.test3:85 expected: but > was: > >> >> > [ERROR] Errors: > >> >> > [ERROR] TestLdap » IllegalAccess class > org.apache.directory.server.core.security.Certi... > >> >> > [ERROR] > > TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 > » WicketRuntime > >> >> > [ERROR] > > TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 > » WicketRuntime > >> >> > [INFO] > >> >> > [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 > >> >> > [INFO] > >> >> > [INFO] > > >> >> > [INFO] Reactor Summary for Openmeetings 6.0.0: > >> >> > [INFO] > >> >> > [INFO] Openmeetings ... > SUCCESS [ 39.207 s] > >> >> > [INFO] Openmeetings Util .. > SUCCESS [11:42 min] > >> >> > [INFO] Openmeetings DB > SUCCESS [ 54.698 s] > >> >> > [INFO] Openmeetings Core .. > SUCCESS [02:02 min] > >> >> > [INFO] Openmeetings Install ... > SUCCESS [ 40.152 s] > >> >> > [INFO] Openmeetings Service ... > SUCCESS [ 32.495 s] > >> >> > [INFO] Openmeetings Webservices ... > SUCCESS [02:12 min] > >> >> > [INFO] Openmeetings Web ... > FAILURE [ 02:23 h] > >> >> > [INFO] Openmeetings Screen Sharing applet . SKIPPED > >> >> > [INFO] Openmeetings Server SKIPPED > >> >> > [INFO] > > >> >> > [INFO] BUILD FAILURE > >> >> > [INFO] > > >> >> > [INFO] Total time: 02:42 h > >> >> > > >> >> > > >> >> > I opened logs of these errors and failure. Here they are: > >> >> > > >> >> > > --- > >> >> > Test set: org.apache.openmeetings.ldap.TestLdap > >> >> > > --- > >> >> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 10.518 s <<< FAILURE! - in > org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap > Time elapsed: 10.518 s <<< ERROR! > >> >> > java.lang.IllegalAccessError: class > org.apache.directory.server.core.security.CertificateUtil (in unnamed > module @0x42e26948) cannot access class sun.security.x509.X500Name (in > module java.base) because module java.base does not export > sun.security.x509 to unnamed module @0x42e26948 > >> >> > > >> >> > > >> >> > > --- > >> >> > Test set: org.apache.openmeetings.web.TestMainAreas > >> >> > > --- > >> >> > Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 353.076 s <<< FAILURE! - in > org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang > Time elapsed: 1.553 s <<< ERROR! > >> >> > org.apache.wicket.WicketRuntimeException: > >> >> > An error occurred while getting the model object for Component: > [Component id = key, page = org.apache.openmeetings.web.pages.MainPage, > path = main-container:main:contents:child:listContainer:langList:1:key, > type = org.apache.wicket.markup.html.basic.Label, isVisible = true, > isVersioned = true, markup = [markup = > file:/home/debian/openmeetings/openmeetings-web/target/test-root/WEB-INF/classes/org/apache/openmeetings/web/admin/labels/LangPanel.html > >> >> > , index =
Re: Building OM 6.0.0
I have no idea current requirement for build is JDK11 I can try to check the build using next LTS but later On Tue, 6 Apr 2021 at 19:47, Filip Žák wrote: > > Okay maybe there is a problem. And what about versions 12, 13, 14 and 15? > Could they work? > > ut 6. 4. 2021 o 14:44 Maxim Solodovnik napísal(a): >> >> Can you build with JDK11 ? >> I never tried to build with JDK16 :( >> the build might need to be tweaked ... >> >> On Tue, 6 Apr 2021 at 19:42, Filip Žák wrote: >> > >> > I have OracleJDK 16 and Apache Maven 3.6.3. >> > >> > ut 6. 4. 2021 o 14:20 Maxim Solodovnik napísal(a): >> >> >> >> JDK version please :) >> >> >> >> On Tue, 6 Apr 2021 at 18:33, Filip Žák wrote: >> >> > >> >> > Hello, >> >> > I have a problem with building OM 6.0.0 again. This time on Debian. >> >> > First I'm building it on a really slow virtual server (just one core) >> >> > so maybe that is the problem. It fails on Openmeetings-Web: >> >> > >> >> > [INFO] Results: >> >> > [INFO] >> >> > [ERROR] Failures: >> >> > [ERROR] TestDateTime.test3:85 expected: but was: >> >> > >> >> > [ERROR] Errors: >> >> > [ERROR] TestLdap » IllegalAccess class >> >> > org.apache.directory.server.core.security.Certi... >> >> > [ERROR] >> >> > TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 >> >> > » WicketRuntime >> >> > [ERROR] >> >> > TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 >> >> > » WicketRuntime >> >> > [INFO] >> >> > [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 >> >> > [INFO] >> >> > [INFO] >> >> > >> >> > [INFO] Reactor Summary for Openmeetings 6.0.0: >> >> > [INFO] >> >> > [INFO] Openmeetings ... SUCCESS [ >> >> > 39.207 s] >> >> > [INFO] Openmeetings Util .. SUCCESS >> >> > [11:42 min] >> >> > [INFO] Openmeetings DB SUCCESS [ >> >> > 54.698 s] >> >> > [INFO] Openmeetings Core .. SUCCESS >> >> > [02:02 min] >> >> > [INFO] Openmeetings Install ... SUCCESS [ >> >> > 40.152 s] >> >> > [INFO] Openmeetings Service ... SUCCESS [ >> >> > 32.495 s] >> >> > [INFO] Openmeetings Webservices ... SUCCESS >> >> > [02:12 min] >> >> > [INFO] Openmeetings Web ... FAILURE [ >> >> > 02:23 h] >> >> > [INFO] Openmeetings Screen Sharing applet . SKIPPED >> >> > [INFO] Openmeetings Server SKIPPED >> >> > [INFO] >> >> > >> >> > [INFO] BUILD FAILURE >> >> > [INFO] >> >> > >> >> > [INFO] Total time: 02:42 h >> >> > >> >> > >> >> > I opened logs of these errors and failure. Here they are: >> >> > >> >> > --- >> >> > Test set: org.apache.openmeetings.ldap.TestLdap >> >> > --- >> >> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.518 >> >> > s <<< FAILURE! - in >> >> > org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap >> >> > Time elapsed: 10.518 s <<< ERROR! >> >> > java.lang.IllegalAccessError: class >> >> > org.apache.directory.server.core.security.CertificateUtil (in unnamed >> >> > module @0x42e26948) cannot access class sun.security.x509.X500Name (in >> >> > module java.base) because module java.base does not export >> >> > sun.security.x509 to unnamed module @0x42e26948 >> >> > >> >> > >> >> > --- >> >> > Test set: org.apache.openmeetings.web.TestMainAreas >> >> > --- >> >> > Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: >> >> > 353.076 s <<< FAILURE! - in >> >> > org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang >> >> > Time elapsed: 1.553 s <<< ERROR! >> >> > org.apache.wicket.WicketRuntimeException: >> >> > An error occurred while getting the model object for Component: >> >> > [Component id = key, page = org.apache.openmeetings.web.pages.MainPage, >> >> > path = main-container:main:contents:child:listContainer:langList:1:key, >> >> > type = org.apache.wicket.markup.html.basic.Label, isVisible = true, >> >> > isVersioned = true, markup = [markup = >> >> > file:/home/debian/openmeetings/openmeetings-web/target/test-root/WEB-INF/classes/org/apache/openmeetings/web/admin/labels/LangPanel.html >> >> > , index = 0, current = '> >> >
Re: Building OM 6.0.0
Okay maybe there is a problem. And what about versions 12, 13, 14 and 15? Could they work? ut 6. 4. 2021 o 14:44 Maxim Solodovnik napísal(a): > Can you build with JDK11 ? > I never tried to build with JDK16 :( > the build might need to be tweaked ... > > On Tue, 6 Apr 2021 at 19:42, Filip Žák wrote: > > > > I have OracleJDK 16 and Apache Maven 3.6.3. > > > > ut 6. 4. 2021 o 14:20 Maxim Solodovnik > napísal(a): > >> > >> JDK version please :) > >> > >> On Tue, 6 Apr 2021 at 18:33, Filip Žák wrote: > >> > > >> > Hello, > >> > I have a problem with building OM 6.0.0 again. This time on Debian. > First I'm building it on a really slow virtual server (just one core) so > maybe that is the problem. It fails on Openmeetings-Web: > >> > > >> > [INFO] Results: > >> > [INFO] > >> > [ERROR] Failures: > >> > [ERROR] TestDateTime.test3:85 expected: but > was: > >> > [ERROR] Errors: > >> > [ERROR] TestLdap » IllegalAccess class > org.apache.directory.server.core.security.Certi... > >> > [ERROR] > > TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 > » WicketRuntime > >> > [ERROR] > > TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 > » WicketRuntime > >> > [INFO] > >> > [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 > >> > [INFO] > >> > [INFO] > > >> > [INFO] Reactor Summary for Openmeetings 6.0.0: > >> > [INFO] > >> > [INFO] Openmeetings ... SUCCESS [ > 39.207 s] > >> > [INFO] Openmeetings Util .. SUCCESS > [11:42 min] > >> > [INFO] Openmeetings DB SUCCESS [ > 54.698 s] > >> > [INFO] Openmeetings Core .. SUCCESS > [02:02 min] > >> > [INFO] Openmeetings Install ... SUCCESS [ > 40.152 s] > >> > [INFO] Openmeetings Service ... SUCCESS [ > 32.495 s] > >> > [INFO] Openmeetings Webservices ... SUCCESS > [02:12 min] > >> > [INFO] Openmeetings Web ... FAILURE > [ 02:23 h] > >> > [INFO] Openmeetings Screen Sharing applet . SKIPPED > >> > [INFO] Openmeetings Server SKIPPED > >> > [INFO] > > >> > [INFO] BUILD FAILURE > >> > [INFO] > > >> > [INFO] Total time: 02:42 h > >> > > >> > > >> > I opened logs of these errors and failure. Here they are: > >> > > >> > > --- > >> > Test set: org.apache.openmeetings.ldap.TestLdap > >> > > --- > >> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 10.518 s <<< FAILURE! - in > org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap > Time elapsed: 10.518 s <<< ERROR! > >> > java.lang.IllegalAccessError: class > org.apache.directory.server.core.security.CertificateUtil (in unnamed > module @0x42e26948) cannot access class sun.security.x509.X500Name (in > module java.base) because module java.base does not export > sun.security.x509 to unnamed module @0x42e26948 > >> > > >> > > >> > > --- > >> > Test set: org.apache.openmeetings.web.TestMainAreas > >> > > --- > >> > Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 353.076 s <<< FAILURE! - in > org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang > Time elapsed: 1.553 s <<< ERROR! > >> > org.apache.wicket.WicketRuntimeException: > >> > An error occurred while getting the model object for Component: > [Component id = key, page = org.apache.openmeetings.web.pages.MainPage, > path = main-container:main:contents:child:listContainer:langList:1:key, > type = org.apache.wicket.markup.html.basic.Label, isVisible = true, > isVersioned = true, markup = [markup = > file:/home/debian/openmeetings/openmeetings-web/target/test-root/WEB-INF/classes/org/apache/openmeetings/web/admin/labels/LangPanel.html > >> > , index = 0, current = ' wicket:id="key">' (line 0, column 0)]] > >> > at > org.apache.openmeetings.web.TestMainAreas.lambda$checkArea$1(TestMainAreas.java:93) > >> > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:91) > >> > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:85) > >> > at > org.apache.openmeetings.web.TestMainAreas.testAdminLang(TestMainAreas.java:209) > >> > Caused by:
Re: Building OM 6.0.0
Can you build with JDK11 ? I never tried to build with JDK16 :( the build might need to be tweaked ... On Tue, 6 Apr 2021 at 19:42, Filip Žák wrote: > > I have OracleJDK 16 and Apache Maven 3.6.3. > > ut 6. 4. 2021 o 14:20 Maxim Solodovnik napísal(a): >> >> JDK version please :) >> >> On Tue, 6 Apr 2021 at 18:33, Filip Žák wrote: >> > >> > Hello, >> > I have a problem with building OM 6.0.0 again. This time on Debian. First >> > I'm building it on a really slow virtual server (just one core) so maybe >> > that is the problem. It fails on Openmeetings-Web: >> > >> > [INFO] Results: >> > [INFO] >> > [ERROR] Failures: >> > [ERROR] TestDateTime.test3:85 expected: but was: >> > >> > [ERROR] Errors: >> > [ERROR] TestLdap » IllegalAccess class >> > org.apache.directory.server.core.security.Certi... >> > [ERROR] >> > TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 >> > » WicketRuntime >> > [ERROR] >> > TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 >> > » WicketRuntime >> > [INFO] >> > [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 >> > [INFO] >> > [INFO] >> > >> > [INFO] Reactor Summary for Openmeetings 6.0.0: >> > [INFO] >> > [INFO] Openmeetings ... SUCCESS [ >> > 39.207 s] >> > [INFO] Openmeetings Util .. SUCCESS [11:42 >> > min] >> > [INFO] Openmeetings DB SUCCESS [ >> > 54.698 s] >> > [INFO] Openmeetings Core .. SUCCESS [02:02 >> > min] >> > [INFO] Openmeetings Install ... SUCCESS [ >> > 40.152 s] >> > [INFO] Openmeetings Service ... SUCCESS [ >> > 32.495 s] >> > [INFO] Openmeetings Webservices ... SUCCESS [02:12 >> > min] >> > [INFO] Openmeetings Web ... FAILURE [ >> > 02:23 h] >> > [INFO] Openmeetings Screen Sharing applet . SKIPPED >> > [INFO] Openmeetings Server SKIPPED >> > [INFO] >> > >> > [INFO] BUILD FAILURE >> > [INFO] >> > >> > [INFO] Total time: 02:42 h >> > >> > >> > I opened logs of these errors and failure. Here they are: >> > >> > --- >> > Test set: org.apache.openmeetings.ldap.TestLdap >> > --- >> > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.518 s >> > <<< FAILURE! - in >> > org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap >> > Time elapsed: 10.518 s <<< ERROR! >> > java.lang.IllegalAccessError: class >> > org.apache.directory.server.core.security.CertificateUtil (in unnamed >> > module @0x42e26948) cannot access class sun.security.x509.X500Name (in >> > module java.base) because module java.base does not export >> > sun.security.x509 to unnamed module @0x42e26948 >> > >> > >> > --- >> > Test set: org.apache.openmeetings.web.TestMainAreas >> > --- >> > Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 353.076 s >> > <<< FAILURE! - in >> > org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang >> > Time elapsed: 1.553 s <<< ERROR! >> > org.apache.wicket.WicketRuntimeException: >> > An error occurred while getting the model object for Component: [Component >> > id = key, page = org.apache.openmeetings.web.pages.MainPage, path = >> > main-container:main:contents:child:listContainer:langList:1:key, type = >> > org.apache.wicket.markup.html.basic.Label, isVisible = true, isVersioned = >> > true, markup = [markup = >> > file:/home/debian/openmeetings/openmeetings-web/target/test-root/WEB-INF/classes/org/apache/openmeetings/web/admin/labels/LangPanel.html >> > , index = 0, current = '> > wicket:id="key">' (line 0, column 0)]] >> > at >> > org.apache.openmeetings.web.TestMainAreas.lambda$checkArea$1(TestMainAreas.java:93) >> > at >> > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:91) >> > at >> > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:85) >> > at >> > org.apache.openmeetings.web.TestMainAreas.testAdminLang(TestMainAreas.java:209) >> > Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make >> > field private final java.lang.Object java.util.AbstractMap$SimpleEntry.key >> >
Re: Building OM 6.0.0
I have OracleJDK 16 and Apache Maven 3.6.3. ut 6. 4. 2021 o 14:20 Maxim Solodovnik napísal(a): > JDK version please :) > > On Tue, 6 Apr 2021 at 18:33, Filip Žák wrote: > > > > Hello, > > I have a problem with building OM 6.0.0 again. This time on Debian. > First I'm building it on a really slow virtual server (just one core) so > maybe that is the problem. It fails on Openmeetings-Web: > > > > [INFO] Results: > > [INFO] > > [ERROR] Failures: > > [ERROR] TestDateTime.test3:85 expected: but was: > > > [ERROR] Errors: > > [ERROR] TestLdap » IllegalAccess class > org.apache.directory.server.core.security.Certi... > > [ERROR] > > TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 > » WicketRuntime > > [ERROR] > > TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 > » WicketRuntime > > [INFO] > > [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 > > [INFO] > > [INFO] > > > [INFO] Reactor Summary for Openmeetings 6.0.0: > > [INFO] > > [INFO] Openmeetings ... SUCCESS [ > 39.207 s] > > [INFO] Openmeetings Util .. SUCCESS > [11:42 min] > > [INFO] Openmeetings DB SUCCESS [ > 54.698 s] > > [INFO] Openmeetings Core .. SUCCESS > [02:02 min] > > [INFO] Openmeetings Install ... SUCCESS [ > 40.152 s] > > [INFO] Openmeetings Service ... SUCCESS [ > 32.495 s] > > [INFO] Openmeetings Webservices ... SUCCESS > [02:12 min] > > [INFO] Openmeetings Web ... FAILURE [ > 02:23 h] > > [INFO] Openmeetings Screen Sharing applet . SKIPPED > > [INFO] Openmeetings Server SKIPPED > > [INFO] > > > [INFO] BUILD FAILURE > > [INFO] > > > [INFO] Total time: 02:42 h > > > > > > I opened logs of these errors and failure. Here they are: > > > > > --- > > Test set: org.apache.openmeetings.ldap.TestLdap > > > --- > > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.518 s > <<< FAILURE! - in > org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap > Time elapsed: 10.518 s <<< ERROR! > > java.lang.IllegalAccessError: class > org.apache.directory.server.core.security.CertificateUtil (in unnamed > module @0x42e26948) cannot access class sun.security.x509.X500Name (in > module java.base) because module java.base does not export > sun.security.x509 to unnamed module @0x42e26948 > > > > > > > --- > > Test set: org.apache.openmeetings.web.TestMainAreas > > > --- > > Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 353.076 > s <<< FAILURE! - in > org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang > Time elapsed: 1.553 s <<< ERROR! > > org.apache.wicket.WicketRuntimeException: > > An error occurred while getting the model object for Component: > [Component id = key, page = org.apache.openmeetings.web.pages.MainPage, > path = main-container:main:contents:child:listContainer:langList:1:key, > type = org.apache.wicket.markup.html.basic.Label, isVisible = true, > isVersioned = true, markup = [markup = > file:/home/debian/openmeetings/openmeetings-web/target/test-root/WEB-INF/classes/org/apache/openmeetings/web/admin/labels/LangPanel.html > > , index = 0, current = ' wicket:id="key">' (line 0, column 0)]] > > at > org.apache.openmeetings.web.TestMainAreas.lambda$checkArea$1(TestMainAreas.java:93) > > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:91) > > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:85) > > at > org.apache.openmeetings.web.TestMainAreas.testAdminLang(TestMainAreas.java:209) > > Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make > field private final java.lang.Object java.util.AbstractMap$SimpleEntry.key > accessible: module java.base does not "opens java.util" to unnamed module > @42e26948 > > at > org.apache.openmeetings.web.TestMainAreas.lambda$checkArea$1(TestMainAreas.java:93) > > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:91) > > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:85) > >
Re: Building OM 6.0.0
JDK version please :) On Tue, 6 Apr 2021 at 18:33, Filip Žák wrote: > > Hello, > I have a problem with building OM 6.0.0 again. This time on Debian. First I'm > building it on a really slow virtual server (just one core) so maybe that is > the problem. It fails on Openmeetings-Web: > > [INFO] Results: > [INFO] > [ERROR] Failures: > [ERROR] TestDateTime.test3:85 expected: but was: > > [ERROR] Errors: > [ERROR] TestLdap » IllegalAccess class > org.apache.directory.server.core.security.Certi... > [ERROR] > TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 > » WicketRuntime > [ERROR] > TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 > » WicketRuntime > [INFO] > [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 > [INFO] > [INFO] > > [INFO] Reactor Summary for Openmeetings 6.0.0: > [INFO] > [INFO] Openmeetings ... SUCCESS [ 39.207 > s] > [INFO] Openmeetings Util .. SUCCESS [11:42 > min] > [INFO] Openmeetings DB SUCCESS [ 54.698 > s] > [INFO] Openmeetings Core .. SUCCESS [02:02 > min] > [INFO] Openmeetings Install ... SUCCESS [ 40.152 > s] > [INFO] Openmeetings Service ... SUCCESS [ 32.495 > s] > [INFO] Openmeetings Webservices ... SUCCESS [02:12 > min] > [INFO] Openmeetings Web ... FAILURE [ 02:23 > h] > [INFO] Openmeetings Screen Sharing applet . SKIPPED > [INFO] Openmeetings Server SKIPPED > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 02:42 h > > > I opened logs of these errors and failure. Here they are: > > --- > Test set: org.apache.openmeetings.ldap.TestLdap > --- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.518 s <<< > FAILURE! - in > org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap > Time elapsed: 10.518 s <<< ERROR! > java.lang.IllegalAccessError: class > org.apache.directory.server.core.security.CertificateUtil (in unnamed module > @0x42e26948) cannot access class sun.security.x509.X500Name (in module > java.base) because module java.base does not export sun.security.x509 to > unnamed module @0x42e26948 > > > --- > Test set: org.apache.openmeetings.web.TestMainAreas > --- > Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 353.076 s > <<< FAILURE! - in > org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang > Time elapsed: 1.553 s <<< ERROR! > org.apache.wicket.WicketRuntimeException: > An error occurred while getting the model object for Component: [Component id > = key, page = org.apache.openmeetings.web.pages.MainPage, path = > main-container:main:contents:child:listContainer:langList:1:key, type = > org.apache.wicket.markup.html.basic.Label, isVisible = true, isVersioned = > true, markup = [markup = > file:/home/debian/openmeetings/openmeetings-web/target/test-root/WEB-INF/classes/org/apache/openmeetings/web/admin/labels/LangPanel.html > , index = 0, current = '' > (line 0, column 0)]] > at > org.apache.openmeetings.web.TestMainAreas.lambda$checkArea$1(TestMainAreas.java:93) > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:91) > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:85) > at > org.apache.openmeetings.web.TestMainAreas.testAdminLang(TestMainAreas.java:209) > Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make > field private final java.lang.Object java.util.AbstractMap$SimpleEntry.key > accessible: module java.base does not "opens java.util" to unnamed module > @42e26948 > at > org.apache.openmeetings.web.TestMainAreas.lambda$checkArea$1(TestMainAreas.java:93) > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:91) > at > org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:85) > at > org.apache.openmeetings.web.TestMainAreas.testAdminLang(TestMainAreas.java:209) > > > --- > Test set:
Re: Building OM 6.0.0
Hello, I have a problem with building OM 6.0.0 again. This time on Debian. First I'm building it on a really slow virtual server (just one core) so maybe that is the problem. It fails on Openmeetings-Web: [INFO] Results: [INFO] [ERROR] Failures: [ERROR] TestDateTime.test3:85 expected: but was: [ERROR] Errors: [ERROR] TestLdap » IllegalAccess class org.apache.directory.server.core.security.Certi... [ERROR] TestMainAreas.testAdminLang:209->checkArea:85->checkArea:91->AbstractWicketTester.testArea:124->lambda$checkArea$1:93 » WicketRuntime [ERROR] TestMainMenu.testAdminLabels:119->checkMenuItem:47->AbstractWicketTester.testArea:124->lambda$checkMenuItem$0:56 » WicketRuntime [INFO] [ERROR] Tests run: 206, Failures: 1, Errors: 3, Skipped: 0 [INFO] [INFO] [INFO] Reactor Summary for Openmeetings 6.0.0: [INFO] [INFO] Openmeetings ... SUCCESS [ 39.207 s] [INFO] Openmeetings Util .. SUCCESS [11:42 min] [INFO] Openmeetings DB SUCCESS [ 54.698 s] [INFO] Openmeetings Core .. SUCCESS [02:02 min] [INFO] Openmeetings Install ... SUCCESS [ 40.152 s] [INFO] Openmeetings Service ... SUCCESS [ 32.495 s] [INFO] Openmeetings Webservices ... SUCCESS [02:12 min] [INFO] Openmeetings Web ... FAILURE [ 02:23 h] [INFO] Openmeetings Screen Sharing applet . SKIPPED [INFO] Openmeetings Server SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 02:42 h I opened logs of these errors and failure. Here they are: --- Test set: org.apache.openmeetings.ldap.TestLdap --- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 10.518 s <<< FAILURE! - in org.apache.openmeetings.ldap.TestLdaporg.apache.openmeetings.ldap.TestLdap Time elapsed: 10.518 s <<< ERROR! java.lang.IllegalAccessError: class org.apache.directory.server.core.security.CertificateUtil (in unnamed module @0x42e26948) cannot access class sun.security.x509.X500Name (in module java.base) because module java.base does not export sun.security.x509 to unnamed module @0x42e26948 --- Test set: org.apache.openmeetings.web.TestMainAreas --- Tests run: 35, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 353.076 s <<< FAILURE! - in org.apache.openmeetings.web.TestMainAreasorg.apache.openmeetings.web.TestMainAreas.testAdminLang Time elapsed: 1.553 s <<< ERROR! org.apache.wicket.WicketRuntimeException: An error occurred while getting the model object for Component: [Component id = key, page = org.apache.openmeetings.web.pages.MainPage, path = main-container:main:contents:child:listContainer:langList:1:key, type = org.apache.wicket.markup.html.basic.Label, isVisible = true, isVersioned = true, markup = [markup = file:/home/debian/openmeetings/openmeetings-web/target/test-root/WEB-INF/classes/org/apache/openmeetings/web/admin/labels/LangPanel.html , index = 0, current = '' (line 0, column 0)]] at org.apache.openmeetings.web.TestMainAreas.lambda$checkArea$1(TestMainAreas.java:93) at org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:91) at org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:85) at org.apache.openmeetings.web.TestMainAreas.testAdminLang(TestMainAreas.java:209) Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field private final java.lang.Object java.util.AbstractMap$SimpleEntry.key accessible: module java.base does not "opens java.util" to unnamed module @42e26948 at org.apache.openmeetings.web.TestMainAreas.lambda$checkArea$1(TestMainAreas.java:93) at org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:91) at org.apache.openmeetings.web.TestMainAreas.checkArea(TestMainAreas.java:85) at org.apache.openmeetings.web.TestMainAreas.testAdminLang(TestMainAreas.java:209) --- Test set: org.apache.openmeetings.web.TestMainMenu --- Tests run: 16, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 294.785 s <<< FAILURE! - in org.apache.openmeetings.web.TestMainMenuorg.apache.openmeetings.web.TestMainMenu.testAdminLabels Time elapsed: 3.572 s <<<
Re: Building OM 6.0.0
Big thanks for help. [INFO] [INFO] Reactor Summary for Openmeetings 6.0.0: [INFO] [INFO] Openmeetings ... SUCCESS [ 13.041 s] [INFO] Openmeetings Util .. SUCCESS [01:43 min] [INFO] Openmeetings DB SUCCESS [ 15.763 s] [INFO] Openmeetings Core .. SUCCESS [ 32.566 s] [INFO] Openmeetings Install ... SUCCESS [ 13.756 s] [INFO] Openmeetings Service ... SUCCESS [ 12.348 s] [INFO] Openmeetings Webservices ... SUCCESS [ 36.958 s] [INFO] Openmeetings Web ... SUCCESS [10:15 min] [INFO] Openmeetings Screen Sharing applet . SUCCESS [ 7.240 s] [INFO] Openmeetings Server SUCCESS [ 48.047 s] [INFO] [INFO] BUILD SUCCESS [INFO] [INFO] Total time: 15:00 min [INFO] Finished at: 2021-03-22T09:37:40-04:00 [INFO] Filip
Re: Building OM 6.0.0
There are tests that only works at machine with some 3rd party tools In this case it is `ImageMagic` tests expects it's binaries are in the PATH to bypass this you can use `Jenkins` profile (created for our CI server) so the final command will be `mvn clean install -PallModules,Jenkins` (`allModules` profile need to defined in this case) On Mon, 22 Mar 2021 at 17:20, Filip Žák wrote: > > Thanks I removed all 'node_modules' folders but now I have this: > > INFO] Results: > [INFO] > [ERROR] Failures: > [ERROR] TestFileService.addFileTest:68 Width should be determined ==> > expected: <150> but was: > [INFO] > [ERROR] Tests run: 210, Failures: 1, Errors: 0, Skipped: 0 > [INFO] > [INFO] > > [INFO] Reactor Summary for Openmeetings 6.0.0: > [INFO] > [INFO] Openmeetings ... SUCCESS [ 15.097 > s] > [INFO] Openmeetings Util .. SUCCESS [02:00 > min] > [INFO] Openmeetings DB SUCCESS [ 21.527 > s] > [INFO] Openmeetings Core .. SUCCESS [ 40.046 > s] > [INFO] Openmeetings Install ... SUCCESS [ 16.994 > s] > [INFO] Openmeetings Service ... SUCCESS [ 13.295 > s] > [INFO] Openmeetings Webservices ... SUCCESS [ 48.888 > s] > [INFO] Openmeetings Web ... FAILURE [13:45 > min] > [INFO] Openmeetings Screen Sharing applet . SKIPPED > [INFO] Openmeetings Server SKIPPED > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > > > I opened > /openmeetings/openmeetings-web/target/surefire-reports/org.apache.openmeetings.webservice.TestFileService.txt > and there is: > > --- > Test set: org.apache.openmeetings.webservice.TestFileService > --- > Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.587 s <<< > FAILURE! - in org.apache.openmeetings.webservice.TestFileService > org.apache.openmeetings.webservice.TestFileService.addFileTest Time elapsed: > 3.644 s <<< FAILURE! > org.opentest4j.AssertionFailedError: Width should be determined ==> expected: > <150> but was: > at > org.apache.openmeetings.webservice.TestFileService.addFileTest(TestFileService.java:68) > > Filip > > > po 22. 3. 2021 o 2:35 Maxim Solodovnik napísal(a): >> >> https://issues.apache.org/jira/browse/OPENMEETINGS-2597 >> >> On Mon, 22 Mar 2021 at 07:27, Maxim Solodovnik wrote: >>> >>> >>> >>> On Mon, 22 Mar 2021 at 02:45, Filip Žák wrote: Hello, I would like to build a custom version of OM (a little bit changed code). But first I tried build original source code. So I downloaded the OM 6.0.0 src package from: https://openmeetings.apache.org/downloads.html I unpacked files into the openmeetings directory. I have installed OracleJDK 11 and Maven 3.6.3. I have set JAVA_HOME to OracleJDK 11. So I tried to compile from the terminal with command: mvn clean install -P allModules But it failed. >>> >>> >>> could you share the errors? >>> >>> in case it is "npm related" errors like >>> ``` >>> [INFO] > main@1.0.0 build-dev >>> /home/solomax/work/openmeetings/tmp/openmeetings-web/src/main/front/main >>> [INFO] > browserify src/index.js --transform-key=staging -o >>> ${outDir}${npm_package_name}.js >>> [INFO] >>> [INFO] sh: 1: browserify: Permission denied >>> [INFO] npm ERR! code ELIFECYCLE >>> [INFO] npm ERR! errno 126 >>> ``` >>> >>> please delete all `node_modules` folders from >>> openmeetings-web/src/main/front >>> and try again >>> >>> I'll correct build scripts and will perform 6.0.1 release ASAP >>> >>> So my question is how can I achieve compilation without any errors in original source code. What else I need to do or have installed? Thanks Filip >>> >>> >>> >>> -- >>> Best regards, >>> Maxim >> >> >> >> -- >> Best regards, >> Maxim > > > > -- > S pozdravom > Filip Žák -- Best regards, Maxim
Re: Building OM 6.0.0
Thanks I removed all 'node_modules' folders but now I have this: *INFO] Results:[INFO] [ERROR] Failures: [ERROR] TestFileService.addFileTest:68 Width should be determined ==> expected: <150> but was:[INFO] [ERROR] Tests run: 210, Failures: 1, Errors: 0, Skipped: 0[INFO] [INFO] [INFO] Reactor Summary for Openmeetings 6.0.0:[INFO] [INFO] Openmeetings ... SUCCESS [ 15.097 s][INFO] Openmeetings Util .. SUCCESS [02:00 min][INFO] Openmeetings DB SUCCESS [ 21.527 s][INFO] Openmeetings Core .. SUCCESS [ 40.046 s][INFO] Openmeetings Install ... SUCCESS [ 16.994 s][INFO] Openmeetings Service ... SUCCESS [ 13.295 s][INFO] Openmeetings Webservices ... SUCCESS [ 48.888 s][INFO] Openmeetings Web ... FAILURE [13:45 min][INFO] Openmeetings Screen Sharing applet . SKIPPED[INFO] Openmeetings Server SKIPPED[INFO] [INFO] BUILD FAILURE[INFO] * I opened /openmeetings/openmeetings-web/target/surefire-reports/org.apache.openmeetings.webservice.TestFileService.txt and there is: *---Test set: org.apache.openmeetings.webservice.TestFileService---Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.587 s <<< FAILURE! - in org.apache.openmeetings.webservice.TestFileServiceorg.apache.openmeetings.webservice.TestFileService.addFileTest Time elapsed: 3.644 s <<< FAILURE!org.opentest4j.AssertionFailedError: Width should be determined ==> expected: <150> but was: at org.apache.openmeetings.webservice.TestFileService.addFileTest(TestFileService.java:68)* Filip po 22. 3. 2021 o 2:35 Maxim Solodovnik napísal(a): > https://issues.apache.org/jira/browse/OPENMEETINGS-2597 > > On Mon, 22 Mar 2021 at 07:27, Maxim Solodovnik > wrote: > >> >> >> On Mon, 22 Mar 2021 at 02:45, Filip Žák wrote: >> >>> Hello, >>> I would like to build a custom version of OM (a little bit changed >>> code). But first I tried build original source code. So I downloaded the OM >>> 6.0.0 src package from: >>> https://openmeetings.apache.org/downloads.html >>> >>> I unpacked files into the openmeetings directory. I have installed >>> OracleJDK 11 and Maven 3.6.3. I have set JAVA_HOME to OracleJDK 11. So I >>> tried to compile from the terminal with command: >>> >>> *mvn clean install -P allModules* >>> >>> But it failed. >>> >> >> could you share the errors? >> >> in case it is "npm related" errors like >> ``` >> [INFO] > main@1.0.0 build-dev >> /home/solomax/work/openmeetings/tmp/openmeetings-web/src/main/front/main >> [INFO] > browserify src/index.js --transform-key=staging -o >> ${outDir}${npm_package_name}.js >> [INFO] >> [INFO] sh: 1: browserify: Permission denied >> [INFO] npm ERR! code ELIFECYCLE >> [INFO] npm ERR! errno 126 >> ``` >> >> please delete all `node_modules` folders from >> openmeetings-web/src/main/front >> and try again >> >> I'll correct build scripts and will perform 6.0.1 release ASAP >> >> >> >>> So my question is how can I achieve compilation without any errors in >>> original source code. What else I need to do or have installed? >>> >>> Thanks >>> >>> Filip >>> >> >> >> -- >> Best regards, >> Maxim >> > > > -- > Best regards, > Maxim > -- S pozdravom Filip Žák
Re: Building OM 6.0.0
https://issues.apache.org/jira/browse/OPENMEETINGS-2597 On Mon, 22 Mar 2021 at 07:27, Maxim Solodovnik wrote: > > > On Mon, 22 Mar 2021 at 02:45, Filip Žák wrote: > >> Hello, >> I would like to build a custom version of OM (a little bit changed code). >> But first I tried build original source code. So I downloaded the OM 6.0.0 >> src package from: >> https://openmeetings.apache.org/downloads.html >> >> I unpacked files into the openmeetings directory. I have installed >> OracleJDK 11 and Maven 3.6.3. I have set JAVA_HOME to OracleJDK 11. So I >> tried to compile from the terminal with command: >> >> *mvn clean install -P allModules* >> >> But it failed. >> > > could you share the errors? > > in case it is "npm related" errors like > ``` > [INFO] > main@1.0.0 build-dev > /home/solomax/work/openmeetings/tmp/openmeetings-web/src/main/front/main > [INFO] > browserify src/index.js --transform-key=staging -o > ${outDir}${npm_package_name}.js > [INFO] > [INFO] sh: 1: browserify: Permission denied > [INFO] npm ERR! code ELIFECYCLE > [INFO] npm ERR! errno 126 > ``` > > please delete all `node_modules` folders from > openmeetings-web/src/main/front > and try again > > I'll correct build scripts and will perform 6.0.1 release ASAP > > > >> So my question is how can I achieve compilation without any errors in >> original source code. What else I need to do or have installed? >> >> Thanks >> >> Filip >> > > > -- > Best regards, > Maxim > -- Best regards, Maxim
Re: Building OM 6.0.0
On Mon, 22 Mar 2021 at 02:45, Filip Žák wrote: > Hello, > I would like to build a custom version of OM (a little bit changed code). > But first I tried build original source code. So I downloaded the OM 6.0.0 > src package from: > https://openmeetings.apache.org/downloads.html > > I unpacked files into the openmeetings directory. I have installed > OracleJDK 11 and Maven 3.6.3. I have set JAVA_HOME to OracleJDK 11. So I > tried to compile from the terminal with command: > > *mvn clean install -P allModules* > > But it failed. > could you share the errors? in case it is "npm related" errors like ``` [INFO] > main@1.0.0 build-dev /home/solomax/work/openmeetings/tmp/openmeetings-web/src/main/front/main [INFO] > browserify src/index.js --transform-key=staging -o ${outDir}${npm_package_name}.js [INFO] [INFO] sh: 1: browserify: Permission denied [INFO] npm ERR! code ELIFECYCLE [INFO] npm ERR! errno 126 ``` please delete all `node_modules` folders from openmeetings-web/src/main/front and try again I'll correct build scripts and will perform 6.0.1 release ASAP > So my question is how can I achieve compilation without any errors in > original source code. What else I need to do or have installed? > > Thanks > > Filip > -- Best regards, Maxim