You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Closure Linter Discuss
We are setting up Hudson CI and seems that Hudson needs XML output from Closure Linter. Do you know how to do that - some handy converter existing?
Andy Perelson
unread,
Nov 8, 2010, 11:32:35 PM11/8/10
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to closure-lin...@googlegroups.com
There is currently no way to get XML output from the Closure Linter, and I'm not sure exactly what form (schema) you'd need for your XML output. You couldfile an enhancement request, but it'd be a low priority. If you wanted to modify your checked out version of the Closure Linter (even if we aren't currently accepting contributions back) you would just need to implement a customerror handleranduse it when running gjslint. I haven't tried to work with XML in Python before, but there are probably good libraries out there that would make this pretty easy.
Thanks,
Andy
John Mitchell
unread,
Oct 30, 2012, 7:43:12 AM10/30/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to closure-lin...@googlegroups.com
I know this is resurrecting a very old post!
I also wanted to run gjslint in a Jenkins CI and needed output in jslint's XML format so I wrote this quick and dirty parser to take the log output and convert it to XML (also stripping line length errors).
It's not in any way properly tested but is working for my project.