0

I heard that a good plugin for metrics for Java Eclipse was the CheckStyle plugin. So I try and follow their instructions on how to install it, but I keep getting the following:

enter image description here

Can someone kindly point out how I can fix this problem?

Thank You.

J86
  • 14,345
  • 47
  • 130
  • 228
  • Can you access http://eclipse-cs.sourceforge.net/update/ in your browser? – martinez314 Mar 11 '13 at 17:16
  • Yep, i get two xml files in the Browser ! – J86 Mar 11 '13 at 17:27
  • 1
    There's a dot after the URL you're using, maybe that's causing an issue? Or else, try again, maybe there was a temporary issue with the server. – martinez314 Mar 11 '13 at 17:40
  • No the dot at the end was being added by Eclipse when it printed out the error. But just tried again, and it works now ! thanks – J86 Mar 11 '13 at 18:53

1 Answers1

0

I think I fully know why it didn't work. There was an Eclipse Juno update that I had to run. For the update to happen, I had to run Eclipse as Administrator. Then ran the update, and it worked, i.e. it updated successfully.

I then ran the CheckStyle plug-in install as instructed on their website, and it worked fine.

Hope this helps.

J86
  • 14,345
  • 47
  • 130
  • 228