[ 
https://issues.apache.org/jira/browse/OFBIZ-12472?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17462996#comment-17462996
 ] 

Jacques Le Roux commented on OFBIZ-12472:
-----------------------------------------

OK, that's something I cross too on Windows (I'm still using Win7). It's OK on 
*nix. I don't know yet why it happens on Win. Simply change in main 
build.gradle from maxErrors = 38802 to maxErrors = 50000. It's OK anyway, you 
don't have to worry about that, only the trunk has been totally fixed for 
checlstyle. When it's OK with you please close as "Information provided", TIA.

> CheckStyleMain Task is Failing, so OfBiz cannot start
> -----------------------------------------------------
>
>                 Key: OFBIZ-12472
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12472
>             Project: OFBiz
>          Issue Type: Bug
>    Affects Versions: 18.12.04
>            Reporter: David S Hunter
>            Priority: Critical
>
> When doing ofbiz cleanAll loadAll, the follwing the output: 
> ************************************************
> > Task :clean
> > Task :cleanCatalina
> > Task :cleanData
> > Task :cleanDownloads
> > Task :cleanEclipseClasspath UP-TO-DATE
> > Task :cleanEclipseJdt UP-TO-DATE
> > Task :cleanEclipseProject UP-TO-DATE
> > Task :cleanEclipse UP-TO-DATE
> > Task :cleanFooterFiles
> > Task :cleanIndexes
> > Task :cleanLogs
> > Task :cleanOutput
> > Task :cleanTempfiles
> > Task :cleanUploads
> > Task :cleanXtra
> > Task :cleanAll
> > Task :compileJava
> > Task :compileGroovy
> > Task :processResources
> > Task :classes
> > Task :jar
> > Task :assemble
> > Task :checkstyleMain
> > Task :checkstyleMain FAILED
> FAILURE: Build failed with an exception.
> * What went wrong:
> Execution failed for task ':checkstyleMain'.
> > Checkstyle rule violations were found. See the report at: 
> > file:///C:/Users/david/Documents/apache-ofbiz-18.12.04/build/reports/checkstyle/main.html
>   Checkstyle files with violations: 1157
>   Checkstyle violations by severity: [error:39638]
> * Try:
> Run with --stacktrace option to get the stack trace. Run with --info or 
> --debug option to get more log output. Run with --scan to get full insights.
> * Get more help at https://help.gradle.org
> BUILD FAILED in 1m 30s
> 20 actionable tasks: 16 executed, 4 up-to-dates
> ******************************
> I have no idea what is wrong. 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to