<?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>Metacosm &#187; gatein</title>
	<atom:link href="http://codepuccino.com/metacosm/tag/gatein/feed/" rel="self" type="application/rss+xml" />
	<link>http://codepuccino.com/metacosm</link>
	<description>This is not a tag line!</description>
	<lastBuildDate>Tue, 13 Apr 2010 15:24:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Improving deployment of WSRP-related artifacts in GateIn</title>
		<link>http://codepuccino.com/metacosm/2010/03/09/improving-deployment-of-wsrp-related-artifacts-in-gatein/</link>
		<comments>http://codepuccino.com/metacosm/2010/03/09/improving-deployment-of-wsrp-related-artifacts-in-gatein/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 11:35:17 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[gatein]]></category>
		<category><![CDATA[wsrp]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[optimization]]></category>

		<guid isPermaLink="false">http://codepuccino.com/metacosm/?p=487</guid>
		<description><![CDATA[As you may know, I am working on WSRP for GateIn. One problem I faced until today in my daily development was that deploying a new version of the WSRP module for testing required re-building GateIn completely, which takes quite a bit of time and has the side effect of also destroying any persisted data.


Related posts:<ol><li><a href='http://codepuccino.com/metacosm/2009/08/11/code-reminder-using-an-isolated-local-maven-repository/' rel='bookmark' title='Permanent Link: Code reminder: using an isolated local Maven repository'>Code reminder: using an isolated local Maven repository</a> <small>I can never remember the command line option to use...</small></li>
<li><a href='http://codepuccino.com/metacosm/2009/10/21/gatein-3-0-0-beta-2-released/' rel='bookmark' title='Permanent Link: GateIn 3.0.0 Beta 2 released!'>GateIn 3.0.0 Beta 2 released!</a> <small>As some of you may know, JBoss and eXo have...</small></li>
<li><a href='http://codepuccino.com/metacosm/2010/02/18/gatein-3-0-cr1/' rel='bookmark' title='Permanent Link: GateIn 3.0 CR1 released!'>GateIn 3.0 CR1 released!</a> <small>Where have I been? Well, mostly working towards releasing GateIn...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>As you may know, I am working on WSRP for GateIn. One problem I faced until today in my daily development was that deploying a new version of the WSRP module for testing required re-building GateIn completely, which takes quite a bit of time and has the side effect of also destroying any persisted data. This, in turn, resulted in even more wasted time spent on configuring GateIn so that I could perform my tests (configuring consumers, adding remote portlets to pages, etc).</p>
<p>I decided that I could make that process faster by just replacing the WSRP artifacts in an already built version of GateIn if there hadn&#8217;t been any API change in the WSRP module. I present the following script to that effect:</p>
<pre class="brush: bash;">
# extract most recent version of WSRP module: only check the first 5 lines of maven-metadata-local.xml and extract value from &lt;version&gt; tag
export CURRENT_WSRP=`sed -n -e '5 s/.*&lt;version&gt;\(.*\)&lt;\/version&gt;.*/\1/p' $HOME/.m2/repository/org/gatein/wsrp/wsrp-common/maven-metadata-local.xml`
echo Current WSRP version: \'$CURRENT_WSRP\'

# extract which WSRP libs are currently needed by GateIn and replace them with a fresh version from local repository
for lib in `ls $GATEIN_EAR_HOME/lib/wsrp* | sed -n 's/.*\/\(.*\)-'$CURRENT_WSRP'.jar/\1/p'`
do
	echo Copying $lib-$CURRENT_WSRP.jar to $GATEIN_EAR_HOME/lib/
	cp $HOME/.m2/repository/org/gatein/wsrp/$lib/$CURRENT_WSRP/$lib-$CURRENT_WSRP.jar $GATEIN_EAR_HOME/lib/
done

# deal with producer and admin GUI WARs separately as they are put elsewhere and without version name
for war in `ls $GATEIN_EAR_HOME/wsrp* | sed -n 's/.*\/\(.*\).war/\1/p'`
do
	echo Copying $war-$CURRENT_WSRP.war to $GATEIN_EAR_HOME/$war.war
	cp $HOME/.m2/repository/org/gatein/wsrp/$war/$CURRENT_WSRP/$war-$CURRENT_WSRP.war $GATEIN_EAR_HOME/$war.war
done
</pre>
<p>Note that this script expects that you have a <code>$GATEIN_EAR_HOME</code> variable set, pointing to location of your GateIn EAR. Easy enough (though I had to freshen up my sed-fu ^_^).</p>
<div class="update" title="A little later">
Actually, I can also retrieve the current version of the WSRP module by looking at the currently deployed jar files, as follows:</p>
<pre class="brush: bash;">
# extract most recent version of WSRP module from existing files
CURRENT_WSRP=`ls $GATEIN_EAR_HOME/lib/wsrp* | sed -n '1 s/.*\/.*-\([0-9]\.[0-9].[0-9]-.*-.*\).jar/\1/p'`
</pre>
<p>Might be faster that way…
</p></div>
<p></p>
<div class="update" title="March 11th, 2010">
I&#8217;ve made more improvements to the code and decided to put it in the SVN of the WSRP module. If you&#8217;re interested, you can take a look <a href="http://anonsvn.jboss.org/repos/gatein/components/wsrp/trunk/UpdateWSRPForGateIn.sh">there</a>.
</div>


<p>Related posts:<ol><li><a href='http://codepuccino.com/metacosm/2009/08/11/code-reminder-using-an-isolated-local-maven-repository/' rel='bookmark' title='Permanent Link: Code reminder: using an isolated local Maven repository'>Code reminder: using an isolated local Maven repository</a> <small>I can never remember the command line option to use...</small></li>
<li><a href='http://codepuccino.com/metacosm/2009/10/21/gatein-3-0-0-beta-2-released/' rel='bookmark' title='Permanent Link: GateIn 3.0.0 Beta 2 released!'>GateIn 3.0.0 Beta 2 released!</a> <small>As some of you may know, JBoss and eXo have...</small></li>
<li><a href='http://codepuccino.com/metacosm/2010/02/18/gatein-3-0-cr1/' rel='bookmark' title='Permanent Link: GateIn 3.0 CR1 released!'>GateIn 3.0 CR1 released!</a> <small>Where have I been? Well, mostly working towards releasing GateIn...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://codepuccino.com/metacosm/2010/03/09/improving-deployment-of-wsrp-related-artifacts-in-gatein/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GateIn 3.0 CR1 released!</title>
		<link>http://codepuccino.com/metacosm/2010/02/18/gatein-3-0-cr1/</link>
		<comments>http://codepuccino.com/metacosm/2010/02/18/gatein-3-0-cr1/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 12:08:44 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[jboss]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[gatein]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://codepuccino.com/metacosm/?p=484</guid>
		<description><![CDATA[Where have I been? Well, mostly working towards releasing GateIn (we just released CR1, by the way, go grab it, put it through the motions and let us know if you find any issues). We had a nice face to face meeting in Charmey, Switzerland with some of the eXo guys. It was nice to


Related posts:<ol><li><a href='http://codepuccino.com/metacosm/2009/10/21/gatein-3-0-0-beta-2-released/' rel='bookmark' title='Permanent Link: GateIn 3.0.0 Beta 2 released!'>GateIn 3.0.0 Beta 2 released!</a> <small>As some of you may know, JBoss and eXo have...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Where have I been? Well, mostly working towards releasing <a href="http://www.jboss.org/gatein">GateIn</a> (we just <a href="http://bit.ly/cs9IKP">released CR1</a>, by the way, go grab it, put it through the motions and let us know if you find any issues).</p>
<p>We had a nice face to face meeting in Charmey, Switzerland with some of the eXo guys. It was nice to see my co-workers and meet new ones. Lots of good discussions. We even found a way to fit in some fun, which is always good to bind teams. Oh, and we did, of course, get to eat various melted cheese dishes and you can&#8217;t really go wrong with that! <img src='http://codepuccino.com/metacosm/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>


<p>Related posts:<ol><li><a href='http://codepuccino.com/metacosm/2009/10/21/gatein-3-0-0-beta-2-released/' rel='bookmark' title='Permanent Link: GateIn 3.0.0 Beta 2 released!'>GateIn 3.0.0 Beta 2 released!</a> <small>As some of you may know, JBoss and eXo have...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://codepuccino.com/metacosm/2010/02/18/gatein-3-0-cr1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GateIn 3.0.0 Beta 2 released!</title>
		<link>http://codepuccino.com/metacosm/2009/10/21/gatein-3-0-0-beta-2-released/</link>
		<comments>http://codepuccino.com/metacosm/2009/10/21/gatein-3-0-0-beta-2-released/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 17:15:57 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[jboss]]></category>
		<category><![CDATA[portal]]></category>
		<category><![CDATA[eXo]]></category>
		<category><![CDATA[gatein]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://codepuccino.com/metacosm/?p=478</guid>
		<description><![CDATA[As some of you may know, JBoss and eXo have decided to merge their portal efforts in an attempt to create the best open-source portal framework out there. This new, best-of-breed portal project is called GateIn. Integrating both code bases has taken (and still does) a lot of effort from both teams. This has translated


Related posts:<ol><li><a href='http://codepuccino.com/metacosm/2010/02/18/gatein-3-0-cr1/' rel='bookmark' title='Permanent Link: GateIn 3.0 CR1 released!'>GateIn 3.0 CR1 released!</a> <small>Where have I been? Well, mostly working towards releasing GateIn...</small></li>
<li><a href='http://codepuccino.com/metacosm/2010/03/09/improving-deployment-of-wsrp-related-artifacts-in-gatein/' rel='bookmark' title='Permanent Link: Improving deployment of WSRP-related artifacts in GateIn'>Improving deployment of WSRP-related artifacts in GateIn</a> <small>As you may know, I am working on WSRP for...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>As some of you may know, JBoss and eXo have decided to merge their portal efforts in an attempt to create the best open-source portal framework out there. This new, best-of-breed portal project is called <a href="http://www.jboss.org/gatein/">GateIn</a>.</p>
<p>Integrating both code bases has taken (and still does) a lot of effort from both teams. This has translated in some long hours and little sleep but we&#8217;ve just released a new beta version for you to try and enjoy! Apart from lots of improvements and fixes, the big news is, of course, that we now provide the complete source code! Read more about it on the <a href="http://blog.gatein.org/2009/10/gatein-300-beta-2-is-out.html">official GateIn blog</a>.</p>
<p>Of course, we&#8217;re not done yet so keep watching the blog. You can also <a href="http://twitter.com/gatein">follow GateIn on Twitter</a>.</p>


<p>Related posts:<ol><li><a href='http://codepuccino.com/metacosm/2010/02/18/gatein-3-0-cr1/' rel='bookmark' title='Permanent Link: GateIn 3.0 CR1 released!'>GateIn 3.0 CR1 released!</a> <small>Where have I been? Well, mostly working towards releasing GateIn...</small></li>
<li><a href='http://codepuccino.com/metacosm/2010/03/09/improving-deployment-of-wsrp-related-artifacts-in-gatein/' rel='bookmark' title='Permanent Link: Improving deployment of WSRP-related artifacts in GateIn'>Improving deployment of WSRP-related artifacts in GateIn</a> <small>As you may know, I am working on WSRP for...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://codepuccino.com/metacosm/2009/10/21/gatein-3-0-0-beta-2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
