[
https://issues.apache.org/jira/browse/SAMZA-1010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15454493#comment-15454493
]
Oleg Chubaryov commented on SAMZA-1010:
---------------------------------------
Hi Navina!
I've found out some differences, I tried to compile without gradle wrapper, and
it uses gradle v2.13.
Below last output for "gradle clean build".
But you are right, if I compile it with wrapper "./gradlew clean build", it
uses gradle 2.0, and :samza-api:checkstyleMain step goes well.
:samza-api:signArchives SKIPPED
:samza-api:assemble
:samza-api:checkstyleMain
[ant:checkstyle]
D:\github\samza\samza-api\src\main\java\org\apache\samza\storage\StorageEngineFactory.java:50:
'String' have incorrect indentation level 4, expected level should be 6.
[ant:checkstyle]
D:\github\samza\samza-api\src\main\java\org\apache\samza\storage\StorageEngineFactory.java:51:
'File' have incorrect indentation level 4, expected level should be 6.
[ant:checkstyle]
D:\github\samza\samza-api\src\main\java\org\apache\samza\storage\StorageEngineFactory.java:52:
'Serde' have incorrect indentation level 4, expected level should be 6.
[ant:checkstyle]
D:\github\samza\samza-api\src\main\java\org\apache\samza\storage\StorageEngineFactory.java:53:
'Serde' have incorrect indentation level 4, expected level should be 6.
[ant:checkstyle]
D:\github\samza\samza-api\src\main\java\org\apache\samza\storage\StorageEngineFactory.java:54:
'MessageCollector' have incorrect indentation level 4, expected level should
be 6.
[ant:checkstyle]
D:\github\samza\samza-api\src\main\java\org\apache\samza\storage\StorageEngineFactory.java:55:
'MetricsRegistry' have incorrect indentation level 4, expected level should be
6.
[ant:checkstyle]
D:\github\samza\samza-api\src\main\java\org\apache\samza\storage\StorageEngineFactory.java:56:
'SystemStreamPartition' have incorrect indentation level 4, expected level
should be 6.
[ant:checkstyle]
D:\github\samza\samza-api\src\main\java\org\apache\samza\storage\StorageEngineFactory.java:57:
'SamzaContainerContext' have incorrect indentation level 4, expected level
should be 6.
:samza-api:checkstyleMain FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':samza-api:checkstyleMain'.
> Checkstyle rule violations were found. See the report at:
> file:///D:/github/samza/samza-api/build/reports/checkstyle/main.
html
> API won't compile: CheckStyle violation in
> org.apache.samza.storage.StorageEngineFactory
> ----------------------------------------------------------------------------------------
>
> Key: SAMZA-1010
> URL: https://issues.apache.org/jira/browse/SAMZA-1010
> Project: Samza
> Issue Type: Bug
> Components: build
> Affects Versions: 0.11
> Reporter: Oleg Chubaryov
> Priority: Critical
> Labels: easyfix
> Fix For: 0.11
>
> Attachments: 0001-SAMZA-1010-CheckStyle-ident-violation.patch
>
>
> Indent violation in org.apache.samza.storage.StorageEngineFactory
> lines 50-57:
> indent should be 6, instead of 4
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)