<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jabbering Giraffe &#187; jslint4java</title>
	<atom:link href="http://happygiraffe.net/blog/tag/jslint4java/feed/" rel="self" type="application/rss+xml" />
	<link>http://happygiraffe.net/blog</link>
	<description></description>
	<lastBuildDate>Tue, 07 Feb 2012 20:49:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>jslint4java 2.0.2</title>
		<link>http://happygiraffe.net/blog/2012/02/07/jslint4java-2-0-2/</link>
		<comments>http://happygiraffe.net/blog/2012/02/07/jslint4java-2-0-2/#comments</comments>
		<pubDate>Tue, 07 Feb 2012 20:45:27 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jslint]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1717</guid>
		<description><![CDATA[After another long period of having nothing to say, I&#8217;ve pushed out an update to jslint4java. Version 2.0.2 doesn&#8217;t include any major new features, but does update JSLint to the latest version (2012-02-03) and fix a couple of small bugs &#8230; <a href="http://happygiraffe.net/blog/2012/02/07/jslint4java-2-0-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After another long period of having nothing to say, I&#8217;ve pushed out an update to <a href="http://code.google.com/p/jslint4java/">jslint4java</a>.  Version 2.0.2 doesn&#8217;t include any major new features, but does update <a href="http://jslint.com/">JSLint</a> to the latest version (2012-02-03) and fix a couple of small bugs here and there.</p>
<ul>
<li><a href="http://code.google.com/p/jslint4java/issues/detail?id=75">issue 75</a>: Handle BOMs when using the CLI.
<li> <a href="http://code.google.com/p/jslint4java/issues/detail?id=74">issue 74</a>: Document the technique for construction of JSLint objects.
<li> <a href="http://code.google.com/p/jslint4java/issues/detail?id=73">issue 73</a>: Better examples for maven configuration.
<li> <a href="http://code.google.com/p/jslint4java/issues/detail?id=72">issue 72</a> : Add all formatters to the maven plugin automatically.
<li> <a href="http://code.google.com/p/jslint4java/issues/detail?id=67">issue 67</a> : Fix maven docs.
<li>Update to JSLint 2012-02-03.
<ul>
<li>This removes the <code>adsafe</code>, <code>confusion</code> and <code>safe</code> options.
<li>This adds the <code>anon</code> option.
  </ul>
</ul>
<p>One minor point: Now that google code supports git repositories, I&#8217;m also pushing the source code <a href="http://code.google.com/p/jslint4java/source/browse/">there</a> again.  Github is still my “primary” but there&#8217;s another copy.  More copies are good.</p>
<p>I did spend a bit of time testing the CLI interface properly.  This isn&#8217;t really noteworthy, but it was entertaining for me, and hopefully results in fewer bugs like <a href="http://code.google.com/p/jslint4java/issues/detail?id=75">issue 75</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2012/02/07/jslint4java-2-0-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jslint4java 2.0.1</title>
		<link>http://happygiraffe.net/blog/2011/10/19/jslint4java-2-0-1/</link>
		<comments>http://happygiraffe.net/blog/2011/10/19/jslint4java-2-0-1/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 10:40:06 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jslint]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1692</guid>
		<description><![CDATA[Only about a month later than I had hoped, I&#8217;ve published jslint4java-2.0.1. The main change should be that the maven plugin is a bit better behaved. Plus of course, it&#8217;s using the latest version of JSLint.]]></description>
			<content:encoded><![CDATA[<p>Only about a month later than I had hoped, I&#8217;ve published <a href="http://code.google.com/p/jslint4java/#jslint4java-2.0.1">jslint4java-2.0.1</a>.  The main change should be that the maven plugin is a bit better behaved.  Plus of course, it&#8217;s using the latest version of <a href="http://jslint.com/">JSLint</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2011/10/19/jslint4java-2-0-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jslint4java 2.0.0</title>
		<link>http://happygiraffe.net/blog/2011/07/15/jslint4java-2-0-0/</link>
		<comments>http://happygiraffe.net/blog/2011/07/15/jslint4java-2-0-0/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 16:18:46 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1709</guid>
		<description><![CDATA[I&#8217;ve finally released jslint4java 2.0.0. It&#8217;s now available at code.google.com/p/jslint4java. The main new feature is that it now sports a maven plugin in addition to the ant task. There is also a breaking change, that&#8217;s been inherited from JSLint. The &#8230; <a href="http://happygiraffe.net/blog/2011/07/15/jslint4java-2-0-0/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve finally released <a href="http://code.google.com/p/jslint4java/#jslint4java-2.0.0">jslint4java 2.0.0</a>. It&#8217;s now available at <a href="http://code.google.com/p/jslint4java">code.google.com/p/jslint4java</a>.  The main new feature is that it now sports a maven plugin in addition to the ant task.</p>
<p>There is also a breaking change, that&#8217;s been inherited from <a href="http://jslint.com/">JSLint</a>.  The meaning of several options has been inverted.  Now, the default is to behave strictly, with options turned off.  For example, if you want to turn off JSLint&#8217;s checking of whitespace, you now have to specify <code>--white</code>.  Previously, this would <em>enable</em> checking of whitespace.  See the release notes for details, and please take care when updating.</p>
<p>The <a href="http://jslint4java.googlecode.com/svn/docs/2.0.0/maven.html">maven plugin</a> should behave much like any other maven plugin: you add it to your <code>&lt;build&gt;&lt;plugins&gt;</code> section.  Here&#8217;s an example:</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #ddbb00;">&lt;</span>plugin<span style="color: #ddbb00;">&gt;</span>
  <span style="color: #ddbb00;">&lt;</span>groupId<span style="color: #ddbb00;">&gt;</span>com.googlecode.jslint4java<span style="color: #ddbb00;">&lt;</span>/groupId<span style="color: #ddbb00;">&gt;</span>
  <span style="color: #ddbb00;">&lt;</span>artifactId<span style="color: #ddbb00;">&gt;</span>jslint4java-maven-plugin<span style="color: #ddbb00;">&lt;</span>/artifactId<span style="color: #ddbb00;">&gt;</span>
  <span style="color: #ddbb00;">&lt;</span>version<span style="color: #ddbb00;">&gt;</span>2.0.0<span style="color: #ddbb00;">&lt;</span>/version<span style="color: #ddbb00;">&gt;</span>
  <span style="color: #ddbb00;">&lt;</span>executions<span style="color: #ddbb00;">&gt;</span>
    <span style="color: #ddbb00;">&lt;</span>execution<span style="color: #ddbb00;">&gt;</span>
      <span style="color: #ddbb00;">&lt;</span>id<span style="color: #ddbb00;">&gt;</span>lint<span style="color: #ddbb00;">&lt;</span>/id<span style="color: #ddbb00;">&gt;</span>
      <span style="color: #ddbb00;">&lt;</span>phase<span style="color: #ddbb00;">&gt;</span>process-resources<span style="color: #ddbb00;">&lt;</span>/phase<span style="color: #ddbb00;">&gt;</span>
      <span style="color: #ddbb00;">&lt;</span>goals<span style="color: #ddbb00;">&gt;</span>
        <span style="color: #ddbb00;">&lt;</span>goal<span style="color: #ddbb00;">&gt;</span>lint<span style="color: #ddbb00;">&lt;</span>/goal<span style="color: #ddbb00;">&gt;</span>
      <span style="color: #ddbb00;">&lt;</span>/goals<span style="color: #ddbb00;">&gt;</span>
      <span style="color: #ddbb00;">&lt;</span>configuration<span style="color: #ddbb00;">&gt;</span>
        <span style="color: #ddbb00;">&lt;</span>failOnError<span style="color: #ddbb00;">&gt;</span>true<span style="color: #ddbb00;">&lt;</span>/failOnError<span style="color: #ddbb00;">&gt;</span>
        <span style="color: #ddbb00;">&lt;</span>options<span style="color: #ddbb00;">&gt;</span>
          <span style="color: #ddbb00;">&lt;</span>undef<span style="color: #ddbb00;">&gt;</span>true<span style="color: #ddbb00;">&lt;</span>/undef<span style="color: #ddbb00;">&gt;</span>
        <span style="color: #ddbb00;">&lt;</span>/options<span style="color: #ddbb00;">&gt;</span>
      <span style="color: #ddbb00;">&lt;</span>/configuration<span style="color: #ddbb00;">&gt;</span>
    <span style="color: #ddbb00;">&lt;</span>/execution<span style="color: #ddbb00;">&gt;</span>
  <span style="color: #ddbb00;">&lt;</span>/executions<span style="color: #ddbb00;">&gt;</span>
<span style="color: #ddbb00;">&lt;</span>/plugin<span style="color: #ddbb00;">&gt;</span></pre></div></div>

<p>I&#8217;d love feedback on how well this works.</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2011/07/15/jslint4java-2-0-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>jslint4java-1.4.7</title>
		<link>http://happygiraffe.net/blog/2011/03/11/jslint4java-1-4-7/</link>
		<comments>http://happygiraffe.net/blog/2011/03/11/jslint4java-1-4-7/#comments</comments>
		<pubDate>Fri, 11 Mar 2011 12:50:38 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1697</guid>
		<description><![CDATA[I&#8217;ve released a minor update, 1.4.7. It&#8217;s available from the usual place. What&#8217;s new? Added OSGI bundle headers. I&#8217;m an OSGI novice; please let me know if these are wrong. issue 52: Add checkstyle xml formatter. issue 53: No files &#8230; <a href="http://happygiraffe.net/blog/2011/03/11/jslint4java-1-4-7/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve released a minor update, <a href="http://code.google.com/p/jslint4java/#jslint4java-1.4.7">1.4.7</a>.  It&#8217;s available from the <a href="http://code.google.com/p/jslint4java/downloads/list">usual place</a>.</p>
<p>What&#8217;s new?</p>
<ul>
<li>Added OSGI bundle headers.
<ul>
<li>I&#8217;m an OSGI novice; please let me know if these are wrong.
  </ul>
<li><a href="http://code.google.com/p/jslint4java/issues/detail?id=52">issue 52</a>: Add checkstyle xml formatter.
<li><a href="http://code.google.com/p/jslint4java/issues/detail?id=53">issue 53</a>: No files passed to the ant task is no longer an error (just an info message).
<li>Update to JSLint 2011-03-07.
<ul>
<li> This adds the <code>continue</code> option, whilst removing <code>eqeqeq</code>, <code>immed</code> and <code>laxbreak</code> options.
<li> JSLints interpretation of line and column numbers has changed. I&#8217;ve tried to keep up. Please file a bug if errors aren&#8217;t reported at the expected place.
  </ul>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2011/03/11/jslint4java-1-4-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jslint4java status</title>
		<link>http://happygiraffe.net/blog/2011/02/24/jslint4java-status/</link>
		<comments>http://happygiraffe.net/blog/2011/02/24/jslint4java-status/#comments</comments>
		<pubDate>Thu, 24 Feb 2011 09:39:29 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1689</guid>
		<description><![CDATA[I&#8217;ve done a few releases of jslint4java whilst this blog has been down. We&#8217;re presently at 1.4.6. It&#8217;s mostly been bug fixes and JSLint upgrades. What&#8217;s really interesting has been paying attention to the integrations that people have come up &#8230; <a href="http://happygiraffe.net/blog/2011/02/24/jslint4java-status/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve done a few releases of <a href="http://code.google.com/p/jslint4java">jslint4java</a> whilst this blog has been down.  We&#8217;re presently at <a href="http://code.google.com/p/jslint4java/#jslint4java-1.4.6">1.4.6</a>.  It&#8217;s mostly been bug fixes and JSLint upgrades.</p>
<p>What&#8217;s really interesting has been paying attention to the integrations that people have come up with.  It&#8217;s never been easier to have lint-free JavaScript!</p>
<dl>
<dt>Sonar</p>
<dd>If you use the sonar code quality tool, check out the <a href="http://docs.codehaus.org/display/SONAR/JavaScript+Plugin">javascript-plugin-for-sonar</a> which uses jslint4java.</p>
<dt> <del>Hudson</del>Jenkins</p>
<dd> The <a href="http://wiki.hudson-ci.org/display/HUDSON/Violations">hudson violations plugin</a> can display JSLint errors in your project.  You still have to arrange to run jslint4java as part of your build though.</p>
<dt> Emacs</p>
<dd> Want to run JSLint inside Emacs?  Have a look at <a href="https://gist.github.com/769416">this gist</a>.</p>
<dt> Gradle</p>
<dd> Do you use gradle for your builds?  <a href="http://www.kellyrob99.com/blog/">kellyrob99</a> has produced a <a href="https://github.com/kellyrob99/gradle-jslint-plugin">gradle-jslint-plugin</a>.</p>
<dt> Mercurial</p>
<dd> Want to run JSLint automatically when using mercurial?  Take a look at <a href="http://katratxo.wordpress.com/2010/12/13/running-jslint-as-hg-precommit-hook/">Running JSLint as Mercurial precommit hook</a>.</p>
<dt> Netbeans</p>
<dd> Check out <a href="http://blogs.sun.com/ashamash/entry/integrating_jslint_more_tightly_into">Integrating JSLint more tightly into NetBeans</a>.</p>
<dt> Maven</p>
<dd> Whilst there&#8217;s a <a href="https://github.com/happygiraffe/jslint4java/tree/maven-plugin">jslint4java maven plugin</a> in the works, <a href="http://stackoverflow.com/questions/92372/maven-plugins-for-javascript">this stackoverflow post</a> describes several ways of integrating JSLint with Maven.</p>
<dt> Phonegap</p>
<dd> If you&#8217;re doing Phonegap development, the latest version of the <a href="http://code.google.com/a/eclipselabs.org/p/mobile-web-development-with-phonegap/">eclipse plugin</a> comes with JSLint.</p>
</dl>
<p>If you develop an open source project, then you really should set up a <a href="http://www.google.com/alerts">google alert</a> for its name.  You <em>will</em> be surprised.</p>
<p>What&#8217;s coming up?</p>
<ul>
<li> Update to the latest <a href="https://github.com/douglascrockford/JSLint/">JSLint</a> (as always).  Doug Crockford recently did a major rewrite.  I think I&#8217;ve got that mostly integrated now, but not released.
<li>There are a <a href="http://code.google.com/p/jslint4java/issues/list">few outstanding bugs</a> that I need to pay attention to.
<li>I&#8217;ve also been working on my own <a href="https://github.com/happygiraffe/jslint4java-eclipse">jslint4java-eclipse</a> plugin, which feels nearly complete enough to release.
<li> Assuming I can ever figure out the integration testing, I&#8217;ll go back and finish off the <a href="https://github.com/happygiraffe/jslint4java/tree/maven-plugin">jslint4java-maven-plugin</a>.
</ul>
<p>Plenty to keep busy with!</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2011/02/24/jslint4java-status/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>jslint4java 1.4</title>
		<link>http://happygiraffe.net/blog/2010/07/28/jslint4java-1-4/</link>
		<comments>http://happygiraffe.net/blog/2010/07/28/jslint4java-1-4/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 06:54:43 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1673</guid>
		<description><![CDATA[I&#8217;ve just released a new version of jslint4java, 1.4. Most useful is probably support for JUnit output, which should make jslint easy to integrate with a continuous build system like hudson or pulse. Here&#8217;s the full set of changes: &#160;issue &#8230; <a href="http://happygiraffe.net/blog/2010/07/28/jslint4java-1-4/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released a new version of <a href="http://code.google.com/p/jslint4java">jslint4java</a>, 1.4.  Most useful is probably support for JUnit output, which should make jslint easy to integrate with a continuous build system like <a href="http://www.hudson-ci.org/">hudson</a> or <a href="http://zutubi.com/products/pulse">pulse</a>.  Here&#8217;s the full set of changes:</p>
<ul>
<li><a title="Remove embedded junit dependency." class=closed_ref href="http://happygiraffe.net/p/jslint4java/issues/detail?id=35">&nbsp;issue 35&nbsp;</a>: Removed embedded JUnit. </li>
<li><a title="Add ReportFormatter" class=closed_ref href="http://happygiraffe.net/p/jslint4java/issues/detail?id=30">&nbsp;issue 30&nbsp;</a>: Add a &quot;report&quot; formatter to the ant task.
<ul>
<li>Also available on the command line with <tt>--report</tt> </li>
</ul>
<li><a title="Add command line flag to specify input encoding" class=closed_ref href="http://happygiraffe.net/p/jslint4java/issues/detail?id=37">&nbsp;issue 37&nbsp;</a>: add a <tt>--encoding</tt> flag for specifying the encoding files on the command line. </li>
<li><a title="JUnit XML output" class=closed_ref href="http://happygiraffe.net/p/jslint4java/issues/detail?id=36">&nbsp;issue 36&nbsp;</a>: add a JUnit XML formatter. </li>
<li><a title="Support JSLINT.data()" class=closed_ref href="http://happygiraffe.net/p/jslint4java/issues/detail?id=26">&nbsp;issue 26&nbsp;</a>: add support for <tt>.data()</tt> call in JSLINT.
<ul>
<li>This is only available in the Java API right now. </li>
</ul>
<li><a title="Add failureproperty" class=closed_ref href="http://happygiraffe.net/p/jslint4java/issues/detail?id=39">&nbsp;issue 39&nbsp;</a>: add failureproperty to the ant task. </li>
<li>Use JCommander for flag processing.
<ul>
<li><strong>(INCOMPATIBILITY)</strong> This means that command line option parsing has changed slightly.  You now have to say <tt>--indent 2</tt> instead of <tt>--indent=2</tt>. </li>
<li><strong>(INCOMPATIBILITY)</strong> The minimum version of Java is now 6. </li>
</ul>
<li>Update to JSLint 2010-07-14.
<ul>
<li>Adds options: es5, windows. </li>
<li>Removes options: sidebar. </li>
</ul>
</ul>
<p>I&#8217;m really grateful to Cédric Beust for <a href="http://beust.com/jcommander/">JCommander</a>.  It&#8217;s a really nice little library.</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2010/07/28/jslint4java-1-4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jslint4java 1.3.3</title>
		<link>http://happygiraffe.net/blog/2009/12/02/jslint4java-1-3-3/</link>
		<comments>http://happygiraffe.net/blog/2009/12/02/jslint4java-1-3-3/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 22:50:14 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1650</guid>
		<description><![CDATA[I&#8217;ve updated jslint4java again. This time, I&#8217;ve added: Support for the predef option, so you can specify a list of predefined global variables. I first said I&#8217;d do this over a year ago. Updated to JSLint 2009-11-24, which brings a &#8230; <a href="http://happygiraffe.net/blog/2009/12/02/jslint4java-1-3-3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve updated <a href="http://code.google.com/p/jslint4java">jslint4java</a> again.  This time, I&#8217;ve added:</p>
<ul>
<li>Support for the <em>predef</em> option, so you can specify a list of predefined global variables.  I first said I&#8217;d do this over a year ago. <img src='http://happygiraffe.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </li>
<li>Updated to <a href="http://jslint.com/">JSLint</a> 2009-11-24, which brings a new <em>devel</em> option.  Now you can decide if <code>alert()</code>, <code>console.log()</code>, etc are available.</li>
</ul>
<p>Unfortunately, just after I&#8217;d committed the release, I noticed that I&#8217;ve managed to (somehow) pick up a junit dependency.  I&#8217;ll set about removing that for the next release (<a href="http://code.google.com/p/jslint4java/issues/detail?id=35">issue 35</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2009/12/02/jslint4java-1-3-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jslint4java 1.3.2</title>
		<link>http://happygiraffe.net/blog/2009/11/12/jslint4java-1-3-2/</link>
		<comments>http://happygiraffe.net/blog/2009/11/12/jslint4java-1-3-2/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 22:41:11 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1646</guid>
		<description><![CDATA[Just a quick note that I&#8217;ve released jslint4java 1.3.2. There&#8217;s not a lot of news in here. The main new feature is that I added the ability to specify an external copy of jslint.js. This is quite useful if Doug &#8230; <a href="http://happygiraffe.net/blog/2009/11/12/jslint4java-1-3-2/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Just a quick note that I&#8217;ve released <a href="http://code.google.com/p/jslint4java">jslint4java</a> 1.3.2.  There&#8217;s not a lot of news in here.  The main new feature is that I added the ability to specify an external copy of <a href="http://www.jslint.com/fulljslint.js">jslint.js</a>.  This is quite useful if Doug Crockford introduces new features before I release a new version of jslint4java.</p>
<p>This release also upgrades to JSLint 2009-10-04, which sports a new <em>maxerrs</em> option.</p>
<p>Apart from that, I&#8217;m particularly grateful to both Simon Kenyon Shepard and Ryan Alberts for pointing out where my unit tests where non-portable.  I really need to get <a href="http://www.hudson-ci.org/">hudson</a> up and running on the games PC…</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2009/11/12/jslint4java-1-3-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jslint.com mirror</title>
		<link>http://happygiraffe.net/blog/2009/08/02/jslint-com-mirror/</link>
		<comments>http://happygiraffe.net/blog/2009/08/02/jslint-com-mirror/#comments</comments>
		<pubDate>Sun, 02 Aug 2009 21:40:10 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[jslint4java]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1583</guid>
		<description><![CDATA[Whilst I ensure I have the latest version of JSLint for each release of jslint4java, it&#8217;s often difficult to know what&#8217;s actually changed between versions. Unfortunately, Douglas Crockford doesn&#8217;t maintain a public version control system1 (which is entirely up to &#8230; <a href="http://happygiraffe.net/blog/2009/08/02/jslint-com-mirror/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Whilst I ensure I have the latest version of <a href="http://www.jslint.com/">JSLint</a> for each release of jslint4java, it&#8217;s often difficult to know what&#8217;s actually changed between versions.  Unfortunately, Douglas Crockford doesn&#8217;t maintain a public version control system<sup><a href="#fn1">1</a></sup> (which is entirely up to him).</p>
<p>Nonetheless, it&#8217;s kind of useful to be able to look at a version of JSLint and say &#8220;this changed since the last version&#8221;.  So, I&#8217;ve started mirroring <a href="http://jslint.com/"><code>www.jslint.com</code></a> into a <a href="http://github.com/happygiraffe/jslint.com-mirror/tree">git repository</a>.  I check for updates every hour.</p>
<p>This means you can now see how JSLint changes over time.</p>
<p>Now, it&#8217;s not as useful as it could be.  It would be nice to tie these up to the changes that Douglas posts to <a href="http://tech.dir.groups.yahoo.com/group/jslint_com/messages/">the mailing list</a> (e.g. <a href="http://tech.dir.groups.yahoo.com/group/jslint_com/message/764">announcing the new <code>.data()</code> support</a>).  But that&#8217;s quite a bit more work.</p>
<p>I hope that this is beneficial to somebody.</p>
<p><sup><a name="fn1">1</a></sup> It&#8217;s amazing how normal public version control has become over the years.  This used to be a <em>lot</em> less common, which made projects a lot harder to understand.</p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2009/08/02/jslint-com-mirror/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Documenting with maven</title>
		<link>http://happygiraffe.net/blog/2009/07/31/documenting-with-maven/</link>
		<comments>http://happygiraffe.net/blog/2009/07/31/documenting-with-maven/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 19:11:19 +0000</pubDate>
		<dc:creator>Dominic Mitchell</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[jslint4java]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://happygiraffe.net/blog/?p=1576</guid>
		<description><![CDATA[Recently, I&#8217;ve been thinking about documentation more and more. I&#8217;ve just finished up some documentation for an internal product, which was all done using the maven-site-plugin and APT. This worked reasonably well: I get a generated website, with javadocs and &#8230; <a href="http://happygiraffe.net/blog/2009/07/31/documenting-with-maven/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve been thinking about documentation more and more.  I&#8217;ve just finished up some documentation for an internal product, which was all done using the <a href="http://maven.apache.org/plugins/maven-site-plugin/">maven-site-plugin</a> and <a href="http://maven.apache.org/doxia/references/apt-format.html">APT</a>.  This worked reasonably well: I get a generated website, with javadocs and a few howto pages I wrote.</p>
<p>But it really feels like it starts to fall apart when you get to a multimodule build.  Maven does quite a few nice things for you, but you start to see some annoying glitches here.  One of the first ones I came across was the <a href="http://maven.apache.org/pom.html#Quick_Overview">url</a> element.  If you set it correctly in the root pom (e.g. <code>http://mycompany.com/project/</code>) then maven automatically appends the artifactId when constructing the site for submodules.  So you end up with <code>http://mycompany.com/project/mysubmodule/</code>, which isn&#8217;t necessarily correct.</p>
<p>After thinking about this for a while, and how best to document <a href="http://code.google.com/p/jslint4java/">jslint4java</a>, I&#8217;ve come to the same realisation as Mark Pilgrim: <a href="http://diveintomark.org/archives/2009/03/27/dive-into-history-2009-edition">plain old HTML works best</a>.  I&#8217;ve tried a few like <a href="http://www.textism.com/tools/textile/">Textile</a> (yuck), <a href="http://daringfireball.net/projects/markdown/">Markdown</a> (better), <a href="http://perldoc.perl.org/perlpod.html">POD</a> (too simple) and <a href="http://www.docbook.org/">docbook</a> (too complex).  HTML strikes the right balance.  Especially with the new HTML5 tags.  And it doesn&#8217;t require any building to view it.  Just hit refresh.</p>
<p>So how to make it part of the maven build?  Easy.  Stuff it into it&#8217;s own submodule.  Then, it can be referenced by the assembly plugin later and put in the correct place in your distribution.  Check out <a href="http://github.com/happygiraffe/jslint4java/tree/8132993b1dab1f25bc1b1b9e9ae3eb073453322c/jslint4java-docs">jslint4java-docs</a> for details.  It would be nice if maven natively supported <a href="http://jira.codehaus.org/browse/MNG-1683">zip packaging</a>, but that&#8217;s easily overcome.</p>
<p>This does mean it doesn&#8217;t get automatically deployed to a server.  But that doesn&#8217;t really matter.  It happens infrequently enough that I&#8217;m happy to do that by hand where needed.  Or at least find a better solution when I get bored of that. <img src='http://happygiraffe.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://happygiraffe.net/blog/2009/07/31/documenting-with-maven/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

