Skip to content

Commit aea39ce

Browse files
hsellikmartinezmatias
authored andcommitted
Fix Maven output coloring issue in getting-started.md (SpoonLabs#146) (SpoonLabs#149)
On some machines, the final `astor-classpath.txt` had "weird encoding" which made the egrep fail. This was caused by Maven trying to [color the ouput](https://askubuntu.com/questions/983410/when-i-redirect-maven-commands-the-file-looks-wrongly-encoded) of the log. Adding -B parameter will fix this issue. Related to SpoonLabsgh-146
1 parent 97eff79 commit aea39ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting-starting.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Getting started:
2727
cd examples/Math-issue-280
2828
mvn clean compile test # compiling and running bug example
2929
cd ../../
30-
mvn dependency:build-classpath | egrep -v "(^\[INFO\]|^\[WARNING\])" | tee /tmp/astor-classpath.txt
30+
mvn dependency:build-classpath -B | egrep -v "(^\[INFO\]|^\[WARNING\])" | tee /tmp/astor-classpath.txt
3131
cat /tmp/astor-classpath.txt
3232
3333
Then the main command (note that the "location" argument is mandatory, and must be an absolute path):

0 commit comments

Comments
 (0)