<?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>Chris&#039; Tech Blog</title>
	<atom:link href="http://www.inweb.de/chetan/_blog/feed" rel="self" type="application/rss+xml" />
	<link>http://www.inweb.de/chetan/_blog</link>
	<description>Random thoughts building and living the web.</description>
	<lastBuildDate>Thu, 19 Apr 2012 16:58:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Netbeans: Go away!</title>
		<link>http://www.inweb.de/chetan/_blog/2012/04/19/netbeans-go-away.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2012/04/19/netbeans-go-away.html#comments</comments>
		<pubDate>Thu, 19 Apr 2012 16:56:30 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Maven]]></category>
		<category><![CDATA[Netbeans]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=129</guid>
		<description><![CDATA[I start hating Netbeans: It constantly seems to get in my way.
For example, I want to debug the webapp. That causes netbeans to run all tests (via MVN). Those tests fail and that&#8217;s known, I just f*cking want to debug the app. Have not found a switch to convince Netbeans to set -DskipTests=true for debug [...]]]></description>
			<content:encoded><![CDATA[<p>I start hating Netbeans: It constantly seems to get in my way.<br />
For example, I want to debug the webapp. That causes netbeans to run all tests (via MVN). Those tests fail and that&#8217;s known, I just f*cking want to debug the app. Have not found a switch to convince Netbeans to set -DskipTests=true for debug mode.<br />
Or: Why doesn&#8217;t netbeans automagically show the file I&#8217;m editing in the projects tab? I get sick pressing &#8220;ctrl-shift-1&#8243; to do that.<br />
Or: I have tons of open files all the time, why would you want to hide them randomly from the tabs and let me search them in the drop-down to the right? Eclipse and IntelliJ handle that one a lot better.<br />
Netbeans: GO AWAY!<br />
(and no I can&#8217;t switch or I lose project support which I don&#8217;t want to, no time for that)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2012/04/19/netbeans-go-away.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ReviewBoard integration for IntelliJ 11</title>
		<link>http://www.inweb.de/chetan/_blog/2012/03/08/reviewboard-integration-for-intellij-11.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2012/03/08/reviewboard-integration-for-intellij-11.html#comments</comments>
		<pubDate>Thu, 08 Mar 2012 17:57:15 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[IntelliJ]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Review Board]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=119</guid>
		<description><![CDATA[I really like Review Board, a pre-commit review tool which helps keep coding quality high especially in distributed teams.
So far I used the command line tool &#8220;post-review&#8221;, which works perfectly in conjunction with Perforce. With Subversion or if you are using Windows, using post-review can really become a pain.
Fortunately, for IntelliJ, someone wrote a plugin [...]]]></description>
			<content:encoded><![CDATA[<p>I really like <a href="http://www.reviewboard.org/">Review Board</a>, a pre-commit review tool which helps keep coding quality high especially in distributed teams.</p>
<p>So far I used the command line tool &#8220;post-review&#8221;, which works perfectly in conjunction with Perforce. With Subversion or if you are using Windows, using post-review can really become a pain.</p>
<p>Fortunately, for <a href="http://www.jetbrains.com/idea/">IntelliJ</a>, someone wrote a plugin which allows you to comfortably post reviews from within the IDE:</p>
<p><a href="https://code.google.com/p/reviewboard-plugin-for-idea/">https://code.google.com/p/reviewboard-plugin-for-idea/</a></p>
<p>This plugin is not well known, and until today, it was only compatible with IntelliJ up to version 10.x. But now, thanks to main contributor Kane, you can also download the plugin for IntelliJ 11.</p>
<p><a href=" https://code.google.com/p/reviewboard-plugin-for-idea/downloads/list">https://code.google.com/p/reviewboard-plugin-for-idea/downloads/list</a></p>
<p>Thanks a lot, Kane! <img src='http://www.inweb.de/chetan/_blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Cheers<br />
Chris</p>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2012/03/08/reviewboard-integration-for-intellij-11.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Moving menu bar from one screen to the other in Mac OS X</title>
		<link>http://www.inweb.de/chetan/_blog/2011/09/22/moving-menu-bar-from-one-screen-to-the-other-in-mac-os-x.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2011/09/22/moving-menu-bar-from-one-screen-to-the-other-in-mac-os-x.html#comments</comments>
		<pubDate>Thu, 22 Sep 2011 17:27:46 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Mac OS X]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=115</guid>
		<description><![CDATA[It&#8217;s embarrassing, but it took me almost 2 years to find a way to move Mac OS X&#8217; menu bar from one screen to my second screen:
Simply go to
System Preferences &#62; Displays &#62; Arrangement
then in the displays, you see a little bar on top of the main display. Simply drag it from the main display [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s embarrassing, but it took me almost 2 years to find a way to move Mac OS X&#8217; menu bar from one screen to my second screen:</p>
<p>Simply go to</p>
<p>System Preferences &gt; Displays &gt; Arrangement</p>
<p>then in the displays, you see a little bar on top of the main display. Simply drag it from the main display to the display you want it to be and let go.</p>
<p>Done!</p>
<p>The most embarrassing of all: It&#8217;s written on top of this settings page. And I never read the instructions. Bummer! <img src='http://www.inweb.de/chetan/_blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<div id="attachment_117" class="wp-caption alignnone" style="width: 682px"><a href="http://www.inweb.de/chetan/_blog/wp-content/uploads/2011/09/mac-os-x-menu-bar.png"><img class="size-full wp-image-117" title="mac-os-x-menu-bar" src="http://www.inweb.de/chetan/_blog/wp-content/uploads/2011/09/mac-os-x-menu-bar.png" alt="Moving Mac OS X menu bar." width="672" height="494" /></a><p class="wp-caption-text">Moving Mac OS X menu bar.</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2011/09/22/moving-menu-bar-from-one-screen-to-the-other-in-mac-os-x.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting static properties with Spring</title>
		<link>http://www.inweb.de/chetan/_blog/2011/03/18/setting-static-properties-with-spring.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2011/03/18/setting-static-properties-with-spring.html#comments</comments>
		<pubDate>Fri, 18 Mar 2011 17:58:24 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=110</guid>
		<description><![CDATA[Sometimes I need to set a static property with Spring, and each time the Google result seems a bit hard to comb through.
Partly probably because Spring guys think static property injection is evil, but sometimes it just makes sense!
So for my benefit (and yours too) here is a link to a pretty nice tutorial about [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes I need to set a static property with Spring, and each time the Google result seems a bit hard to comb through.</p>
<p>Partly probably because Spring guys think static property injection is evil, but sometimes it<em> just makes sense</em>!</p>
<p>So for my benefit (and yours too) here is a link to a pretty nice tutorial about this subject:</p>
<p><a href="http://planproof-fool.blogspot.com/2010/03/spring-setting-static-fields.html">http://planproof-fool.blogspot.com/2010/03/spring-setting-static-fields.html</a></p>
<p>And if you don&#8217;t like the non-static setter to a static property (like me), here is the code to directly inject a static property for your applicationContext.xml:</p>
<pre>    &lt;bean class="org.springframework.beans.factory.config.MethodInvokingFactoryBean"&gt;
        &lt;property name="staticMethod" value="de.inweb.blog.BadDesign.setTheProperty"/&gt;
        &lt;property name="arguments"&gt;
            &lt;list&gt;
                &lt;ref bean="theProperty"/&gt;
            &lt;/list&gt;
       &lt;/property&gt;
    &lt;/bean&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2011/03/18/setting-static-properties-with-spring.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ditching Cars for Bullet Trains &#8211; German press about the US transportation system</title>
		<link>http://www.inweb.de/chetan/_blog/2011/03/09/ditching-cars-for-bullet-trains-german-press-about-the-us-transportation-system.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2011/03/09/ditching-cars-for-bullet-trains-german-press-about-the-us-transportation-system.html#comments</comments>
		<pubDate>Wed, 09 Mar 2011 21:00:00 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=106</guid>
		<description><![CDATA[President Barack Obama wants to upgrade America&#8217;s transport system using high-speed trains, bringing a taste of what is a part of everyday life in Europe and Asia to the United States. But the car-obsessed nation is divided over the plans. Is the mammoth project doomed to failure?
Read about how renowned German magazine &#8220;Der Spiegel&#8221; thinks [...]]]></description>
			<content:encoded><![CDATA[<p>President Barack Obama wants to upgrade America&#8217;s transport system using high-speed trains, bringing a taste of what is a part of everyday life in Europe and Asia to the United States. But the car-obsessed nation is divided over the plans. Is the mammoth project doomed to failure?</p>
<p>Read about how renowned German magazine &#8220;Der Spiegel&#8221; thinks about this topic:<br />
<a href="http://www.spiegel.de/international/world/0,1518,749631,00.html"> http://www.spiegel.de/international/world/0,1518,749631,00.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2011/03/09/ditching-cars-for-bullet-trains-german-press-about-the-us-transportation-system.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maven Quick Reference Card &#8211; a life saver!</title>
		<link>http://www.inweb.de/chetan/_blog/2011/02/03/maven-quick-reference-card-a-life-saver.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2011/02/03/maven-quick-reference-card-a-life-saver.html#comments</comments>
		<pubDate>Thu, 03 Feb 2011 16:16:02 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=103</guid>
		<description><![CDATA[Not much to say &#8211; how come that after years of using Maven and after endless searching for maven related stuff I find a quick reference card which pretty much contains most solutions already:
http://maven.apache.org/guides/MavenQuickReferenceCard.pdf
Cheers!
]]></description>
			<content:encoded><![CDATA[<p>Not much to say &#8211; how come that after years of using Maven and after endless searching for maven related stuff I find a quick reference card which pretty much contains most solutions already:</p>
<p><a href="http://maven.apache.org/guides/MavenQuickReferenceCard.pdf">http://maven.apache.org/guides/MavenQuickReferenceCard.pdf</a></p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2011/02/03/maven-quick-reference-card-a-life-saver.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why Google Is Awesome</title>
		<link>http://www.inweb.de/chetan/_blog/2011/01/05/why-google-is-awesome.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2011/01/05/why-google-is-awesome.html#comments</comments>
		<pubDate>Wed, 05 Jan 2011 19:28:15 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Google Android]]></category>
		<category><![CDATA[Silicon Valley]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=100</guid>
		<description><![CDATA[Now you think I&#8217;m going to give tons of reasons why I think Google is great / awesome / cool.
But I&#8217;m going to give you only two! The first is Google Voice Search, where they manage to search Google &#38; Google Maps with an Android cell phone:

And the second is a demo of Google Docs [...]]]></description>
			<content:encoded><![CDATA[<p>Now you think I&#8217;m going to give tons of reasons why I think Google is great / awesome / cool.</p>
<p>But I&#8217;m going to give you only two! The first is Google Voice Search, where they manage to search Google &amp; Google Maps with an Android cell phone:<br />
<object style="height: 390px; width: 640px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/KtY6VkFqcs0?version=3" /><param name="allowfullscreen" value="true" /><embed style="height: 390px; width: 640px;" type="application/x-shockwave-flash" width="100" height="100" src="http://www.youtube.com/v/KtY6VkFqcs0?version=3" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>And the second is a demo of Google Docs by Tu+, Namroc and Metcalf Anything:<br />
<object style="height: 390px; width: 640px;" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="100" height="100" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/bt9F7tKcZcU?version=3" /><param name="allowfullscreen" value="true" /><embed style="height: 390px; width: 640px;" type="application/x-shockwave-flash" width="100" height="100" src="http://www.youtube.com/v/bt9F7tKcZcU?version=3" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>It&#8217;s beautiful to still have some innovative companies and people around. <img src='http://www.inweb.de/chetan/_blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2011/01/05/why-google-is-awesome.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unlikely allies: USA, Iran, France and Australia</title>
		<link>http://www.inweb.de/chetan/_blog/2010/12/04/unlikely-allies-usa-iran-france-and-australia.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2010/12/04/unlikely-allies-usa-iran-france-and-australia.html#comments</comments>
		<pubDate>Sun, 05 Dec 2010 03:47:40 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=96</guid>
		<description><![CDATA[This is really astonishing:
What do you think unites the countries USA, Iran, France and Australia?
It&#8217;s the urge to criticize and fight WikiLeaks!
Let me congratulate those four countries for their newly found alliance in the fight against freedom of speech!
The full quote of Wikipedia, marking the most ridiculous claims bold:
Most of the governments and organizations whose [...]]]></description>
			<content:encoded><![CDATA[<p>This is really astonishing:</p>
<p>What do you think unites the countries USA, Iran, France and Australia?</p>
<p>It&#8217;s the urge to criticize and fight WikiLeaks!</p>
<p>Let me congratulate those four countries for their newly found alliance in the fight against freedom of speech!</p>
<p>The full quote of <a href="http://en.wikipedia.org/wiki/WikiLeaks#Criticism_by_governments">Wikipedia</a>, marking the most ridiculous claims <span style="color: #0000ff;"><strong>bold</strong></span>:</p>
<blockquote><p>Most of the governments and organizations whose files have been leaked by WikiLeaks have been critical of the organization.</p>
<ul>
<li><span class="flagicon"><img class="thumbborder" src="http://upload.wikimedia.org/wikipedia/commons/thumb/a/a4/Flag_of_the_United_States.svg/22px-Flag_of_the_United_States.svg.png" alt="" width="22" height="12" /> </span><a title="United States" href="http://en.wikipedia.org/wiki/United_States">United States</a> Following the <a href="http://en.wikipedia.org/wiki/WikiLeaks#Diplomatic_cables_release">November 2010 release</a> of United States <a class="mw-redirect" title="Diplomatic cables" href="http://en.wikipedia.org/wiki/Diplomatic_cables">diplomatic cables</a>, <a class="mw-redirect" title="U.S. Secretary of State" href="http://en.wikipedia.org/wiki/U.S._Secretary_of_State">U.S. Secretary of State</a> Hillary Clinton denounced the group saying, &#8220;this disclosure is not just an attack on America&#8217;s foreign policy interests, it is an attack on the international community.&#8221;<sup id="cite_ref-137" class="reference"><a href="http://en.wikipedia.org/wiki/WikiLeaks#cite_note-137">[138]</a></sup> <a title="Peter T. King" href="http://en.wikipedia.org/wiki/Peter_T._King">Peter King</a>, chairman of the Homeland Security Committee of the <a title="United States House of Representatives" href="http://en.wikipedia.org/wiki/United_States_House_of_Representatives">United States House of Representatives</a> has stated his support for <span style="color: #0000ff;"><strong>listing Wikileaks as a &#8220;foreign terrorist organization&#8221;</strong></span> explaining that &#8220;WikiLeaks presents a clear and present danger to the national security of the United States.&#8221;<sup id="cite_ref-138" class="reference"><a href="http://en.wikipedia.org/wiki/WikiLeaks#cite_note-138">[139]</a></sup> In a contrary statement, secretary of Defense <a title="Robert Gates" href="http://en.wikipedia.org/wiki/Robert_Gates">Robert Gates</a> has said that concerns about the disclosures were &#8220;over-wrought&#8221; in terms of their likely adverse impact on ordinary diplomatic activities.<sup id="cite_ref-139" class="reference"><a href="http://en.wikipedia.org/wiki/WikiLeaks#cite_note-139">[140]</a></sup> <a title="Philip J. Crowley" href="http://en.wikipedia.org/wiki/Philip_J._Crowley">Philip J. Crowley</a>, United States <a title="Assistant Secretary of State for Public Affairs" href="http://en.wikipedia.org/wiki/Assistant_Secretary_of_State_for_Public_Affairs">Assistant Secretary of State for Public Affairs</a>, has stated in December 2010 that the US State Department does not regard WikiLeaks as a legitimate media organization.<sup id="cite_ref-140" class="reference"><a href="http://en.wikipedia.org/wiki/WikiLeaks#cite_note-140">[141]</a></sup></li>
</ul>
<ul>
<li><span class="flagicon"><img class="thumbborder" src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/ca/Flag_of_Iran.svg/22px-Flag_of_Iran.svg.png" alt="" width="22" height="13" /> </span><a title="Iran" href="http://en.wikipedia.org/wiki/Iran">Iran</a> The President of Iran, <a title="Mahmoud Ahmadinejad" href="http://en.wikipedia.org/wiki/Mahmoud_Ahmadinejad">Mahmoud Ahmadinejad</a>, joined in criticism of WikiLeaks following the November 2010 release of United States diplomatic cables. Ahmadinejad <strong><span style="color: #0000ff;">claimed that the release of cables</span> </strong>purporting to show concern with Iran by Arab states <span style="color: #0000ff;"><strong>was a p</strong><strong>lanned leak by the United States to discredit his government</strong></span>, though he did not indicate whether he believed WikiLeaks was in collusion with the United States or was simply an unwitting facilitator.<sup id="cite_ref-141" class="reference"><a href="http://en.wikipedia.org/wiki/WikiLeaks#cite_note-141">[142]</a></sup></li>
</ul>
<ul>
<li><span class="flagicon"><img class="thumbborder" src="http://upload.wikimedia.org/wikipedia/commons/thumb/c/c3/Flag_of_France.svg/22px-Flag_of_France.svg.png" alt="" width="22" height="15" /> </span><a title="France" href="http://en.wikipedia.org/wiki/France">France</a> France&#8217;s Industry Minister <a class="mw-redirect" title="Eric Besson" href="http://en.wikipedia.org/wiki/Eric_Besson">Eric Besson</a> said in a letter to the CGIET technology agency, WikiLeaks &#8220;violates<br />
the secret of diplomatic relations and puts people protected by diplomatic secret in danger.&#8221; Therefore it would be &#8216;unacceptable&#8217; that the site was hosted on servers based in France. <span style="color: #0000ff;"><strong>The minister asked for measures to bar WikiLeaks from France</strong></span>.<sup id="cite_ref-142" class="reference"><a href="http://en.wikipedia.org/wiki/WikiLeaks#cite_note-142">[143]</a></sup></li>
</ul>
<ul>
<li><span class="flagicon"><img class="thumbborder" src="http://upload.wikimedia.org/wikipedia/commons/thumb/b/b9/Flag_of_Australia.svg/22px-Flag_of_Australia.svg.png" alt="" width="22" height="11" /> </span><a title="Australia" href="http://en.wikipedia.org/wiki/Australia">Australia</a> On 2 December 2010 Prime Minister <a title="Julia Gillard" href="http://en.wikipedia.org/wiki/Julia_Gillard">Julia Gillard</a> made a statement that she &#8216;absolutely condemns&#8217; Wikileaks&#8217; actions and that the release of information on the site was &#8216;grossly irresponsible&#8217; and &#8216;illegal.&#8217;<sup id="cite_ref-julia_143-0" class="reference"><a href="http://en.wikipedia.org/wiki/WikiLeaks#cite_note-julia-143">[144]</a></sup> (Wikileaks founder Julian Assange is <a title="Australians" href="http://en.wikipedia.org/wiki/Australians">Australian</a> and he responded two days later by accusing his prime minister of betraying him as an Australian citizen.)<sup id="cite_ref-144" class="reference"><a href="http://en.wikipedia.org/wiki/WikiLeaks#cite_note-144">[145]</a></sup></li>
</ul>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2010/12/04/unlikely-allies-usa-iran-france-and-australia.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Timothy Geithner asks export countries like Germany to consume from the US &#8211; but what??</title>
		<link>http://www.inweb.de/chetan/_blog/2010/10/22/timothy-geithner-asks-export-countries-like-germany-to-consume-from-the-us-but-what.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2010/10/22/timothy-geithner-asks-export-countries-like-germany-to-consume-from-the-us-but-what.html#comments</comments>
		<pubDate>Fri, 22 Oct 2010 10:27:04 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Politics]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=94</guid>
		<description><![CDATA[In an article of the guardian, US treasury secretary Timothy Geithner asks countries with an export surplus, like my home country Germany, to consume products from the US to balance demand. A second request to China to stop keeping its currency unnaturally low does not apply to Germany (we are slaves of the Euro Zone [...]]]></description>
			<content:encoded><![CDATA[<p>In an <a href="http://www.guardian.co.uk/business/2010/oct/22/g20-timothy-geithner-letter">article of the guardian</a>, US treasury secretary Timothy Geithner asks countries with an export surplus, like my home country Germany, to consume products from the US to balance demand. A second request to China to stop keeping its currency unnaturally low does not apply to Germany (we are slaves of the Euro Zone ourselves).</p>
<p>(I know, this statement simplifies greatly)</p>
<p>My problem is: What does he want me to consume from the US? Just recently I asked the US electronics company <a href="http://www.vizio.com/">Vizio</a> to sell me one of their big screen TVs in Germany. This was their answer:</p>
<p>&#8220;I apologize but at this time we have not expanded to Germany.&#8221;</p>
<p>OK, then it&#8217;s going to be a Samsung TV for now.</p>
<p>Next try. I wanted to purchase frames for a lot of my pictures which have non-metric sizes because I brought them while I was in the US. But no ebay-seller would ship to Germany.</p>
<p>Well, I&#8217;ll ask a neighboring frame maker to produce them locally for me then.</p>
<p>And then, of course, there are American Cars I could buy. But really, do you think it makes sense to import a gas-guzzling Ford F150 when I can buy a nice reliable sporty BMW 118d for less (top speed 130 mph, around 50 mpg)? And, it can handle the Autobahn much better too.</p>
<p>So, having lived in the US and liking lots of things there I am open to purchasing more US products, but they are either not available in Germany or they are just so bad that they don&#8217;t compare to items I can buy over here.</p>
<p>It is kind of sad that so many US companies don&#8217;t bother expanding internationally, or don&#8217;t know how to do it.</p>
<p>I am really sorry, Mr. Geithner, but your request is unrealistic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2010/10/22/timothy-geithner-asks-export-countries-like-germany-to-consume-from-the-us-but-what.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Maven filtering with deployment profiles</title>
		<link>http://www.inweb.de/chetan/_blog/2010/08/27/maven-filtering-with-deployment-profiles.html</link>
		<comments>http://www.inweb.de/chetan/_blog/2010/08/27/maven-filtering-with-deployment-profiles.html#comments</comments>
		<pubDate>Fri, 27 Aug 2010 11:32:27 +0000</pubDate>
		<dc:creator>Chris Ey</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Maven]]></category>

		<guid isPermaLink="false">http://www.inweb.de/chetan/_blog/?p=88</guid>
		<description><![CDATA[When you set up a maven project, especially for web application projects (producing a WAR file), you often need to configure the WAR file before it gets deployed. I use maven filtering together with maven profiles.
There are tons of ways to accomplish this, but I prefer to integrate deployment properties into the WAR itself. This [...]]]></description>
			<content:encoded><![CDATA[<p>When you set up a maven project, especially for web application projects (producing a WAR file), you often need to configure the WAR file before it gets deployed. I use <a href="http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files">maven filtering</a> together with <a href="http://maven.apache.org/guides/introduction/introduction-to-profiles.html">maven profiles</a>.</p>
<p>There are tons of ways to accomplish this, but I prefer to integrate deployment properties into the WAR itself. This way, the build process already produces a stand-alone WAR file ready to use, and you don&#8217;t need an additional step to modify the WAR content.</p>
<p>This is how you can accomplish this (pom.xml):</p>
<pre>	&lt;build&gt;
		&lt;resources&gt;
			&lt;resource&gt;
				&lt;directory&gt;${basedir}/src/main/java&lt;/directory&gt;
				&lt;filtering&gt;true&lt;/filtering&gt;
				&lt;includes&gt;
					&lt;include&gt;**&lt;/include&gt;
				&lt;/includes&gt;
				&lt;excludes&gt;
					&lt;exclude&gt;**/*.java&lt;/exclude&gt;
				&lt;/excludes&gt;
			&lt;/resource&gt;
			&lt;resource&gt;
				&lt;directory&gt;
					${basedir}/src/main/webapp/WEB-INF
				&lt;/directory&gt;
				&lt;includes&gt;
					&lt;include&gt;web.xml&lt;/include&gt;
				&lt;/includes&gt;
				&lt;filtering&gt;true&lt;/filtering&gt;
				&lt;targetPath&gt;..&lt;/targetPath&gt;
			&lt;/resource&gt;
			[...]
		&lt;resources&gt;
		[...]
		&lt;filters&gt;
			&lt;filter&gt;src/main/filters/filter-${env}.properties&lt;/filter&gt;
		&lt;/filters&gt;
	&lt;/build&gt;
	&lt;dependencies&gt;
		[...]
	&lt;/dependencies&gt;
	&lt;properties&gt;
		&lt;!-- This is the default profile if no profile is selected on the command line --&gt;
		&lt;env&gt;dev&lt;/env&gt;
		[...]
	&lt;/properties&gt;
	&lt;profiles&gt;
		&lt;profile&gt;
			&lt;id&gt;dev&lt;/id&gt;
			&lt;properties&gt;
				&lt;env&gt;dev&lt;/env&gt;
			&lt;/properties&gt;
		&lt;/profile&gt;
		&lt;profile&gt;
			&lt;id&gt;prod&lt;/id&gt;
			&lt;properties&gt;
				&lt;env&gt;prod&lt;/env&gt;
			&lt;/properties&gt;
		&lt;/profile&gt;
	&lt;profiles&gt;</pre>
<p>Now, create one filter file for each profile (for the two profiles dev and prod in the example above):</p>
<pre>src/main/filters/filter-dev.properties
src/main/filters/filter-prod.properties</pre>
<p>insert filter token as described <a href="http://maven.apache.org/guides/getting-started/index.html#How_do_I_filter_resource_files">here</a>, and execute your maven with a profile for deployment:</p>
<pre>mvn clean install -P prod</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.inweb.de/chetan/_blog/2010/08/27/maven-filtering-with-deployment-profiles.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

