<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: GitHub Pages: publish your Grails plugin docs</title>
	<atom:link href="http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/feed" rel="self" type="application/rss+xml" />
	<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs</link>
	<description>A search for meaning in software and life</description>
	<lastBuildDate>Thu, 06 Oct 2011 21:33:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Daniel</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-1189</link>
		<dc:creator>Daniel</dc:creator>
		<pubDate>Sat, 26 Feb 2011 16:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-1189</guid>
		<description>Hi, Peter. Based on PublishGithub.groovy, i&#039;ve done something similar for Google Code:

http://code.google.com/p/grails-batch-launcher-plugin/source/browse/trunk/scripts/PublishGooglecode.groovy

Thanks.

Best regards,

Daniel.</description>
		<content:encoded><![CDATA[<p>Hi, Peter. Based on PublishGithub.groovy, i&#8217;ve done something similar for Google Code:</p>
<p><a href="http://code.google.com/p/grails-batch-launcher-plugin/source/browse/trunk/scripts/PublishGooglecode.groovy" rel="nofollow">http://code.google.com/p/grails-batch-launcher-plugin/source/browse/trunk/scripts/PublishGooglecode.groovy</a></p>
<p>Thanks.</p>
<p>Best regards,</p>
<p>Daniel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-1188</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 16 Feb 2011 14:31:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-1188</guid>
		<description>Great post! I have been toying with the idea of building a plugin similar to the maven site plugin so that I can aggregate docs, coverage, metrics, etc. into one coherent site and this is a great starting point.</description>
		<content:encoded><![CDATA[<p>Great post! I have been toying with the idea of building a plugin similar to the maven site plugin so that I can aggregate docs, coverage, metrics, etc. into one coherent site and this is a great starting point.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#34;Hmm!&#34; Ich erinnere mich K&#228;stchen zwar ger&#228;umt, aber immer Frack, ein schimmernder Hut, adrette braune Gamaschen Mein Freund auf h&#246;chst eigenwillige Weise. &#124; Schon so gut wie gewonnen.</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-1185</link>
		<dc:creator>&#34;Hmm!&#34; Ich erinnere mich K&#228;stchen zwar ger&#228;umt, aber immer Frack, ein schimmernder Hut, adrette braune Gamaschen Mein Freund auf h&#246;chst eigenwillige Weise. &#124; Schon so gut wie gewonnen.</dc:creator>
		<pubDate>Fri, 21 Jan 2011 18:06:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-1185</guid>
		<description>[...] der sagte ich, &#252;ber eilte ich zu sagte Schmidt, &#187;ist es von der Stra&#223;e. Und wer GitHub Pages: publish your Grails plugin docs @ Peter Ledbrook sind die hier?Dann ging ja! Als wir abfuhren, konnte mit ich selbst sie mit welche Gentleman, [...]</description>
		<content:encoded><![CDATA[<p>[...] der sagte ich, &uuml;ber eilte ich zu sagte Schmidt, &raquo;ist es von der Stra&szlig;e. Und wer GitHub Pages: publish your Grails plugin docs @ Peter Ledbrook sind die hier?Dann ging ja! Als wir abfuhren, konnte mit ich selbst sie mit welche Gentleman, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-1158</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 28 Sep 2010 09:17:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-1158</guid>
		<description>@Scott How do you plan to commit the pages if the clone&#039;s remote URL is the HTTP one? That won&#039;t allow you to push changes. Nonetheless, you&#039;re right that the script is hardcoded to the git:// URL, when it could be https://.

As for &#039;plugin.xml&#039;, note that the article says that it should be removed from the remote git repository. You do still need the file locally. The package-plugin command should create it, so I&#039;m not sure what&#039;s going on there.

There&#039;s nothing stopping you from creating a plugin out of this :) In fact, a number of plugin developers seem to be using this approach, so I&#039;m surprised a plugin hasn&#039;t been created for it yet. I&#039;m afraid I&#039;ve barely used it since I created the script, so I&#039;m rather loathe to create and maintain one. Perhaps this is something for the Grails Plugin Collective to manage.</description>
		<content:encoded><![CDATA[<p>@Scott How do you plan to commit the pages if the clone&#8217;s remote URL is the HTTP one? That won&#8217;t allow you to push changes. Nonetheless, you&#8217;re right that the script is hardcoded to the git:// URL, when it could be https://.</p>
<p>As for &#8216;plugin.xml&#8217;, note that the article says that it should be removed from the remote git repository. You do still need the file locally. The package-plugin command should create it, so I&#8217;m not sure what&#8217;s going on there.</p>
<p>There&#8217;s nothing stopping you from creating a plugin out of this <img src='http://www.cacoethes.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  In fact, a number of plugin developers seem to be using this approach, so I&#8217;m surprised a plugin hasn&#8217;t been created for it yet. I&#8217;m afraid I&#8217;ve barely used it since I created the script, so I&#8217;m rather loathe to create and maintain one. Perhaps this is something for the Grails Plugin Collective to manage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Ryan</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-1157</link>
		<dc:creator>Scott Ryan</dc:creator>
		<pubDate>Tue, 28 Sep 2010 03:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-1157</guid>
		<description>We tried the plugin on our community plugins and get a number of errors.  The git url could not be located as it does not have a user name in it but is http://github.com/multi-tenant/grails-multi-tenant-core and then the script continued on and we got an error that the plugin.xml file was not found although the above post tells us to remove it.  I tried packaging the plugin first but no luck there either.  It would be cool if this was packaged into a plugin as it is rather tedious to set up for multiple projects with a lot of cutting and pasting which is error prone.  I will keep pushing forward but any ideas would be helpful.  I will try to post on the grails list as well.</description>
		<content:encoded><![CDATA[<p>We tried the plugin on our community plugins and get a number of errors.  The git url could not be located as it does not have a user name in it but is <a href="http://github.com/multi-tenant/grails-multi-tenant-core" rel="nofollow">http://github.com/multi-tenant/grails-multi-tenant-core</a> and then the script continued on and we got an error that the plugin.xml file was not found although the above post tells us to remove it.  I tried packaging the plugin first but no luck there either.  It would be cool if this was packaged into a plugin as it is rather tedious to set up for multiple projects with a lot of cutting and pasting which is error prone.  I will keep pushing forward but any ideas would be helpful.  I will try to post on the grails list as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-1152</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 31 Aug 2010 09:23:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-1152</guid>
		<description>Thanks Luke. I&#039;ve pushed the changed so the script in the GWT plugin has the fix.</description>
		<content:encoded><![CDATA[<p>Thanks Luke. I&#8217;ve pushed the changed so the script in the GWT plugin has the fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Daley</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-1151</link>
		<dc:creator>Luke Daley</dc:creator>
		<pubDate>Tue, 31 Aug 2010 02:10:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-1151</guid>
		<description>The following patch will make the publish-github script work with 1.3:



--- untitled
+++ (clipboard)
@@ -58,7 +58,13 @@
     // We have to generate the docs on the current branch because the
     // &#039;docs&#039; target depends on &#039;compile&#039;, which of course requires all
     // the source files.
-    def docsDir = new File(&quot;${basedir}/docs&quot;)
+    def docsDir 
+    try {
+        docsDir = grailsSettings.docsOutputDir
+    } catch (MissingPropertyException e) {
+        docsDir = new File(&quot;${basedir}/docs&quot;)
+    }
+    
     ant.delete(dir: docsDir.absolutePath)
     docs()
 
</description>
		<content:encoded><![CDATA[<p>The following patch will make the publish-github script work with 1.3:</p>
<p>&#8212; untitled<br />
+++ (clipboard)<br />
@@ -58,7 +58,13 @@<br />
     // We have to generate the docs on the current branch because the<br />
     // &#8216;docs&#8217; target depends on &#8216;compile&#8217;, which of course requires all<br />
     // the source files.<br />
-    def docsDir = new File(&#8220;${basedir}/docs&#8221;)<br />
+    def docsDir<br />
+    try {<br />
+        docsDir = grailsSettings.docsOutputDir<br />
+    } catch (MissingPropertyException e) {<br />
+        docsDir = new File(&#8220;${basedir}/docs&#8221;)<br />
+    }<br />
+<br />
     ant.delete(dir: docsDir.absolutePath)<br />
     docs()</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Armbruster IT Blog &#187; new Grails plugin released: modproxybalancer</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-1056</link>
		<dc:creator>Armbruster IT Blog &#187; new Grails plugin released: modproxybalancer</dc:creator>
		<pubDate>Tue, 25 May 2010 12:18:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-1056</guid>
		<description>[...] note: this is my first Grails plugin with it&#8217;s sources residing on github.com. Thanks to Peter Ledbrook&#8217;s excellent blog post, I was able to use GitHub pages for the documentation.    Categories: Uncategorized Tags: [...]</description>
		<content:encoded><![CDATA[<p>[...] note: this is my first Grails plugin with it&#8217;s sources residing on github.com. Thanks to Peter Ledbrook&#8217;s excellent blog post, I was able to use GitHub pages for the documentation.    Categories: Uncategorized Tags: [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: &#160; GitHub Pages: publica tu documentación de plugins de Grails (inglés)&#160;-&#160;Observatorio de Grails</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-970</link>
		<dc:creator>&#160; GitHub Pages: publica tu documentación de plugins de Grails (inglés)&#160;-&#160;Observatorio de Grails</dc:creator>
		<pubDate>Fri, 12 Mar 2010 11:08:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-970</guid>
		<description>[...] información sobre GitHub Pages: publish your Grails plugin doc (traducido al [...]</description>
		<content:encoded><![CDATA[<p>[...] información sobre GitHub Pages: publish your Grails plugin doc (traducido al [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Brevoort</title>
		<link>http://www.cacoethes.co.uk/blog/groovyandgrails/github-pages-publish-your-grails-plugin-docs/comment-page-1#comment-964</link>
		<dc:creator>Mike Brevoort</dc:creator>
		<pubDate>Mon, 08 Mar 2010 13:18:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.cacoethes.co.uk/blog/?p=232#comment-964</guid>
		<description>Very clever Peter. To Graeme&#039;s point would be great if there were a more turnkey way to do this, but to me it would make sense that this would integrate more tightly into the Plugin Portal. I especially like the change notification on the plugin portal docs (though not 25 emails when someone is editing large changes and incrementally saving).

Is it more appropriate to consider what improvements should be made to the plugin portal? Subpage support with the ability to publish all docs from script? Also, would be cool if within core a dev plugin  there was a way to fire up a local webserver to serve the grails doc for the version you&#039;re running as well as a consolidated collection of plugin docs for all the plugins installed in the project. 

I like the though of trying to maintain consolidated documentation for plugins.</description>
		<content:encoded><![CDATA[<p>Very clever Peter. To Graeme&#8217;s point would be great if there were a more turnkey way to do this, but to me it would make sense that this would integrate more tightly into the Plugin Portal. I especially like the change notification on the plugin portal docs (though not 25 emails when someone is editing large changes and incrementally saving).</p>
<p>Is it more appropriate to consider what improvements should be made to the plugin portal? Subpage support with the ability to publish all docs from script? Also, would be cool if within core a dev plugin  there was a way to fire up a local webserver to serve the grails doc for the version you&#8217;re running as well as a consolidated collection of plugin docs for all the plugins installed in the project. </p>
<p>I like the though of trying to maintain consolidated documentation for plugins.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

