<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="http://www.bytemycode.com/rssformat.xsl"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>byteMyCode: Snippets for the jbuchberger</title>
		<link>http://www.bytemycode.com</link>
		<description>Snippets for this member.</description>
		<pubDate>Fri, 09 Jan 2009 15:57:19 +0000</pubDate>
		<copyright>1998-2009 </copyright>
		<language>en-us</language>
		<image>
		      <link>http://www.bytemycode.com</link>
		      <url>http://www.bytemycode.com/img/rss_title.gif</url>
		      <title>byteMyCode</title>
		</image>

	<item>
	<title>workaround network properties inconsistencies under Java Web Start</title>
	<link>http://www.bytemycode.com/snippets/snippet/211/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/211/comments/</comments>
	<pubDate>Thu, 18 May 2006 02:02:47 +0000</pubDate>
	<dc:creator>jbuchberger</dc:creator>
	<category>Java</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/211/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. May. 18th, 2006  2:02 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/211/revisions/">3</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/jbuchberger/" title="Helper">jbuchberger</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/Java">Java</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/211/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 9
			<p>With Java Web Start 1.5.0 all of a sudden new proxy properties were introduced (deployment.proxy.http.host, deployment.proxy.http.port and deployment.proxy.bypass.list) valid only for the webstart environment - and if that was not enough yet, it does not support the existing proxy properties, neither the standard, nor the deprecated ones from old Java releases. To topple even that, for the bypass-list the delimiters were changed to semicolon (http.nonProxyHosts has the pipe char as delimiter) ... <br /><br /><a href='http://java.sun.com/j2se/1.5.0/docs/guide/net/properties.html' target="_blank">standard networking properties</a><br /><br />the workaround here makes sure, that if any one of these proxy properties (deprecated, standard or webstart-5 ones) are set, that all the others get the same settings - this pays off, if you're using different third-party components relying on one specific set of these proxy properties (especially if it's beyond your power, in what kind of environment the software will be executed respectively integrated...)</p>
		]]>
	</description>
</item><item>
	<title>autopublish your current javadocs on your intranet server</title>
	<link>http://www.bytemycode.com/snippets/snippet/210/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/210/comments/</comments>
	<pubDate>Mon, 15 May 2006 11:25:31 +0000</pubDate>
	<dc:creator>jbuchberger</dc:creator>
	<category>ant, builds, Java</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/210/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Mon. May. 15th, 2006  11:25 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/210/revisions/">4</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/jbuchberger/" title="Helper">jbuchberger</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/ant">ant</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/builds">builds</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Java">Java</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/210/comments/">0 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 7
			<p>if you use the same buildfiles on your local codebase and your continuous integration buildserver, the if-attribute for <b>ant</b>'s <b>target</b>s comes in handy...<br /><br />for this ant buildfile snippet to only create+publish javadoc when executed on the buildserver, the buildserver only has to set the referred system property, e.g. on its startup by using a Java D-option "-Dcontinuous.build=true" ...<br /><br /><a href='http://ant.apache.org/' target="_blank">ant buildtool website</a></p>
		]]>
	</description>
</item><item>
	<title>remove trailing spaces from _many_ files</title>
	<link>http://www.bytemycode.com/snippets/snippet/208/</link>
	<comments>http://www.bytemycode.com/snippets/snippet/208/comments/</comments>
	<pubDate>Thu, 11 May 2006 10:19:00 +0000</pubDate>
	<dc:creator>jbuchberger</dc:creator>
	<category>BATCH, Java</category>
	<guid isPermaLink="false">http://www.bytemycode.com/snippets/snippet/208/</guid>
	<description>
		<![CDATA[

			<img src="http://www.bytemycode.com/img/icon_calendar.gif" align="middle" class="icon" alt="Date Submitted" /> Thu. May. 11th, 2006  10:19 AM			<br />
			<img src="http://www.bytemycode.com/img/icon_revision.gif" align="middle" class="icon" alt="Revision" /> <a href="http://www.bytemycode.com/snippets/snippet/208/revisions/">3</a>
			<br />
			<img src="http://www.bytemycode.com/img/rank_helper.gif" align="middle" class="icon" alt="Helper" /> <a href="http://www.bytemycode.com/members/member/jbuchberger/" title="Helper">jbuchberger</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_tag.gif" align="middle" class="icon" alt="Tags" /> <a href="http://www.bytemycode.com/tags/tag/BATCH">BATCH</a>&nbsp;|&nbsp;<a href="http://www.bytemycode.com/tags/tag/Java">Java</a>			<br />
			<img src="http://www.bytemycode.com/img/icon_comments.gif" align="middle" class="icon" alt="Comments" /> <a href="http://www.bytemycode.com/snippets/snippet/208/comments/">2 comments</a>
			<br />
			<img src="http://www.bytemycode.com/img/icon_ranking.gif" align="middle" class="icon" alt="Ranking" /> 10
			<p>Java <b>properties</b> files can yield undesirable results at runtime, if there happen to be <i>spaces at the end of some lines</i>.<br /><br />Requires a win32 port for the GNU utilities <i>grep</i> and <i>sed</i> - e.g. <a href='http://unxutils.sourceforge.net/' target="_blank">http://unxutils.sourceforge.net/</a>.</p>
		]]>
	</description>
</item>
	</channel>
</rss>