<?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>Cake Solutions Team Blog &#187; Cornel&#8217;s Blog</title>
	<atom:link href="http://www.cakesolutions.net/teamblogs/category/cornels-blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cakesolutions.net/teamblogs</link>
	<description>void magic() { }</description>
	<lastBuildDate>Wed, 08 Sep 2010 13:19:24 +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>Looking for a ${property}</title>
		<link>http://www.cakesolutions.net/teamblogs/2009/08/24/looking-for-a-property/</link>
		<comments>http://www.cakesolutions.net/teamblogs/2009/08/24/looking-for-a-property/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 08:07:17 +0000</pubDate>
		<dc:creator>cornelf</dc:creator>
				<category><![CDATA[Cornel's Blog]]></category>
		<category><![CDATA[Java & JEE]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[placeholder]]></category>
		<category><![CDATA[Spring]]></category>

		<guid isPermaLink="false">http://www.cakesolutions.net/teamblogs/?p=431</guid>
		<description><![CDATA[&#8220;Location, Location, Location&#8221; may not be enough.
Having property files loaded using ProperyPlaceholderConfigurer bean or the modern &#60;context:property-placeholder&#62; can become a real pain when the placeholders are distributed among the jars.
&#60;context:property-placeholder location=&#8221;classpath*:*.properties&#8221;/&#62;
Well, only location can be set here, the rest is default. Pretty cool, but it is not doing it&#8230; We look back to the old [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;Location, Location, Location&#8221; may not be enough.</p>
<p>Having property files loaded using ProperyPlaceholderConfigurer bean or the modern &lt;context:property-placeholder&gt; can become a real pain when the placeholders are distributed among the jars.</p>
<p><em>&lt;context:property-placeholder location=&#8221;classpath*:*.properties&#8221;/&gt;</em></p>
<p>Well, only location can be set here, the rest is default. Pretty cool, but it is not doing it&#8230; We look back to the old fashion bean</p>
<p><em>&lt;bean class=&#8221;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&#8221;&gt;<br />
&lt;property name=&#8221;locations&#8221; value=&#8221;classpath:*.properties&#8221;/&gt;<br />
&lt;/bean&gt;</em></p>
<p>The hack comes here: change from the default placeholderPrefix to a specific one, unique among jars used and everything is gonna be alright.</p>
<p><em>&lt;property name=&#8221;placeholderPrefix&#8221; value=&#8221;£{&#8221;/&gt;</em></p>
<p>Don&#8217;t forget now to change the references to the properties (from <em>${&#8230;}</em> to <em>£{&#8230;}</em>).</p>
<p><a title="Spring Forum" href="http://forum.springsource.org/archive/index.php/t-22387.html" target="_blank">Source 1</a> <a title="Spring Forum" href="http://forum.springsource.org/showthread.php?t=56371" target="_blank">Source 2</a></p>
<div style="overflow: hidden;width: 1px;height: 1px">&lt;bean id=&#8221;clientPropertyConfigurer&#8221; class=&#8221;org.springframework.beans.factory.config.PropertyPlaceholderConfigurer&#8221;&gt;<br />
&lt;property name=&#8221;searchSystemEnvironment&#8221; value=&#8221;true&#8221;/&gt;<br />
&lt;property name=&#8221;systemPropertiesMode&#8221; value=&#8221;2&#8243;/&gt;<br />
&lt;property name=&#8221;order&#8221; value=&#8221;100&#8243;/&gt;<br />
&lt;property name=&#8221;properties&#8221;&gt;<br />
&lt;props&gt;<br />
&lt;prop key=&#8221;BPB_SERVICES_HOST&#8221;&gt;bpb-services01&lt;/prop&gt;<br />
&lt;prop key=&#8221;BPB_SERVICES_HOST_PORT&#8221;&gt;1099&lt;/prop&gt;<br />
&lt;/props&gt;<br />
&lt;/property&gt;<br />
&lt;property name=&#8221;placeholderPrefix&#8221; value=&#8221;#{&#8221;/&gt;<br />
&lt;/bean&gt;</div>
]]></content:encoded>
			<wfw:commentRss>http://www.cakesolutions.net/teamblogs/2009/08/24/looking-for-a-property/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spring User Group speaker icebreaker</title>
		<link>http://www.cakesolutions.net/teamblogs/2009/08/12/spring-user-group-speaker-icebreaker/</link>
		<comments>http://www.cakesolutions.net/teamblogs/2009/08/12/spring-user-group-speaker-icebreaker/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 16:30:26 +0000</pubDate>
		<dc:creator>cornelf</dc:creator>
				<category><![CDATA[Cornel's Blog]]></category>
		<category><![CDATA[Java & JEE]]></category>
		<category><![CDATA[Talks and user groups]]></category>
		<category><![CDATA[icebreaker]]></category>
		<category><![CDATA[OSGi]]></category>
		<category><![CDATA[Presentation]]></category>
		<category><![CDATA[Spring]]></category>
		<category><![CDATA[SpringBatch]]></category>
		<category><![CDATA[springsource]]></category>
		<category><![CDATA[SUG]]></category>

		<guid isPermaLink="false">http://www.cakesolutions.net/teamblogs/?p=416</guid>
		<description><![CDATA[The ice has been broken. The first step on the path to future speeches has been taken.
First of all I would like to thank each and every one in the audience for the great support. You can now download the demo source code and the OSGi presentation material.
You can also download Dr David Syer&#8217;s Spring [...]]]></description>
			<content:encoded><![CDATA[<p>The ice has been broken. The first step on the path to future speeches has been taken.</p>
<p>First of all I would like to thank each and every one in the audience for the great support. You can now download the <a title="Code" href="http://www.cakesolutions.net/teamblogs/wp-content/uploads/2009/08/SUG-dmServerDemoForPPT.zip">demo source code</a> and the<a title="presentation" href="http://www.cakesolutions.net/teamblogs/wp-content/uploads/2009/08/SUG-Cake-OSGi-IntelliJ-IDEA-Presentation.ppt"> OSGi presentation material</a>.</p>
<p>You can also <a title="Spring Batch" href="http://www.cakesolutions.net/teamblogs/wp-content/uploads/2009/08/SUG-David-Syer-Spring-Batch.zip">download</a> Dr David Syer&#8217;s Spring Batch presentation.</p>
<p>Videos and photos from the event will be uploaded to our <a title="Cake Solutions" href="http://www.cakesolutions.net" target="_blank">website</a> and to the upcoming <a href="http://www.cakesolutions.net/teamblogs/">Cake </a><a title="Cake Blogs" href="http://www.cakesolutions.net/teamblogs/" target="_blank">blogs</a>, so keep an eye on us.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cakesolutions.net/teamblogs/2009/08/12/spring-user-group-speaker-icebreaker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
