<?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>SwellJS - another big fish in the sea &#187; JSDoc</title>
	<atom:link href="http://blog.justswell.org/tag/jsdoc/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.justswell.org</link>
	<description>well-minded javascript library</description>
	<lastBuildDate>Fri, 20 Aug 2010 20:48:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>SVN post-commit hook, API doc autogeneration</title>
		<link>http://blog.justswell.org/svn-post-commit-hook-api-doc-autogeneration/</link>
		<comments>http://blog.justswell.org/svn-post-commit-hook-api-doc-autogeneration/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 13:17:35 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Swell]]></category>
		<category><![CDATA[JSDoc]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://blog.justswell.org/?p=22</guid>
		<description><![CDATA[Generating manually Swell&#8217;s API doc actually&#8217;s being a pain, we finally chose to generate it automatically through subversion&#8217;s repositories hooks. These hooks once enabled, allows you to listen specific SVN-based events (pre/start/post commit/lock&#8230;) and therefore execute your home-made script. In our case, we use JSDoc to generate the API doc and well, it took about [...]]]></description>
			<content:encoded><![CDATA[<p>Generating manually Swell&#8217;s API doc actually&#8217;s being a pain, we finally chose to generate it automatically through subversion&#8217;s repositories hooks.<br />
These hooks once enabled, allows you to listen specific SVN-based events (pre/start/post commit/lock&#8230;) and therefore execute your home-made script.</p>
<p>In our case, we use JSDoc to generate the API doc and well, it took about 6mins with one core (2ghz) fully-loaded to parse/generate the documentation for only 4 files…<br />
Let&#8217;s hope that we&#8217;ll not commit too often.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> up <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>your<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>api<span style="color: #000000; font-weight: bold;">/</span>src
java <span style="color: #660033;">-jar</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>your<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>api<span style="color: #000000; font-weight: bold;">/</span>jsdoc<span style="color: #000000; font-weight: bold;">/</span>jsrun.jar <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>your<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>api<span style="color: #000000; font-weight: bold;">/</span>jsdoc<span style="color: #000000; font-weight: bold;">/</span>app<span style="color: #000000; font-weight: bold;">/</span>run.js <span style="color: #660033;">-r</span>=<span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>your<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>api<span style="color: #000000; font-weight: bold;">/</span>src <span style="color: #660033;">-t</span>=<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>your<span style="color: #000000; font-weight: bold;">/</span>repository<span style="color: #000000; font-weight: bold;">/</span>api<span style="color: #000000; font-weight: bold;">/</span>jsdoc<span style="color: #000000; font-weight: bold;">/</span>templates<span style="color: #000000; font-weight: bold;">/</span>jsdoc</pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.justswell.org/svn-post-commit-hook-api-doc-autogeneration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

