Checkstyle without internet dependency

69 views
Skip to first unread message

Md. Sajib Al- Seraj

unread,
Mar 29, 2018, 1:27:56 PM3/29/18
to checkstyle

Hello,
CheckStyle current requires an Internet connection and an external website to work. This "http://checkstyle.sourceforge.net/dtds/configuration_1_3.dtd" link constantly stop working, resulting in compilation failure when this happens. 

Without internet it shows an error message "Unable to create checker: configLocation{../.../}, classpath{null}"
Now I am looking a solution without internet dependency. Is there any alternate solution without internet?

Thanks
Sajib

Roman Ivanov

unread,
Apr 6, 2018, 2:12:38 PM4/6/18
to Md. Sajib Al- Seraj, checkstyle
Hi,

related issues:

As you did not provided any details on issue, please recheck them.
there might be problem with sourceforge maintenance. 
I do not remember why we added it, but it suppose to be skipped when running online.
You can debug this problem and provide us fix by PR.
thanks,
Roman Ivanov

Md. Sajib Al- Seraj

unread,
Apr 23, 2019, 3:57:11 PM4/23/19
to Roman Ivanov, checkstyle
I am using DTD configuration file( https://raw.githubusercontent.com/checkstyle/checkstyle.github.io/master/dtds/configuration_1_3.dtd). 
Do we need to mention checkstyle version number (8.19) in gradle file?

Roman Ivanov

unread,
Apr 26, 2019, 10:08:39 AM4/26/19
to Md. Sajib Al- Seraj, checkstyle
yes, please use 8.19 in gradle file, to make sure you use latest version, mostlikely gradle use non latest version by default.

Md. Sajib Al- Seraj

unread,
Apr 26, 2019, 12:21:05 PM4/26/19
to Roman Ivanov, checkstyle
Ok, thanks. 
Reply all
Reply to author
Forward
0 new messages