<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Jayson Lorenzen</title>
	<atom:link href="http://jaysonlorenzen.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaysonlorenzen.wordpress.com</link>
	<description>tech junk, maybe  a rant or two</description>
	<lastBuildDate>Tue, 24 Jan 2012 20:50:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jaysonlorenzen.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/5bdb921b0e8f9ef6d5f4fe2f86b17dab?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>Jayson Lorenzen</title>
		<link>http://jaysonlorenzen.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jaysonlorenzen.wordpress.com/osd.xml" title="Jayson Lorenzen" />
	<atom:link rel='hub' href='http://jaysonlorenzen.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Google Timeline</title>
		<link>http://jaysonlorenzen.wordpress.com/2011/05/28/google-timeline/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2011/05/28/google-timeline/#comments</comments>
		<pubDate>Sat, 28 May 2011 17:30:54 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[timeline]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/?p=239</guid>
		<description><![CDATA[Just discovered a cool feature of google search. I am sure I am the last person to find it, as I am usually a bit behind, but well &#8230; here it is anyway.  Google has a nice Timeline view of info about subjects. You can get this by adding a simple parameter and parameter value [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=239&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Just discovered a cool feature of google search. I am sure I am the last person to find it, as I am usually a bit behind, but well &#8230; here it is anyway.  Google has a nice Timeline view of info about subjects. You can get this by adding a simple parameter and parameter value ( &amp;tbs=tl:1) to the query string.</p>
<p><a href="http://jaysonlorenzen.files.wordpress.com/2011/05/gab.jpg"><img class="alignnone size-full wp-image-240" title="gab" src="http://jaysonlorenzen.files.wordpress.com/2011/05/gab.jpg?w=630&#038;h=31" alt="Google Address bar" width="630" height="31" /></a></p>
<p>when searching via Google, after entering your search text and running the search, if you modify the resulting HTTP query string and add in the parameter &#8220;<strong>tbs</strong>&#8221; and value &#8220;<strong>tl:1</strong>&#8221; , which looks like:  &#8221;<strong>&amp;tbs=tl:1</strong>&#8221; and rerun that query (different depending on your browser but in most, if you just press the &#8220;Enter&#8221; key on your keyboard it will run it), you will then see a timeline like:</p>
<p>&nbsp;</p>
<div id="attachment_241" class="wp-caption alignnone" style="width: 640px"><a href="http://jaysonlorenzen.files.wordpress.com/2011/05/gtl.jpg"><img class="size-full wp-image-241" title="gtl" src="http://jaysonlorenzen.files.wordpress.com/2011/05/gtl.jpg?w=630&#038;h=517" alt="" width="630" height="517" /></a><p class="wp-caption-text">Google Timeline view</p></div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/239/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/239/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/239/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=239&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2011/05/28/google-timeline/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>

		<media:content url="http://jaysonlorenzen.files.wordpress.com/2011/05/gab.jpg" medium="image">
			<media:title type="html">gab</media:title>
		</media:content>

		<media:content url="http://jaysonlorenzen.files.wordpress.com/2011/05/gtl.jpg" medium="image">
			<media:title type="html">gtl</media:title>
		</media:content>
	</item>
		<item>
		<title>Speaking at SemTech 2011 about rNews</title>
		<link>http://jaysonlorenzen.wordpress.com/2011/05/13/speaking_at_semtech_2011_about_rnews/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2011/05/13/speaking_at_semtech_2011_about_rnews/#comments</comments>
		<pubDate>Fri, 13 May 2011 21:52:27 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[xml]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[linked]]></category>
		<category><![CDATA[linkeddata]]></category>
		<category><![CDATA[rdf]]></category>
		<category><![CDATA[rdfa]]></category>
		<category><![CDATA[semantic]]></category>
		<category><![CDATA[semtech]]></category>
		<category><![CDATA[semweb]]></category>
		<category><![CDATA[speaker]]></category>
		<category><![CDATA[talk]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/?p=233</guid>
		<description><![CDATA[I will be speaking about rNews, the new standard from the IPTC for embedding metadata in on-line news content, at the upcoming SemTech conference in San Francisco. The session is Wednesday, June 8, 2011 09:45 AM &#8211; 10:35 PM. Here is the abstract for the talk: rNews: Embedding Metadata in On-line News The IPTC, a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=233&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl class="wp-caption alignright">
<dt class="wp-caption-dt"><a href="http://semtech2011.semanticweb.com/" target="_blank"><img class="size-full wp-image-234" title="Speaker at SemTech 2011" src="http://jaysonlorenzen.files.wordpress.com/2011/05/imspeaking.png?w=630" alt="Speaker at SemTech 2011"   /></a></dt>
</dl>
</div>
<p>I will be speaking about rNews, the new standard from the IPTC for embedding metadata in on-line news content, at the upcoming SemTech conference in San Francisco. The session is Wednesday, June 8, 2011<br />
09:45 AM &#8211; 10:35 PM. Here is the abstract for the talk:</p>
<p><strong>rNews: Embedding Metadata in On-line News</strong></p>
<p>The IPTC, a consortium of the world&#8217;s major news agencies, news publishers and news industry vendors, recently released rNews, a semantic standard for on-line news. rNews uses RDFa to annotate HTML documents with news-specific metadata, to help with search, ad placement, aggregation and the sharing of on-line news. Jayson Lorenzen, a software engineer with Business Wire and one of the IPTC Member organization delegates working on rNews, will give an overview of the IPTC, the rNews standard, why rNews is needed and how the standard was eventually created. The talk will include use cases and live demonstrations of rNews and will end with a call to action for you to participate; rNews is currently at version 0.5 and the IPTC is looking for feedback on how to improve the standard.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/233/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/233/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/233/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=233&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2011/05/13/speaking_at_semtech_2011_about_rnews/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>

		<media:content url="http://jaysonlorenzen.files.wordpress.com/2011/05/imspeaking.png" medium="image">
			<media:title type="html">Speaker at SemTech 2011</media:title>
		</media:content>
	</item>
		<item>
		<title>Let&#8217;s not forget Japan</title>
		<link>http://jaysonlorenzen.wordpress.com/2011/04/27/lets-not-forget-japan/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2011/04/27/lets-not-forget-japan/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 16:30:24 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[storify]]></category>
		<category><![CDATA[cross]]></category>
		<category><![CDATA[disaster]]></category>
		<category><![CDATA[effort]]></category>
		<category><![CDATA[fukushima]]></category>
		<category><![CDATA[fund]]></category>
		<category><![CDATA[funds]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[japan]]></category>
		<category><![CDATA[miyagi]]></category>
		<category><![CDATA[red]]></category>
		<category><![CDATA[redcross]]></category>
		<category><![CDATA[relief]]></category>
		<category><![CDATA[sendai]]></category>
		<category><![CDATA[support]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/?p=220</guid>
		<description><![CDATA[This is a story I created to test Storify (http://storify.com), a site that allows us to create stories by pulling content from many media sites and combining it to be the story you want to tell. View the story &#8220;Let&#8217;s not forget Japan&#8221; on Storify(it looks much better on Storify BTW. They allow for embedding [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=220&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is a story I created to test Storify (http://storify.com), a site that allows us to create stories by pulling content from many media sites and combining it to be the story you want to tell. <a href="http://storify.com/jays0n/lets-not-forget-japan" target="blank">View the story &#8220;Let&#8217;s not forget Japan&#8221; on Storify</a>(it looks much better on Storify BTW. They allow for embedding with all their formatting, but it uses Javascript, which wordpress.com strip)</p>
<div id="jays0n1303831528" class="stfyhtml" style="width:550px;font-family:'Helvetica Neue', Helvetica, arial, sans-serif;font-size:12px;border:1px solid #ccc;margin:0 auto;">
<table border="0" cellpadding="5" cellspacing="0" bgcolor="#eeeeee" width="100%">
<tr>
<td valign="top" rowspan="3">
          <img alt="img" src="http://farm6.static.flickr.com/5069/5609272379_b7c07e377d.jpg" style="max-width:98px;max-height:98px;margin-right:0;margin-top:3px;margin-left:3px;" />
        </td>
<td valign="top" width="100%">
<h1 style="font-family:Arial;color:#5F6061;font-size:20px;margin-top:2px;margin-left:0;margin-bottom:0;padding:0;"><a href="http://storify.com/jays0n/lets-not-forget-japan" style="color:#5F6061;text-decoration:none;" target="_blank">Let&#8217;s not forget Japan</a></h1>
<h3 style="font-family:Arial;color:#5F6061;font-size:12px;margin-top:2px;margin-left:0;font-weight:normal;margin-bottom:5px;padding:0;">
          by <a href="http://storify.com/jays0n" style="color:#0074B7;text-decoration:none;" target="_blank">jays0n</a><br />
        </h3>
<div style="font-family:Arial;color:#5F6061;line-height:1.3;">With all the other terrible news these days, information regarding Japan&#8217;s recovery efforts could be taking a back seat. Did you see stories about the BP Oil Spill on the anniversary, and were you surprised to hear of the struggles still raging for the people there? Lets not let that happen so fast for Japan.</div>
</td>
</tr>
</table>
</div>
<p>&#8230; umm actually, yeah, please do <a href="http://storify.com/jays0n/lets-not-forget-japan" target="blank">view &#8220;Let&#8217;s not forget Japan&#8221; on Storify</a>, it looks terrible paste into a post here.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/220/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/220/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/220/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=220&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2011/04/27/lets-not-forget-japan/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>

		<media:content url="http://farm6.static.flickr.com/5069/5609272379_b7c07e377d.jpg" medium="image">
			<media:title type="html">img</media:title>
		</media:content>
	</item>
		<item>
		<title>Note to self &#8220;you cannot use dependency injection in helper classes&#8221;</title>
		<link>http://jaysonlorenzen.wordpress.com/2011/03/09/note-to-self-you-cannot-use-dependency-injection-in-helper-classes/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2011/03/09/note-to-self-you-cannot-use-dependency-injection-in-helper-classes/#comments</comments>
		<pubDate>Wed, 09 Mar 2011 21:11:02 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/2011/03/09/note-to-self-you-cannot-use-dependency-injection-in-helper-classes/</guid>
		<description><![CDATA[So after wasting a lot of time fighting against the current, and my desire to use the beautiful and clean dependency injection features in EJB3, I am now using the old messy lookin context lookup for resources in my helper classes. I saw some post about passing resources, but having issues with threading. Just a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=201&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So after wasting a lot of time fighting against the current, and my desire to use the beautiful and clean dependency injection features in EJB3, I am now using the old messy lookin context lookup for resources in my helper classes.</p>
<p>I saw some post about passing resources, but having issues with threading. Just a note to myself to not try this again.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/201/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/201/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/201/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=201&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2011/03/09/note-to-self-you-cannot-use-dependency-injection-in-helper-classes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>
	</item>
		<item>
		<title>A service to test your application with various HTTP codes</title>
		<link>http://jaysonlorenzen.wordpress.com/2011/03/08/a-service-to-test-your-application-with-various-http-codes/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2011/03/08/a-service-to-test-your-application-with-various-http-codes/#comments</comments>
		<pubDate>Tue, 08 Mar 2011 16:04:19 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/2011/03/08/a-service-to-test-your-application-with-various-http-codes/</guid>
		<description><![CDATA[http://httpstat.us/ This is a service to get HTTP codes for testing how your. stuff handles various HTTP codes. The service is real simple to use; add a call like: http://httpstat.us/404 to see how your app handles a 404 There is a good list of codes here too<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=200&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://httpstat.us/">http://httpstat.us/</a></p>
<p>This is a service to get HTTP codes for testing how your. stuff handles various HTTP codes.</p>
<p>The service is real simple to use; add a call like:</p>
<p><a href="http://httpstat.us/404">http://httpstat.us/404</a></p>
<p>to see how your app handles a 404</p>
<p>There is a good list of codes here too</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/200/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/200/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/200/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=200&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2011/03/08/a-service-to-test-your-application-with-various-http-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>
	</item>
		<item>
		<title>Install Firefox Java Plugin on Linux</title>
		<link>http://jaysonlorenzen.wordpress.com/2011/02/09/install_firefox_java_plugin_on_linux/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2011/02/09/install_firefox_java_plugin_on_linux/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 16:09:50 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[support]]></category>
		<category><![CDATA[tech]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[help]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[instructions]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/?p=191</guid>
		<description><![CDATA[This is silly but not super obvious and not easy to find on the interweb thingie searches come up with Oracle&#8217;s solution about linking the libjavaplugin_oji lib in the Mozilla plugins dir: &#60;Java installation directory&#62;/plugin/i386/ns7/libjavaplugin_oji.so which does not work for me. The way to get this going is to create a link to the libnpjp2 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=191&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><a href="http://jaysonlorenzen.files.wordpress.com/2011/02/about-plugins.png"><br />
<img class="aligncenter size-full wp-image-196" style="border:2px solid black;margin:5px;" title="about-plugins" src="http://jaysonlorenzen.files.wordpress.com/2011/02/about-plugins.png?w=630" alt="about-plugins"   /></a></p>
<p>This is silly but not super obvious and not easy to find on the interweb thingie searches come up with Oracle&#8217;s solution about linking the libjavaplugin_oji lib in the Mozilla plugins dir:</p>
<p><code>&lt;Java installation directory&gt;/plugin/i386/</code><code>ns7/libjavaplugin_oji.so</code></p>
<p>which does not work for me. The way to get this going is to create a link to the libnpjp2 library in the Mozilla plugin directory as follows:</p>
<p><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;font-size:12px;line-height:18px;white-space:pre;">ln -s /&lt;Java installation directory&gt;/jre/lib/i386/libnpjp2.so /usr/lib/mozilla/plugins/</span></p>
<p><span style="font-family:Consolas, Monaco, 'Courier New', Courier, monospace;font-size:12px;line-height:18px;white-space:pre;"><br />
</span></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=191&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2011/02/09/install_firefox_java_plugin_on_linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>

		<media:content url="http://jaysonlorenzen.files.wordpress.com/2011/02/about-plugins.png" medium="image">
			<media:title type="html">about-plugins</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu Linux unable to mount non-journaled hfsplus drive for write</title>
		<link>http://jaysonlorenzen.wordpress.com/2010/09/13/linux-unable-to-write-to-non-journaled-hfsplus-drive/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2010/09/13/linux-unable-to-write-to-non-journaled-hfsplus-drive/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 14:45:31 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[hfsplus]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[mount]]></category>
		<category><![CDATA[non-journaled]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[read]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[write]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/?p=169</guid>
		<description><![CDATA[I have a drive from a Macbook that I made into a USB drive to share files between Linux and Macs. To do this I of course disabled journaling on the drive before removing it from the Macbook, and all was well. Both Linux (a Debian desktop machine) and various Mac machines could both read and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=169&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have a drive from a Macbook that I made into a USB drive to share files between Linux and Macs. To do this I of course disabled journaling on the drive before removing it from the Macbook, and all was well. Both Linux (a Debian desktop machine) and various Mac machines could both read and write to the drive. However, I got a new notebook, which I installed Ubuntu ﻿﻿﻿on, and found it could only mount this non-journaled hfsplus USB drive as read only, though &#8220;mount&#8221; shows it mounted rw, for read and write. I tried many things and read many blogs and forum posts and decided to try the tools that come with in the &#8220;hfsprogs&#8221; package, and specifically &#8220;fsck.hfsplus&#8221; as someone speculated that the drive might have been become corrupt during an unmount.  The command I ran was:</p>
<p>sudo fsck.hfsplus /dev/sdb2</p>
<p>This check did indeed find some errors and report it had correct them and afterwards I could once again write to the drive.</p>
<p>I hope this helps the next person searching for this issue. I tried to get all the terms I was searching for, unsuccessfully, into title of this post to help folks locate it. Searching for this issue seems to turn up 99.9% responses about &#8220;You have to turn off journaling before mounting with Linux&#8221; which I knew already and was not part of the problem at all.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=169&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2010/09/13/linux-unable-to-write-to-non-journaled-hfsplus-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>
	</item>
		<item>
		<title>Use the Android SDK Emulator with Eclipse behind a Proxy</title>
		<link>http://jaysonlorenzen.wordpress.com/2010/05/12/use-the-android-sdk-emulator-with-eclipse-behind-a-proxy/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2010/05/12/use-the-android-sdk-emulator-with-eclipse-behind-a-proxy/#comments</comments>
		<pubDate>Wed, 12 May 2010 21:17:15 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[android]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/?p=142</guid>
		<description><![CDATA[In the office we have a pretty stern internet proxy and I needed to test something from the Android Emulator using the network today, and therefore the Proxy. This seemed like a simple thing to do, and there are instructions for adding proxy information when launching the Emulator  on the Android Developer site (http://developer.android.com/guide/developing/tools/emulator.html#proxy). So [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=142&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In the office we have a pretty stern internet proxy and I needed to test something from the Android Emulator using the network today, and therefore the Proxy. This seemed like a simple thing to do, and there are instructions for adding proxy information when launching the Emulator  on the Android Developer site (<span style="font-size:small;"><a href="http://developer.android.com/guide/developing/tools/emulator.html#proxy">http://developer.android.com/guide/developing/tools/emulator.html#proxy</a>). So I went into preferences for Eclipse, chose the Android preferences and sure enough, on the lunch tab there is a field for parameters when launching the Emulator. I added the proxy string there as per the document (-http-proxy user:pass@server:port) e.g.</span></p>
<p>-http-proxy http://user:pass@proxy.example.com:1234</p>
<p><span style="font-size:small;">but it did not seem to take. A little searching in some forums solved this however. I am adding it here with a title that matches what I was searching for via Google so that the next person can find it without reading a lot of forum threads. </span></p>
<p><span style="font-size:x-small;"><span style="font-size:small;">The trick is that you need to add this info on for the project you are going to be running it from, and there is a convenient place to do so in Eclipse. With the project selected,  choose &#8220;Run&#8221; from the menu bar at the top, then &#8220;Run Configurations&#8221; This will show all the run configurations, and have the current project selected. You can also choose the Run/Configurations items from any project and select the correct one once inside. Once a configuration is chosen, choose the &#8220;Target&#8221; tab from the tabs on the right side of the Run Configurations dialog and look for the Text field labeled &#8220;Additional Emulator Command Line Options&#8221;. I had to resize the Dialog window to get this box to appear as there are no scrollpanes used there (I am using Linux version 3.5.2. of Eclipse﻿). Below are a couple screen shots of these dialogs. </span></span></p>
<p><span style="font-size:x-small;"><span style="font-size:small;">﻿﻿</span></span></p>

<a href='http://jaysonlorenzen.wordpress.com/2010/05/12/use-the-android-sdk-emulator-with-eclipse-behind-a-proxy/run/' title='run'><img data-attachment-id='144' data-orig-size='322,550' data-liked='0'width="87" height="150" src="http://jaysonlorenzen.files.wordpress.com/2010/05/run.jpg?w=87&#038;h=150" class="attachment-thumbnail" alt="run" title="run" /></a>
<a href='http://jaysonlorenzen.wordpress.com/2010/05/12/use-the-android-sdk-emulator-with-eclipse-behind-a-proxy/config/' title='config'><img data-attachment-id='145' data-orig-size='600,554' data-liked='0'width="150" height="138" src="http://jaysonlorenzen.files.wordpress.com/2010/05/config.jpg?w=150&#038;h=138" class="attachment-thumbnail" alt="config" title="config" /></a>

<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/142/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/142/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/142/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=142&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2010/05/12/use-the-android-sdk-emulator-with-eclipse-behind-a-proxy/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>

		<media:content url="http://jaysonlorenzen.files.wordpress.com/2010/05/run.jpg?w=87" medium="image">
			<media:title type="html">run</media:title>
		</media:content>

		<media:content url="http://jaysonlorenzen.files.wordpress.com/2010/05/config.jpg?w=150" medium="image">
			<media:title type="html">config</media:title>
		</media:content>
	</item>
		<item>
		<title>Access and use Java Properties in Spring Context file</title>
		<link>http://jaysonlorenzen.wordpress.com/2010/04/05/access-and-use-java-properties-in-spring-context-file/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2010/04/05/access-and-use-java-properties-in-spring-context-file/#comments</comments>
		<pubDate>Mon, 05 Apr 2010 19:11:34 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[access]]></category>
		<category><![CDATA[properties]]></category>
		<category><![CDATA[spring]]></category>
		<category><![CDATA[swing]]></category>
		<category><![CDATA[use]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/?p=125</guid>
		<description><![CDATA[This seems like such a simple thing to do, and yet finding a nice simple example online was a real bear (A BEAR!!! actually). So here is my example so the next person will have an easier time of it. Add properties to your properties file: [my.properties] button.icon.search=&#8221;com/example/resorces/search.gif&#8221; button.text.search=&#8221;Search&#8221; Load the properties file inside the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=125&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This seems like such a simple thing to do, and yet finding a nice simple example online was a real bear (A BEAR!!! actually). So here is my example so the next person will have an easier time of it.</p>
<p>Add properties to your properties file:</p>
<p style="padding-left:30px;">[my.properties]</p>
<p style="padding-left:30px;">button.icon.search=&#8221;com/example/resorces/search.gif&#8221;<br />
button.text.search=&#8221;Search&#8221;</p>
<p>Load the properties file inside the context file:</p>
<p style="padding-left:30px;">
&lt;bean<br />
class=&#8221;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&#8221;&gt;<br />
&lt;property name=&#8221;locations&#8221;&gt;<br />
&lt;value&gt;classpath:path/in/cp/my.properties&lt;/value&gt;<br />
&lt;/property&gt;<br />
&lt;/bean&gt;</p>
<p style="padding-left:30px;">
<p>Access properties from the properties file when setting properties of a bean:</p>
<p style="padding-left:30px;">&lt;bean id=&#8221;searchButtonBean&#8221; init-method=&#8221;init&#8221; class=&#8221;javax.swing.JButton&#8221;&gt;<br />
&lt;property name=&#8221;text&#8221;&gt;<br />
&lt;value&gt;${button.text.search}&lt;/value&gt;<br />
&lt;/property&gt;<br />
&lt;property name=&#8221;buttonIcon&#8221; value=&#8221;${button.icon.search}&#8221;/&gt;<br />
&lt;/bean&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=125&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2010/04/05/access-and-use-java-properties-in-spring-context-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>
	</item>
		<item>
		<title>Apache ANT If Else Condition without ANT-Contrib</title>
		<link>http://jaysonlorenzen.wordpress.com/2010/03/10/apache-ant-if-else-condition-without-ant-contrib/</link>
		<comments>http://jaysonlorenzen.wordpress.com/2010/03/10/apache-ant-if-else-condition-without-ant-contrib/#comments</comments>
		<pubDate>Wed, 10 Mar 2010 00:59:48 +0000</pubDate>
		<dc:creator>Jayson</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[buid]]></category>
		<category><![CDATA[condition]]></category>
		<category><![CDATA[else]]></category>
		<category><![CDATA[if]]></category>

		<guid isPermaLink="false">http://jaysonlorenzen.wordpress.com/?p=111</guid>
		<description><![CDATA[Sometimes I must make an ANT Build file that will need to work on many different machines, where I cannot be sure of the version or configuration of ANT nor the environment it is running in. This can cause some discomfort when it comes to complex builds involving conditions. The ANT-Contrib library has a convenient [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=111&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sometimes I must make an ANT Build file that will need to work on many different machines, where I cannot be sure of the version or configuration of ANT nor the environment it is running in. This can cause some discomfort when it comes to complex builds involving conditions. The ANT-Contrib library has a convenient If/Else condition but this library is not always installed with ANT or even when it is, the build environment may not be configured to use it. So in either case, I use the following method which, though a little wordy, gets the job done without relying on anything beyond a standard ANT install. The method uses three ANT targets to do the work, one for the &lt;if&gt;, one for the &lt;then&gt; and one for the &lt;else&gt;. As you can see it creates a bit of extra code, but I believe the portability is worth it.</p>
<p>Below the explanation, the example referred to in the post will be made available. Now lets get started.</p>
<p>First Create a target that should do some bit of work based on a condition. Make the target depend on two other targets (here these are &#8220;setup&#8221; and &#8220;fail&#8221;), and only allow it to execute if a boolean variable has the right value, using the &#8220;if&#8221; attribute of the &#8220;target&#8221; element.</p>
<p>&lt;target name=&#8221;go&#8221; depends=&#8221;setup, fail&#8221; if=&#8221;allIsWellBool&#8221;&gt;<br />
&lt;!&#8211; SOME WORK HAPPENS HERE &#8211;&gt;<br />
&lt;/target&gt;</p>
<p>Next, have one of the dependencies create a boolean property based on the condition. The process is a little convoluted, in that you need to use a &lt;condition&gt; construct that has an &lt;equals&gt; test against text to create a boolean property. For instance, in the example for this post, this dependency target, &#8220;setup&#8221;, asks for some user input, then checks to see if an empty string was entered. A new boolean property is added based on the test.</p>
<p>&lt;target name=&#8221;setup&#8221;&gt;<br />
&lt;input message=&#8221;Please enter something:&#8221; addproperty=&#8221;somethingProp&#8221;/&gt;</p>
<p>&lt;condition property=&#8221;allIsWellBool&#8221;&gt;<br />
&lt;not&gt;<br />
&lt;equals arg1=&#8221;${somethingProp}&#8221; arg2=&#8221;" trim=&#8221;true&#8221;/&gt;<br />
&lt;/not&gt;<br />
&lt;/condition&gt;<br />
&lt;/target&gt;</p>
<p>After this target either there is a new boolean property called &#8220;allIsWellBool&#8221; or there is not. Subsequent test for this property will pass if the property is there, and true, or fail if it is not.</p>
<p>Finally, create a target to execute if the test fails, the else condition basically. This is done by only allowing it to execute if a boolean variable has the right value again, but this time using the &#8220;unless&#8221; attribute of the &#8220;target&#8221; element. In the case of the example for this post, this target will execute unless the &#8220;allIsWellBool&#8221; exists and is true.</p>
<p>&lt;target name=&#8221;fail&#8221; depends=&#8221;setup&#8221; unless=&#8221;allIsWellBool&#8221;&gt;<br />
&lt;fail message=&#8221;You must enter something&#8221;/&gt;<br />
&lt;/target&gt;</p>
<p>See also that we are adding the dependency for the &#8220;setup&#8221; target here as well. This is because this target depends on a property that is set in the &#8220;setup&#8221; target, and &#8220;setup&#8221; should therefore happen first.</p>
<p>The full source of the example mentioned in this post is below.</p>
<p><pre class="brush: css;">
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
&lt;!--
    Simple example of how to do an If/Else condition in
    your build file without using the ANT-Contrib libs

    This source code is provided free of charge and placed in the
    public domain. It is not supported by anyone.

    Use this at your own risk.
--&gt;
&lt;project name=&quot;Test If Else Condition without ANT-Contrib&quot; default=&quot;go&quot;&gt;

    &lt;!-- ======================= --&gt;
    &lt;!-- THE START OF THE SCRIPT --&gt;
    &lt;target name=&quot;go&quot; depends=&quot;setup, fail&quot; if=&quot;allIsWellBool&quot;&gt;

        &lt;echo message=&quot;Great, passed the test, lets do something!&quot;/&gt;
        &lt;!-- SHOULD DO SOMETHING --&gt;

    &lt;/target&gt;

    &lt;!-- =================================================== --&gt;
    &lt;!-- SETUP, GETS SOME INPUT THAT WE WILL TEST WITH LATER --&gt;
    &lt;target name=&quot;setup&quot;&gt;

        &lt;input message=&quot;Please enter something: &quot; addproperty=&quot;somethingProp&quot;/&gt;

        &lt;!-- SET A BOOLEAN PROPERTY IF WE GOT SOME INPUT  --&gt;
        &lt;condition property=&quot;allIsWellBool&quot;&gt;
            &lt;not&gt;
                &lt;equals arg1=&quot;${somethingProp}&quot; arg2=&quot;&quot; trim=&quot;true&quot;/&gt;
            &lt;/not&gt;
        &lt;/condition&gt;
    &lt;/target&gt;

    &lt;!-- ============================================ --&gt;
    &lt;!-- FAIL, WE DID NOT GET ANY INPUT FROM THE USER
         THIS DEPENDSON THE SETUP TASK AND WILL
         EXECUTE ONLY IF THE PROPERTY allIsWellBool
         IS FALSE
    --&gt;
    &lt;target name=&quot;fail&quot; depends=&quot;setup&quot; unless=&quot;allIsWellBool&quot;&gt;
        &lt;fail message=&quot;You must enter something&quot;/&gt;
    &lt;/target&gt;

&lt;/project&gt;

</pre></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaysonlorenzen.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaysonlorenzen.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaysonlorenzen.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaysonlorenzen.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaysonlorenzen.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaysonlorenzen.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaysonlorenzen.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaysonlorenzen.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaysonlorenzen.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaysonlorenzen.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaysonlorenzen.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaysonlorenzen.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaysonlorenzen.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaysonlorenzen.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaysonlorenzen.wordpress.com&amp;blog=8951597&amp;post=111&amp;subd=jaysonlorenzen&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaysonlorenzen.wordpress.com/2010/03/10/apache-ant-if-else-condition-without-ant-contrib/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/d9f3f48b832ec0ea4c31b4a0ed1483cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Jayson</media:title>
		</media:content>
	</item>
	</channel>
</rss>
