[
https://issues.apache.org/jira/browse/YETUS-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer resolved YETUS-135.
------------------------------------
Resolution: Fixed
Merged, thanks to [~ndimiduk] for the review!
> asflicense does not validate rat jar
> ------------------------------------
>
> Key: YETUS-135
> URL: https://issues.apache.org/jira/browse/YETUS-135
> Project: Yetus
> Issue Type: Bug
> Components: Precommit
> Reporter: Kengo Seki
> Assignee: Allen Wittenauer
> Priority: Major
> Fix For: 0.14.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> {code}
> [sekikn@mobile yetus]$ dev-support/test-patch.sh --build-tool=nobuild
> --plugins=all YETUS-122 --asflicense-rat-jar=foo
> (snip)
> ============================================================================
> ============================================================================
> Determining number of patched ASF License errors
> ============================================================================
> ============================================================================
> cd /Users/sekikn/yetus
> /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java -jar
> foo -s /private/tmp/yetus-25276.13094/asf.xsl /Users/sekikn/yetus >
> /private/tmp/yetus-25276.13094/patch-asflicense.txt 2>&1
> There appear to be 0 ASF License warnings after applying the patch.
> (snip)
> | Vote | Subsystem | Runtime | Comment
> ============================================================================
> | 0 | reexec | 0m 17s | precommit patch detected.
> | +1 | @author | 0m 00s | The patch does not contain any @author
> | | | | tags.
> | +1 | shellcheck | 0m 00s | There were no new shellcheck issues.
> | +1 | whitespace | 0m 00s | Patch has no whitespace issues.
> | +1 | asflicense | 0m 01s | Patch does not generate ASF License
> | | | | warnings.
> | | | 0m 37s |
> (snip)
> [sekikn@mobile yetus]$ cat /private/tmp/yetus-25276.13094/patch-asflicense.txt
> Tue Oct 27 13:30:48 JST 2015
> cd /Users/sekikn/yetus
> /Library/Java/JavaVirtualMachines/jdk1.7.0_80.jdk/Contents/Home/bin/java -jar
> foo -s /private/tmp/yetus-25276.13094/asf.xsl /Users/sekikn/yetus
> Error: Unable to access jarfile foo
> {code}
--
This message was sent by Atlassian Jira
(v8.20.7#820007)