<?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>bitwalker.nl &#187; maven</title>
	<atom:link href="http://www.bitwalker.nl/blog/category/maven/feed" rel="self" type="application/rss+xml" />
	<link>http://www.bitwalker.nl</link>
	<description>agile software development</description>
	<lastBuildDate>Sun, 15 Aug 2010 20:49:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Automatic application deployment with Maven and Luntbuild</title>
		<link>http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild</link>
		<comments>http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild#comments</comments>
		<pubDate>Sat, 01 Nov 2008 18:40:24 +0000</pubDate>
		<dc:creator>Harald Walker</dc:creator>
				<category><![CDATA[agile]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[testing]]></category>

		<guid isPermaLink="false">http://www.bitwalker.nl/?p=56</guid>
		<description><![CDATA[When we started the Tripolis Dialogue project years ago, we directly created a continuous integration environment with a build server periodically running tests. For a long time, the missing part has been the deployment to test servers. Test server deployments had to be done manually, which was time consuming and error prone. It also meant, [...]]]></description>
			<content:encoded><![CDATA[<p>When we started the Tripolis Dialogue project years ago, we directly created a continuous integration environment with a build server periodically running tests. For a long time, the missing part has been the deployment to test servers. Test server deployments had to be done manually, which was time consuming and error prone. It also meant, that testers did not always have the most current version directly available, leading to a waterfall style of development and testing. It was clear, that we really had to shorten the development/testing cycle and make it easier to support multiple versions of our application.<br />
Part of the technical challenge was, that we had to deploy 5 web-applications (running on <a href="http://caucho.com/resin-3.1/doc/">Resin</a> as application server) and 4 daemon processes (all Java).</p>
<p>We found a working solution in a combination of a custom Ant plugin for <a href="http://maven.apache.org">Maven</a>, Maven as build tool, shell scripts and Luntbuild. It took us quiet a while to figure it all out and get it right, but now we are deploying multiple versions each night and can also trigger deployments manually. In this post I am going to show how we solved it.<span id="more-56"></span></p>
<p><strong>1. Ant Plugin for Maven</strong><br />
We were not able to find existing Maven plugins for the tasks of copying, unpacking and remotely managing applications, so we decided to write our own <a href="http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html">Ant Plugin for Maven</a>, which allowed us to use tasks like <a href="http://ant.apache.org/manual/OptionalTasks/sshexec.html">sshexec</a> and <a href="http://ant.apache.org/manual/OptionalTasks/scp.html">scp</a>.<br />
The plugin basically only needs 3 files: an  ant build script, a mapping document and of course Maven&#8217;s POM. The image below shows the Eclipse project for the plugin.</p>
<p><a href="http://www.bitwalker.nl/wp-content/uploads/2008/11/maven-plugin.png" rel="lightbox"><img class="size-full wp-image-57" title="Ant Plugin for Maven project in Eclipse" src="http://www.bitwalker.nl/wp-content/uploads/2008/11/maven-plugin.png" alt="" width="388" height="201" /></a></p>
<p>The ant script <em>rollout.build.xml</em> performs tasks like SSH commands and SCP and accepts various parameters, which allow us to use it in a very flexible way. In the code example below, you can see two targets, one for the web applications and one for the daemon processes.</p>
<p><a href="http://www.bitwalker.nl/wp-content/uploads/2008/11/rolloutbuild.png" rel="lightbox"><img class="alignnone size-medium wp-image-74" title="rollout.build.xml" src="http://www.bitwalker.nl/wp-content/uploads/2008/11/rolloutbuild-300x180.png" alt="" width="300" height="180" /></a></p>
<p>In order to use the ant script, a mapping document has to be created to tell Maven how to use our plugin.</p>
<p><a href="http://www.bitwalker.nl/wp-content/uploads/2008/11/mojo-xml.png" rel="lightbox"><img class="alignnone size-thumbnail wp-image-76" title="rollout.mojos.xml" src="http://www.bitwalker.nl/wp-content/uploads/2008/11/mojo-xml-150x150.png" alt="" width="150" height="150" /></a></p>
<p>Because we use SSH/SCP, ant-jsch and jsch have to be added as dependencies to the pom.xml of the plugin. Here we also specified the more user-friendly prefix &#8216;rollout&#8217;, so that we can reference our new plugin with rollout:daemon and rollout:webapp. Don&#8217;t forget to update settings.xml when using the prefix.</p>
<p><a href="http://www.bitwalker.nl/wp-content/uploads/2008/11/pom-xml.png" rel="lightbox"><img class="alignnone size-thumbnail wp-image-80" title="Part of the pom.xml of the plugin" src="http://www.bitwalker.nl/wp-content/uploads/2008/11/pom-xml-150x150.png" alt="Part of the pom.xml of the plugin" width="150" height="150" /></a></p>
<p>If you want to to execute the script automatically as part of one of the Maven lifecycles, you can add the plugin to the pom.xml of your project as described in the <a href="http://maven.apache.org/guides/plugin/guide-ant-plugin-development.html">Guide to Developing Ant Plugins</a>. Originally we used the &#8217;site&#8217; lifecycle to create the project sites and deploy the application as well but that slowed the deployment process down too much. Sometime you want to be able to release a new version as fast as possible.</p>
<p><strong>2. Shell scripts for starting/stopping applications</strong><br />
On the test server we are using standard shell scripts to manage the applications. Just as the ant script, these shell scripts accept various parameters, so we can use them for multiple deployments.</p>
<p><a href="http://www.bitwalker.nl/wp-content/uploads/2008/11/parameterized-shell-script.png" rel="lightbox"><img class="alignnone size-thumbnail wp-image-85" title="parameterized shell script" src="http://www.bitwalker.nl/wp-content/uploads/2008/11/parameterized-shell-script-150x150.png" alt="" width="150" height="150" /></a></p>
<p><strong>3. Luntbuild</strong></p>
<p>In <a href="http://luntbuild.javaforge.com/">Luntbuild</a> &#8211; an open source build automation and management tool &#8211; we bring the loose ends together and configure the dynamic parameters for the build and deployment process. The project/scheduler concept of Luntbuild combined with a series of builders make it easy to handle multiple versions of our software.</p>
<p>For the nightly deployment on trunk we use a schedule (screenshot below), which first builds the project (clean install) and then post-build process will setup a database on the test server and deploy all 9 applications.</p>
<p><a href="http://www.bitwalker.nl/wp-content/uploads/2008/11/deploy-schedule.png" rel="lightbox"><img class="alignnone size-thumbnail wp-image-99" title="deploy-schedule" src="http://www.bitwalker.nl/wp-content/uploads/2008/11/deploy-schedule-150x150.png" alt="" width="150" height="150" /></a></p>
<p>The builder then uses Maven to execute the deployment goal of our plugin and provides the necessary parameters. As you can see, it is possible to pass parameters from the schedule to the builder and this way it is possible to re-use the builder in many ways. Unfortunately it is not possible to share builders between projects in Luntbuild.</p>
<p><a href="http://www.bitwalker.nl/wp-content/uploads/2008/11/deployment-builder.png" rel="lightbox"><img class="alignnone size-thumbnail wp-image-101" title="deployment-builder" src="http://www.bitwalker.nl/wp-content/uploads/2008/11/deployment-builder-150x150.png" alt="" width="150" height="150" /></a></p>
<p><strong>Conclusion</strong></p>
<p>With this workflow we were able to achieve our goal. Deployment is now part of our continuous integration system. Every night each release which is in development is automatically being deployed to our test servers and if necessary we can manually start deployments during the day. All of this saved a lot of time and trouble. It is a very flexible and expandable solutions but the flexibility also added some complexity.</p>
<p>What is missing now are the setup and configuration steps for the test systems and databases. At the moment there are still some manual steps necessary to get a new deployment environment ready.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild" rel="nofollow" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;Blogmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bmarks.png" title="Add to&nbsp;Blogmarks" alt="Add to&nbsp;Blogmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dzone.com/links/add.html?description=Automatic+application+deployment+with+Maven+and+Luntbuild&amp;url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;DZone"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/dzone.png" title="Add to&nbsp;DZone" alt="Add to&nbsp;DZone" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://fleck.com/litebookmarklet.php?url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;Fleck"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/fleck.png" title="Add to&nbsp;Fleck" alt="Add to&nbsp;Fleck" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://netvouz.com/action/submitBookmark?url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild&amp;popup=no" rel="nofollow" title="Add to&nbsp;Netvouz"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/netvouz.png" title="Add to&nbsp;Netvouz" alt="Add to&nbsp;Netvouz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;title=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;Spurl"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild&amp;t=Automatic+application+deployment+with+Maven+and+Luntbuild" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.bitwalker.nl/blog/automatic-application-deployment-with-maven-and-luntbuild/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maven shipping with Mac OS X</title>
		<link>http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x</link>
		<comments>http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x#comments</comments>
		<pubDate>Wed, 19 Mar 2008 22:58:32 +0000</pubDate>
		<dc:creator>Harald Walker</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x</guid>
		<description><![CDATA[Almost two years ago I wrote about installing and using Maven, the Java project management and build automation tool. Yesterday I installed a new hard-disk on my MacBook Pro and installed everything from scratch. When I was going to install Maven again, by chance I noticed that is wasn&#8217;t necessary any longer. The standard Mac [...]]]></description>
			<content:encoded><![CDATA[<p>Almost two years ago I wrote about installing and using <a href="http://maven.apache.org">Maven</a>, the Java project management and build automation tool. Yesterday I installed a new hard-disk on my MacBook Pro and installed everything from scratch. When I was going to install Maven again, by chance I noticed that is wasn&#8217;t necessary any longer. The standard Mac OS X 10.5 already ships with Maven 2.0.6 installed, even without the Apple developer tools . Great &#8211; this saves some time and shows that this consumer OS is out of the box already a good system for software development (of course it can always be improved).</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x" rel="nofollow" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Blogmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bmarks.png" title="Add to&nbsp;Blogmarks" alt="Add to&nbsp;Blogmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dzone.com/links/add.html?description=Maven+shipping+with+Mac+OS+X&amp;url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;DZone"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/dzone.png" title="Add to&nbsp;DZone" alt="Add to&nbsp;DZone" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://fleck.com/litebookmarklet.php?url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Fleck"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/fleck.png" title="Add to&nbsp;Fleck" alt="Add to&nbsp;Fleck" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://netvouz.com/action/submitBookmark?url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X&amp;popup=no" rel="nofollow" title="Add to&nbsp;Netvouz"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/netvouz.png" title="Add to&nbsp;Netvouz" alt="Add to&nbsp;Netvouz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;title=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Spurl"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x&amp;t=Maven+shipping+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.bitwalker.nl/blog/maven-shipping-with-mac-os-x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle 10g Express Edition on a Mac</title>
		<link>http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac</link>
		<comments>http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac#comments</comments>
		<pubDate>Wed, 01 Aug 2007 23:12:11 +0000</pubDate>
		<dc:creator>Harald Walker</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[oracle]]></category>

		<guid isPermaLink="false">http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac</guid>
		<description><![CDATA[Well, at least on an Intel Mac it is now possible to run and use the Oracle 10g Express Edition, the free version for small projects and software development, which unfortunately does not exist for Mac OS X.
Thanks to virtualization you can install Oracle 10g Express on a Linux or Windows VM and use it [...]]]></description>
			<content:encoded><![CDATA[<p>Well, at least on an Intel Mac it is now possible to run and use the <a href="http://www.oracle.com/technology/software/products/database/xe/index.html">Oracle 10g Express Edition</a>, the free version for small projects and software development, which unfortunately does not exist for Mac OS X.</p>
<p>Thanks to virtualization you can install Oracle 10g Express on a Linux or Windows VM and use it from  the Mac side (your Java application, Eclipse,&#8230;). </p>
<p><a rel="lightbox" href='http://www.bitwalker.nl/wp-content/uploads/2007/08/oracle-10g-express.jpg' title='Oracle 10g Express Edition on a Mac'><img src='http://www.bitwalker.nl/wp-content/uploads/2007/08/oracle-10g-express.thumbnail.jpg' alt='Oracle 10g Express Edition on a Mac' /></a></p>
<p>I used Ubuntu Ultimate 1.4 on VMware Fusion. Before you can install Oracle 10g express, you have to increase the swap size. In my case the installer reported that the Express Edition requires 750 MB of swap space. I followed <a href="http://www.oracle.com/technology/tech/linux/install/xe-on-kubuntu.html">these instructions</a> and increased the swap space to 800MB. Since I wanted to use the universal release, I used &#8216;apt-get install oracle-xe-universal&#8217; to install Oracle (Oracle also offers RPM packages). The rest is straight forward. Just follow the instructions. As you can see in the screenshot, I can contact the 10g database from SQL Developer running on Mac OS X on the same machine. The Ubuntu windows shows the web-interface of Oracle.</p>
<p>I ran the same maven build again (clean install with database scripts and full tests) and now the time went down to 2:50 (from 3:30 with a remote database). The Core 2 Duo of my MacBook Pro had to work hard and memory usage went up to 1.5 GB, but there was enough room to continue working.</p>
<p>So, this is great. Now I have a completely independent mobile software development platform.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac" rel="nofollow" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;Blogmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bmarks.png" title="Add to&nbsp;Blogmarks" alt="Add to&nbsp;Blogmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dzone.com/links/add.html?description=Oracle+10g+Express+Edition+on+a+Mac&amp;url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;DZone"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/dzone.png" title="Add to&nbsp;DZone" alt="Add to&nbsp;DZone" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://fleck.com/litebookmarklet.php?url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;Fleck"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/fleck.png" title="Add to&nbsp;Fleck" alt="Add to&nbsp;Fleck" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://netvouz.com/action/submitBookmark?url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac&amp;popup=no" rel="nofollow" title="Add to&nbsp;Netvouz"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/netvouz.png" title="Add to&nbsp;Netvouz" alt="Add to&nbsp;Netvouz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;title=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;Spurl"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac&amp;t=Oracle+10g+Express+Edition+on+a+Mac" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.bitwalker.nl/blog/oracle-10g-express-edition-on-a-mac/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Faster builds with Core 2 Duo</title>
		<link>http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo</link>
		<comments>http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo#comments</comments>
		<pubDate>Wed, 01 Aug 2007 10:53:52 +0000</pubDate>
		<dc:creator>Harald Walker</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[maven]]></category>
		<category><![CDATA[macbook pro]]></category>

		<guid isPermaLink="false">http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo</guid>
		<description><![CDATA[Two days ago a developer of our team checked some changes in and broke the build. When asked why he didn&#8217;t first run the test locally, he replied that it takes too long and wondered why else do we have an automatic build system.
Build speed matters as you see and it was one reason for [...]]]></description>
			<content:encoded><![CDATA[<p>Two days ago a developer of our team checked some changes in and broke the build. When asked why he didn&#8217;t first run the test locally, he replied that it takes too long and wondered why else do we have an automatic build system.</p>
<p><a title="MacBook Pro" rel="lightbox" href="http://www.bitwalker.nl/wp-content/uploads/2007/08/macbookpro15inch.jpg" rel="lightbox"><img class="alignright" src="http://www.bitwalker.nl/wp-content/uploads/2007/08/macbookpro15inch.thumbnail.jpg" alt="MacBook Pro" /></a>Build speed matters as you see and it was one reason for me to buy a new MacBook Pro to replace my 2 year old PowerBook, which just became too slow for software development as well as other common tasks.</p>
<p>So, today I ran a small unscientific competition between my two systems on our current project, which uses Maven 2 to build and a Oracle 10g database. To reduce dependency on the network connection to the database server (via VPN), I installed a local Oracle 10g Express on separate machine. Later I will try to install the same on a VM.</p>
<p>With maven I ran a clean installation including all tests a couple of times, also to make sure all dependencies have been resolved.</p>
<p>The PowerBook (1.67Ghz G4, 1.5MB RAM, 100Mbit connection) needs on average 7 minutes (it took more than 20 minutes with the VPN connection!). The new MacBook Pro (2.4Ghz Core 2 Duo, 2GB, WLAN connection) finishes the same task in 3 1/2 minutes, which is an acceptable speed. Just run your tests when you get a fresh cup of coffee (you should not sit behind the desk without a break anyhow).</p>
<p>It is also nice, that Eclipse 3.x with MyEclipse and some other plug-ins starts 14 seconds faster on the MacBook Pro.</p>
<p>Considering the costs of development hours, esp. if bugs are not caught on time because skipped testing, I think it is foolish to save money on hardware for software developers. Give them the best and fastest you can get. It will not only motivate them (we love good technology) but also improve productivity and probably quality as well.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo" rel="nofollow" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;Blogmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bmarks.png" title="Add to&nbsp;Blogmarks" alt="Add to&nbsp;Blogmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dzone.com/links/add.html?description=Faster+builds+with+Core+2+Duo&amp;url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;DZone"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/dzone.png" title="Add to&nbsp;DZone" alt="Add to&nbsp;DZone" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://fleck.com/litebookmarklet.php?url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;Fleck"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/fleck.png" title="Add to&nbsp;Fleck" alt="Add to&nbsp;Fleck" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://netvouz.com/action/submitBookmark?url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo&amp;popup=no" rel="nofollow" title="Add to&nbsp;Netvouz"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/netvouz.png" title="Add to&nbsp;Netvouz" alt="Add to&nbsp;Netvouz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;title=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;Spurl"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo&amp;t=Faster+builds+with+Core+2+Duo" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.bitwalker.nl/blog/faster-builds-with-core-2-duo/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Maven with Mac OS X</title>
		<link>http://www.bitwalker.nl/blog/using_maven_with_mac_os_x</link>
		<comments>http://www.bitwalker.nl/blog/using_maven_with_mac_os_x#comments</comments>
		<pubDate>Sat, 13 May 2006 03:29:58 +0000</pubDate>
		<dc:creator>Harald Walker</dc:creator>
				<category><![CDATA[maven]]></category>

		<guid isPermaLink="false">http://www.bitwalker.nl/blog/using_maven_with_mac_os_x</guid>
		<description><![CDATA[At Tripolis we working on a 3-tier java application, using Eclipse as IDE and Maven as build manager with a team of 4 developers. Today Sam wrote blogged about token filtering in maven 1.x and I would like to share with you, how I&#8217;ve installed Maven on my new iMac at work.
We are still using [...]]]></description>
			<content:encoded><![CDATA[<p>At Tripolis we working on a 3-tier java application, using Eclipse as IDE and <a href="http://maven.apache.org/">Maven</a> as build manager with a team of 4 developers. Today Sam wrote blogged about <a href="http://www.jroller.com/page/brodkin?entry=token_filtering_in_maven_1">token filtering in maven 1.x</a> and I would like to share with you, how I&#8217;ve installed Maven on my new iMac at work.<br />
We are still using the 1.0.2. release but the installation process of the newer 2.0 release it not different.</p>
<ul>
<li>Download <a href="http://www.apache.org/dyn/closer.cgi/maven/binaries/maven-1.0.2.tar.gz">Maven 1.0.2</a></li>
<li>Unpack maven-1.0.2.tar.gz in /usr/local as super user<br />
<code>sudo tar xzvf maven-1.0.2.tar.gz</code></li>
<li>Add JAVA_HOME, MAVEN_HOME and MAVEN_OPTS to your environment variables.<br />
In order to set environment variables on Mac OS X, create a .MacOSX folder in your home directory and add a file named <em>environment.plist</em>. The environment file uses the XML/plist format and can be edited with Apple&#8217;s Property List Editor, which is a part of the development tools. U can also use a handy tool called <a href="http://www.rubicode.com/Software/RCEnvironment/">RCEnvironment</a>.<br />
<code>touch ~/.MacOSX/environment.plist<br />
open ~/.MacOSX/environment.plist</code><span class="inline"><span class="caption" style="width: 98px"></span></span><br />
On my iMac at work I originally used<br />
<em>/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home</em><br />
as JAVA_HOME but after some updates it stopped working, so I am using <em>/usr</em> now. Basically you should also be able to use<br />
<em>/System/Library/Frameworks/JavaVM.framework/Home/</em><br />
which points to the current JavaVM.<br />
MAVEN_HOME and MAVEN_OPTS are optional.<br />
When you change the environment.plist settings, you will have to logout and log back in to activate them. Alternatively you can also specify the environmental settings in<br />
~/.cshrc or ~/.tcshrc and it will be used by any tcsh shell you launch.</li>
<li>Add maven to your path. I did this in my .bash_login file, which now looks like this (all on one line):<br />
<code>export PATH="/usr/local/maven-2.0.3/bin:<br />
/usr/local/maven-1.0.2/bin:/usr/local/bin:<br />
/usr/local/sbin:$PATH"</code></li>
<li>Type <em>maven -v</em> in the terminal. If everything is working, you should see something like this:<br />
<code> __  __<br />
|  \/  |__ _Apache__ ___<br />
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~<br />
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2</code></li>
</ul>
<p>In Eclipse we use the <a href="http://mevenide.codehaus.org/">Meven IDE</a> but if you are going to use Maven 2.x, you will probably go for the new <a href="http://maven.apache.org/eclipse-plugin.html">Plug-in for Eclipse</a>. I usually build the projects with maven on the command line.</p>
<!-- Social Bookmarks BEGIN -->
<div class="social_bookmark">
<a><strong><em>Bookmark It</em></strong></a>
<br />
<div class="d">
<br />
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.bloglines.com/sub/http://www.bitwalker.nl/blog/using_maven_with_mac_os_x" rel="nofollow" title="Add to&nbsp;Bloglines"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bloglines.png" title="Add to&nbsp;Bloglines" alt="Add to&nbsp;Bloglines" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://blogmarks.net/my/new.php?mini=1&amp;simple=1&amp;url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Blogmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/bmarks.png" title="Add to&nbsp;Blogmarks" alt="Add to&nbsp;Blogmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://del.icio.us/post?url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Del.icio.us"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/delicious.png" title="Add to&nbsp;Del.icio.us" alt="Add to&nbsp;Del.icio.us" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://digg.com/submit?phase=2&amp;url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;digg"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/digg.png" title="Add to&nbsp;digg" alt="Add to&nbsp;digg" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.dzone.com/links/add.html?description=Using+Maven+with+Mac+OS+X&amp;url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;DZone"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/dzone.png" title="Add to&nbsp;DZone" alt="Add to&nbsp;DZone" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.facebook.com/sharer.php?u=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x" rel="nofollow" title="Add to&nbsp;Facebook"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/facebook.png" title="Add to&nbsp;Facebook" alt="Add to&nbsp;Facebook" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://fleck.com/litebookmarklet.php?url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Fleck"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/fleck.png" title="Add to&nbsp;Fleck" alt="Add to&nbsp;Fleck" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Google Bookmarks"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/google.png" title="Add to&nbsp;Google Bookmarks" alt="Add to&nbsp;Google Bookmarks" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://netvouz.com/action/submitBookmark?url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X&amp;popup=no" rel="nofollow" title="Add to&nbsp;Netvouz"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/netvouz.png" title="Add to&nbsp;Netvouz" alt="Add to&nbsp;Netvouz" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://reddit.com/submit?url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;reddit"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/reddit.png" title="Add to&nbsp;reddit" alt="Add to&nbsp;reddit" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://slashdot.org/bookmark.pl?url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Slashdot"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/slashdot.png" title="Add to&nbsp;Slashdot" alt="Add to&nbsp;Slashdot" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.stumbleupon.com/submit.php?url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Stumble Upon"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/stumbleupon.png" title="Add to&nbsp;Stumble Upon" alt="Add to&nbsp;Stumble Upon" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.spurl.net/spurl.php?url=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;title=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Spurl"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/spurl.png" title="Add to&nbsp;Spurl" alt="Add to&nbsp;Spurl" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://www.technorati.com/faves?add=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x" rel="nofollow" title="Add to&nbsp;Technorati"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/technorati.png" title="Add to&nbsp;Technorati" alt="Add to&nbsp;Technorati" /></a>
<a onclick="window.open(this.href, '_blank', 'scrollbars=yes,menubar=no,height=600,width=750,resizable=yes,toolbar=no,location=no,status=no'); return false;" href="http://myweb2.search.yahoo.com/myresults/bookmarklet?u=http://www.bitwalker.nl/blog/using_maven_with_mac_os_x&amp;t=Using+Maven+with+Mac+OS+X" rel="nofollow" title="Add to&nbsp;Yahoo My Web"><img class="social_img" src="http://www.bitwalker.nl/wp-content/plugins/social-bookmarks/images/yahoo.png" title="Add to&nbsp;Yahoo My Web" alt="Add to&nbsp;Yahoo My Web" /></a>
<br />
</div>
</div>
<!-- Social Bookmarks END -->
]]></content:encoded>
			<wfw:commentRss>http://www.bitwalker.nl/blog/using_maven_with_mac_os_x/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
