Skip to content

Commit

Permalink
CheckstyleBear: Fetch jar from GitHub
Browse files Browse the repository at this point in the history
Fetching the jar from sourceforge.net is resulting in
corrupt jar files, and the error reporting and recovery
within coala isnt sufficient for this.

Until the download code is more reliable, fetch the jar
from GitHub.

Related to coala#1461
  • Loading branch information
jayvdb committed Mar 2, 2017
1 parent 8575b3f commit 066ae30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bears/java/CheckstyleBear.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ class CheckstyleBear:

def setup_dependencies(self):
type(self).checkstyle_jar_file = self.download_cached_file(
'http://sourceforge.net/projects/checkstyle/files/checkstyle/6.15'
'/checkstyle-6.15-all.jar',
'checkstyle.jar')
'https://github.com/Berkeley-CS61B/skeleton-sp16/raw/master'
'/javalib/checkstyle-6.15-all.jar',
'checkstyle-6.15-all.jar')

def create_arguments(
self, filename, file, config_file,
Expand Down

0 comments on commit 066ae30

Please sign in to comment.