jmeter-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vincent Daburon <vdabu...@gmail.com>
Subject Compilation errors, how skip autostyle check ?
Date Thu, 16 Apr 2020 13:56:18 GMT
 Hi,

I download the current version of JMeter (the 16 april 2020) in a zip file
format from github master.

How skip the autostyle check ?

When i try to compile with gradle tool, i have this errors :

D:\usr\vdaburon\dev\github\jmeter_pacing\jmeter-master>gradlew.bat runGui
> Task :buildSrc:autostyleKotlinGradleCheck FAILED
> Task :buildSrc:batchtest:autostyleKotlinCheck FAILED
checksum-dependency elapsed time: 2410ms, configurations processed: 14 (add
-PchecksumTimingsPrint to print detailed timings)

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':buildSrc:autostyleKotlinGradleCheck'.
> The following files have format violations:
    build.gradle.kts
      @@ -1,77 +1,77 @@
      -/*\n
      - * Licensed to the Apache Software Foundation (ASF) under one or
more\n
      - * contributor license agreements.  See the NOTICE file distributed
with\n
      - * this work for additional information regarding copyright
ownership.\n
      - * The ASF licenses this file to You under the Apache License,
Version 2.0\n
      - * (the "License"); you may not use this file except in compliance
with\n
      - * the License.  You may obtain a copy of the License at\n
...
      -\n
      -    @Input\n
      -    val testName = objects.property<String>()\n
    ... (378 more lines that didn't fit)
  Violations also present in:

subprojects\batchtest\src\main\kotlin\org\apache\jmeter\buildtools\batchtest\BatchtestPlugin.kt

subprojects\batchtest\src\main\kotlin\org\apache\jmeter\buildtools\batchtest\BatchTestServer.kt

subprojects\batchtest\src\main\kotlin\org\apache\jmeter\buildtools\batchtest\WriterExtensions.kt
  You might want to adjust -PmaxCheckMessageLines=50 -PmaxFilesToList=10
-PminLinesPerFile=4 to see more violations
  Run './gradlew autostyleApply' to fix the violations.

* 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

Deprecated Gradle features were used in this build, making it incompatible
with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See
https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 8s

Regards.
Vincent DAB.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message