<?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>Howtos &#187; Windows</title>
	<atom:link href="http://howto.isgoodness.com/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://howto.isgoodness.com</link>
	<description>Stuffs that are worth to mention and worth to know</description>
	<lastBuildDate>Sun, 27 Feb 2011 16:19:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to set default OS in boot.ini</title>
		<link>http://howto.isgoodness.com/2009/11/how-to-set-default-os-in-boot-ini/</link>
		<comments>http://howto.isgoodness.com/2009/11/how-to-set-default-os-in-boot-ini/#comments</comments>
		<pubDate>Sun, 15 Nov 2009 10:31:42 +0000</pubDate>
		<dc:creator>Van Nhu</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://howto.isgoodness.com/?p=335</guid>
		<description><![CDATA[This is a boot setup for Microsoft Windows XP Professional and Ubuntu (wubi) where we have Windows XP as default and will be preselected on start of computer. This content can be found in c:\boot.ini (be aware this is a hidden system file). &#91;boot loader&#93; timeout=15 default=multi&#40;0&#41;disk&#40;0&#41;rdisk&#40;0&#41;partition&#40;1&#41;\WINDOWS &#160; &#91;operating systems&#93; multi&#40;0&#41;disk&#40;0&#41;rdisk&#40;0&#41;partition&#40;1&#41;\WINDOWS=&#34;Microsoft Windows XP Professional&#34; /fastdetect [...]]]></description>
			<content:encoded><![CDATA[<p>This is a boot setup for Microsoft Windows XP Professional and Ubuntu (<a href="http://en.wikipedia.org/wiki/Wubi_%28Ubuntu_installer%29" target="_blank">wubi</a>) where we have Windows XP as default and will be preselected on start of computer. This content can be found in c:\boot.ini (be aware this is a hidden system file).</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>boot loader<span style="">&#93;</span></span>
<span style="color: #000099;">timeout</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">15</span>
<span style="color: #000099;">default</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">multi<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>disk<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>rdisk<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>partition<span style="">&#40;</span><span style="">1</span><span style="">&#41;</span>\WINDOWS</span>
&nbsp;
<span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>operating systems<span style="">&#93;</span></span>
multi<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>disk<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>rdisk<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>partition<span style="">&#40;</span><span style="">1</span><span style="">&#41;</span>\WINDOWS<span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;Microsoft Windows XP Professional&quot;</span> /fastdetect /NoExecute<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">OptIn</span>
c:\wubildr.mbr<span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;Ubuntu&quot;</span></pre></div></div>

<p>If we wish to start with Ubuntu instead we change default operative system as following</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;"><span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>boot loader<span style="">&#93;</span></span>
<span style="color: #000099;">timeout</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">15</span>
<span style="color: #000099;">default</span><span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">c:\wubildr.mbr</span>
&nbsp;
<span style="color: #000066; font-weight:bold;"><span style="">&#91;</span>operating systems<span style="">&#93;</span></span>
multi<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>disk<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>rdisk<span style="">&#40;</span><span style="">0</span><span style="">&#41;</span>partition<span style="">&#40;</span><span style="">1</span><span style="">&#41;</span>\WINDOWS<span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;Microsoft Windows XP Professional&quot;</span> /fastdetect /NoExecute<span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;">OptIn</span>
c:\wubildr.mbr<span style="color: #000066; font-weight:bold;">=</span><span style="color: #933;">&quot;Ubuntu&quot;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://howto.isgoodness.com/2009/11/how-to-set-default-os-in-boot-ini/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to get svn revision in ant using tortoise</title>
		<link>http://howto.isgoodness.com/2009/10/how-to-get-revision-using-tortoise-in-ant/</link>
		<comments>http://howto.isgoodness.com/2009/10/how-to-get-revision-using-tortoise-in-ant/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 21:40:47 +0000</pubDate>
		<dc:creator>Van Nhu</dc:creator>
				<category><![CDATA[Ant]]></category>
		<category><![CDATA[revision]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[tortoise]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://howto.isgoodness.com/?p=3</guid>
		<description><![CDATA[This post is for you who are using Tortoise in windows environment and want to get the highest committed revision number when running an ant build script.  This number can be useful when handling the version of the static files/contents. Here is a simple ant target &#60;target name=&#34;get-revision&#34;&#62; &#60;exec executable=&#34;subWCRev.exe&#34;&#62; &#60;arg value=&#34;${srcBaseDir}&#34;/&#62; &#60;arg value=&#34;${srcBaseDir}/revision.build&#34;/&#62; &#60;arg [...]]]></description>
			<content:encoded><![CDATA[<p>This post is for you who are using Tortoise in windows environment and want to get the highest committed revision number when running an ant build script.  This number can be useful when handling the version of the static files/contents. Here is a simple ant target</p>

<div class="wp_syntax"><div class="code"><pre class="xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;target</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;get-revision&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;exec</span> <span style="color: #000066;">executable</span>=<span style="color: #ff0000;">&quot;subWCRev.exe&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;${srcBaseDir}&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;${srcBaseDir}/revision.build&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;arg</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;${srcBaseDir}/deploy/revision.properties&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/exec<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/target<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>Where ${srcBaseDir} is the top directory of svn checkout (working copy), ${srcBaseDir}/revision.build is the template file and ${srcBaseDir}/deploy/revision.properties is the output file.</p>
<p>And content of the file revision.build</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">common.svn.revision <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> $WCREV$</span></pre></div></div>

<p>Where $WCREV$ is the placeholder for the highest committed revision number. You can find more placeholders by running subWCRev.exe in cmd-promt.</p>
<p>The output to the file revision.properties will be,  for instance</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">common.svn.revision <span style="color: #000066; font-weight:bold;">=</span><span style="color: #660066;"> 1001</span></pre></div></div>

<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://howto.isgoodness.com/2009/10/how-to-get-revision-using-tortoise-in-ant/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

