philmander / ant-jshint

Ant task for jshint
MIT License
44 stars 24 forks source link

Generate HTML report #16

Open barriosnahuel opened 11 years ago

barriosnahuel commented 11 years ago

Hi, I use Jenkins as CI, and I need an HTML report because I can't upgrade my Jenkins version to install the plugin that is able to show "jslint-xml" reports. I think is very useful.

Thanks!

PS: Check theese two apps too: https://play.google.com/store/apps/details?id=com.nbempire.android.magicannotator | https://play.google.com/store/apps/details?id=org.nbempire.android.tourguide

philmander commented 11 years ago

Can you provide a specific example of what you need?

barriosnahuel commented 11 years ago

First of all thank you for answering so quickly, and then sorry for my English.

What I need is a HTML report like those ones created with Apache Maven for showing checkstyle or PMD results to the user. The core is to display with a nice GUI at least: the file, the line and the cause of any JSHint issue that I've got in my code.

If I'm not clear, please tell me and I'll try to explain it better.

Thank you very much!

Nahuel Barrios.-

No olvides bajar el Magic Annotator desde Google Play, gratis!! On Jan 17, 2013 5:12 PM, "Phil Mander" notifications@github.com wrote:

Can you provide a specific example of what you need?

— Reply to this email directly or view it on GitHubhttps://github.com/philmander/ant-jshint/issues/16#issuecomment-12388674.

philmander commented 11 years ago

If you want to take a look yourself it would be quite easy to write.

Create a custom report class in the reports package (use xmlreporter as an example) and register it at about line 183 in jshintanttask.java

Then simply build with mvn package

barriosnahuel commented 11 years ago

Ok I'll take a look, talk later!