Skip to content

'Run validation with arguments' results in error #12394

Closed Answered by rnveach
nitishfy asked this question in Q&A
Discussion options

You must be logged in to vote

The commands in the wiki are more for linux. Windows needs extra string grouping for some reason as it sees the period as some type of delimiter.

The following command should work for Windows,

mvn exec:java -D"exec.mainClass=com.puppycrawl.tools.checkstyle.Main" -D"exec.args=-c /sun_checks.xml src/main/java"

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@nitishfy
Comment options

@rnveach
Comment options

Answer selected by rnveach
@romani
Comment options

@rnveach
Comment options

@romani
Comment options

@nitishfy
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants