Re: I have a doubt about Tomee project
To add more information or improve the content, the file to be modified is this: https://github.com/apache/tomee-site-generator/blob/main/src/main/jbake/content/community/sources.adoc On Wed, Jun 19, 2024, 00:04 Daniel Dias Dos Santos < daniel.dias.analist...@gmail.com> wrote: > Hello Evaldo, > > It's in the readme of the GitHub repository: > > https://github.com/apache/tomee?tab=readme-ov-file#quick-build > > The page you mentioned seems outdated and lacks some information. It would > be interesting to add more information about the build options. > > > On Tue, Jun 18, 2024, 23:55 Evaldo Junior > wrote: > >> Daniel, please, which page has this Maven command syntax that you gave ? >> >> Below the command: >> mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true >> -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false >> clean install >> >> For example, in this page, have the Fast Build: >> https://tomee.apache.org/community/sources.html >> >> >> Best Regards, >> >> >> Evaldo Junior >> >> >> Em ter., 18 de jun. de 2024 às 18:04, Daniel Dias >> escreveu: >> >> > Hello Evaldo, >> > >> > Generally when I want to build the project I use the quick build version >> > using the command: >> > >> > mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true >> > -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false >> > clean install >> > >> > Now the full version, it may be breaking due to machine processing or >> > something like that. >> > >> > I don't think I'll ever be able to build with complete tests. >> > >> > >> > On 2024/06/18 20:13:58 Evaldo Junior wrote: >> > > I have a question, i'm new to the Tomee project, i tried to build the >> > > application, and an error occurred. >> > > The error is occurring in a unit test. >> > > >> > > Please, how should i proceed? >> > > Should i comment the line with the error to execute, or comment the >> unit >> > > test method, which is giving this error ? >> > > >> > > The test fails in the class ArchivingTest.java, in the method >> > logAndRotate, >> > > in the lines 126,133 and 134. >> > > If I run the test individually, no errors occur. >> > > >> > > I run the build with the command: mvn clean install >> > > >> > > I see that exists arguments of line commands, for the skip part of >> tests, >> > > please, should i use them ? >> > > >> > > Below is the print of the class: >> > > >> > > [image: image.png] >> > > >> > > My environment: >> > > >> > > Jdk 17 - Openjdk-17.0.11.0.9-1- RedHat Version >> > > Eclipse - 2022-12 (4.26.0) >> > > Maven - 3.8.3 version >> > > >> > > >> > > Best Regards, >> > > >> > > >> > > Evaldo Junior >> > > >> > >> >
Re: I have a doubt about Tomee project
Hello Evaldo, It's in the readme of the GitHub repository: https://github.com/apache/tomee?tab=readme-ov-file#quick-build The page you mentioned seems outdated and lacks some information. It would be interesting to add more information about the build options. On Tue, Jun 18, 2024, 23:55 Evaldo Junior wrote: > Daniel, please, which page has this Maven command syntax that you gave ? > > Below the command: > mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true > -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false > clean install > > For example, in this page, have the Fast Build: > https://tomee.apache.org/community/sources.html > > > Best Regards, > > > Evaldo Junior > > > Em ter., 18 de jun. de 2024 às 18:04, Daniel Dias > escreveu: > > > Hello Evaldo, > > > > Generally when I want to build the project I use the quick build version > > using the command: > > > > mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true > > -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false > > clean install > > > > Now the full version, it may be breaking due to machine processing or > > something like that. > > > > I don't think I'll ever be able to build with complete tests. > > > > > > On 2024/06/18 20:13:58 Evaldo Junior wrote: > > > I have a question, i'm new to the Tomee project, i tried to build the > > > application, and an error occurred. > > > The error is occurring in a unit test. > > > > > > Please, how should i proceed? > > > Should i comment the line with the error to execute, or comment the > unit > > > test method, which is giving this error ? > > > > > > The test fails in the class ArchivingTest.java, in the method > > logAndRotate, > > > in the lines 126,133 and 134. > > > If I run the test individually, no errors occur. > > > > > > I run the build with the command: mvn clean install > > > > > > I see that exists arguments of line commands, for the skip part of > tests, > > > please, should i use them ? > > > > > > Below is the print of the class: > > > > > > [image: image.png] > > > > > > My environment: > > > > > > Jdk 17 - Openjdk-17.0.11.0.9-1- RedHat Version > > > Eclipse - 2022-12 (4.26.0) > > > Maven - 3.8.3 version > > > > > > > > > Best Regards, > > > > > > > > > Evaldo Junior > > > > > >
Re: I have a doubt about Tomee project
Daniel, please, which page has this Maven command syntax that you gave ? Below the command: mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false clean install For example, in this page, have the Fast Build: https://tomee.apache.org/community/sources.html Best Regards, Evaldo Junior Em ter., 18 de jun. de 2024 às 18:04, Daniel Dias escreveu: > Hello Evaldo, > > Generally when I want to build the project I use the quick build version > using the command: > > mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true > -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false > clean install > > Now the full version, it may be breaking due to machine processing or > something like that. > > I don't think I'll ever be able to build with complete tests. > > > On 2024/06/18 20:13:58 Evaldo Junior wrote: > > I have a question, i'm new to the Tomee project, i tried to build the > > application, and an error occurred. > > The error is occurring in a unit test. > > > > Please, how should i proceed? > > Should i comment the line with the error to execute, or comment the unit > > test method, which is giving this error ? > > > > The test fails in the class ArchivingTest.java, in the method > logAndRotate, > > in the lines 126,133 and 134. > > If I run the test individually, no errors occur. > > > > I run the build with the command: mvn clean install > > > > I see that exists arguments of line commands, for the skip part of tests, > > please, should i use them ? > > > > Below is the print of the class: > > > > [image: image.png] > > > > My environment: > > > > Jdk 17 - Openjdk-17.0.11.0.9-1- RedHat Version > > Eclipse - 2022-12 (4.26.0) > > Maven - 3.8.3 version > > > > > > Best Regards, > > > > > > Evaldo Junior > > >
Re: I have a doubt about Tomee project
Hello Evaldo, Generally when I want to build the project I use the quick build version using the command: mvn -Pquick -Dsurefire.useFile=false -DdisableXmlReport=true -DuniqueVersion=false -ff -Dassemble -DskipTests -DfailIfNoTests=false clean install Now the full version, it may be breaking due to machine processing or something like that. I don't think I'll ever be able to build with complete tests. On 2024/06/18 20:13:58 Evaldo Junior wrote: > I have a question, i'm new to the Tomee project, i tried to build the > application, and an error occurred. > The error is occurring in a unit test. > > Please, how should i proceed? > Should i comment the line with the error to execute, or comment the unit > test method, which is giving this error ? > > The test fails in the class ArchivingTest.java, in the method logAndRotate, > in the lines 126,133 and 134. > If I run the test individually, no errors occur. > > I run the build with the command: mvn clean install > > I see that exists arguments of line commands, for the skip part of tests, > please, should i use them ? > > Below is the print of the class: > > [image: image.png] > > My environment: > > Jdk 17 - Openjdk-17.0.11.0.9-1- RedHat Version > Eclipse - 2022-12 (4.26.0) > Maven - 3.8.3 version > > > Best Regards, > > > Evaldo Junior >
I have a doubt about Tomee project
I have a question, i'm new to the Tomee project, i tried to build the application, and an error occurred. The error is occurring in a unit test. Please, how should i proceed? Should i comment the line with the error to execute, or comment the unit test method, which is giving this error ? The test fails in the class ArchivingTest.java, in the method logAndRotate, in the lines 126,133 and 134. If I run the test individually, no errors occur. I run the build with the command: mvn clean install I see that exists arguments of line commands, for the skip part of tests, please, should i use them ? Below is the print of the class: [image: image.png] My environment: Jdk 17 - Openjdk-17.0.11.0.9-1- RedHat Version Eclipse - 2022-12 (4.26.0) Maven - 3.8.3 version Best Regards, Evaldo Junior