<?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>just in ram &#187; General</title>
	<atom:link href="http://justinramel.com/category/general/feed/" rel="self" type="application/rss+xml" />
	<link>http://justinramel.com</link>
	<description>A list of stuff I should remember but never do</description>
	<lastBuildDate>Sat, 24 Jul 2010 10:14:06 +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>Building FubuMVC with a portable version of rake</title>
		<link>http://justinramel.com/2009/06/19/building-fubumvc-with-a-portable-version-of-rake/</link>
		<comments>http://justinramel.com/2009/06/19/building-fubumvc-with-a-portable-version-of-rake/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 14:55:24 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[FubuMVC]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://justinram.wordpress.com/2009/06/19/building-fubumvc-with-a-portable-version-of-rake/</guid>
		<description><![CDATA[To build FubuMVC you need to install ruby, rake etc. Unfortunately for me the firewall at work will not allow me to get the rake gem (I’ve downloaded gems before using the HTTP_PROXY setting before but no luck this time). Any hoose I remember reading Stephen Balkum post on packaging up Rake as an executable.  [...]]]></description>
			<content:encoded><![CDATA[<p>To build <a href="http://fubumvc.pbworks.com/" target="_blank">FubuMVC</a> you need to install ruby, rake etc. Unfortunately for me the firewall at work will not allow me to get the rake gem (I’ve downloaded gems before using the HTTP_PROXY setting before but no luck this time). Any hoose I remember reading <a href="http://www.stephenbalkum.com/Default.aspx" target="_blank">Stephen Balkum</a> post on packaging up <a href="http://docs.rubyrake.org/index.html" target="_blank">Rake</a> as an executable.  I followed Stephens guide and created a portable rake package which got around my firewall problem <strong>but</strong> <a href="http://fubumvc.pbworks.com/" target="_blank">FubuMVC</a> required another gem <a href="http://rubyforge.org/frs/download.php/11376/rubyzip-0.9.1.zip" target="_blank">rubyzip</a> to allow a build.</p>
<h2>Adding another gem</h2>
<p>Luckily using <a href="http://www.stephenbalkum.com/archive/2009/06/09/when-all-you-need-is-a-rake.aspx" target="_blank">Stephen’s guide</a> its really easy to add extra gems, you just need to have them installed before you build your exe. So we follow the first part of the process outlined in <a href="http://www.stephenbalkum.com/archive/2009/06/09/when-all-you-need-is-a-rake.aspx" target="_blank">Stephen’s guide</a> then do the following:</p>
<p><strong>NOTE:</strong> In this case we need rubyzip but it could be any old gem.</p>
<ul>
<li>Download <a href="http://rubyforge.org/frs/download.php/11376/rubyzip-0.9.1.zip" target="_blank">rubyzip</a> and extract to contents to c:\rubywork\zip</li>
<li>To install rubyzip, at a command prompt in c:\rubywork\zip, run ..\ruby\bin\ruby install.rb</li>
<li>Download <a href="http://www.zlib.net/zlib123-dll.zip" target="_blank">zlib</a> and extract the zlib1.dll to C:\rubywork\ruby\lib\ruby\1.8\i386-mswin32</li>
<li>Rename zlib1.dll to zlib.dll (rubyzip required this extra dll other gems may not)</li>
</ul>
<p>Now continue part two of the process from <a href="http://www.stephenbalkum.com/archive/2009/06/09/when-all-you-need-is-a-rake.aspx" target="_blank">Stephen’s guide</a> to compile your very own allinoneruby.exe which includes, rake and rubyzip.</p>
<p>You should now have allinoneruby.exe and rake.rb file.</p>
<h2>Building FubuMVC</h2>
<p>We can now drop these files into to the FubuMVC project under the build support folder:</p>
<p><a href="http://justinram.files.wordpress.com/2009/06/image15.png"><img style="border-bottom:0;border-left:0;display:inline;margin-left:0;border-top:0;margin-right:0;border-right:0;" title="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb15.png" border="0" alt="image" width="644" height="311" /></a></p>
<p>We need a helper batch file in the root folder of FubuMVC called rake.bat which contains:</p>
<p><span style="font-family: Courier New;">@.\build_support\allinoneruby.exe .\build_support\rake.rb %*</span></p>
<p>This will be called when we run the build.</p>
<h2>Run the build already</h2>
<p>Drop to the command prompt and cd into the FubuMVC project root and simply type build. You should get something like:</p>
<p><a href="http://justinram.files.wordpress.com/2009/06/image16.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" src="http://justinram.files.wordpress.com/2009/06/image_thumb16.png" border="0" alt="image" width="492" height="484" /></a></p>
<h2>Download</h2>
<p>Don’t want to go through all that? You can download my version of portable rake <a href="http://cid-d7d57b78b0ddedf5.skydrive.live.com/self.aspx/.Public/blog/portable|_rake/portablerake.zip" target="_blank">here</a> (<em>I don’t think I’m breaking any licensing agreements here, this is all open source software. If I am let me know and I’ll remove the link</em>)</p>
<p><strong>DISCLAIMER:</strong> I offer no guarantees I can only confirm this works on my machine!</p>
<h2>One final note</h2>
<p>I’ve used this method to build some of the other open source projects out there which use rake (<em>all the </em><a href="http://blog.jpboodhoo.com/developwithpassionbdd.aspx" target="_blank"><em>cool kids</em></a><em> seem to be using rake</em>) and so far I’ve not had any problems. This could be pretty frictionless way to introduce rake to a team of .net developers who don’t want the overhead of installing ruby on their machines. Just add it to a tools folder check it in to source control they’ll never know!</p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2009/06/19/building-fubumvc-with-a-portable-version-of-rake/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOWTO: Download and run Microsoft Report Builder 1.0</title>
		<link>http://justinramel.com/2009/05/20/howto-download-and-run-microsoft-report-builder-1-0/</link>
		<comments>http://justinramel.com/2009/05/20/howto-download-and-run-microsoft-report-builder-1-0/#comments</comments>
		<pubDate>Wed, 20 May 2009 15:58:51 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Subversion]]></category>

		<guid isPermaLink="false">http://justinram.wordpress.com/2009/05/20/howto-download-and-run-microsoft-report-builder-1-0/</guid>
		<description><![CDATA[Assuming you have an SQL Server 2005 running reporting services you can run Report builder as a ClickOnce app using the following url:
http://&#60;servername&#62;/reportserver/reportbuilder/reportbuilder.application
]]></description>
			<content:encoded><![CDATA[<p>Assuming you have an SQL Server 2005 running reporting services you can run Report builder as a ClickOnce app using the following url:</p>
<p>http://&lt;<em>servername</em>&gt;/reportserver/reportbuilder/reportbuilder.application</p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2009/05/20/howto-download-and-run-microsoft-report-builder-1-0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TortoiseSVN + Global ignore pattern</title>
		<link>http://justinramel.com/2007/10/10/tortoisesvn-global-ignore-pattern/</link>
		<comments>http://justinramel.com/2007/10/10/tortoisesvn-global-ignore-pattern/#comments</comments>
		<pubDate>Wed, 10 Oct 2007 12:37:22 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[TortoiseSVN]]></category>

		<guid isPermaLink="false">http://justinram.wordpress.com/2007/10/10/tortoisesvn-global-ignore-pattern/</guid>
		<description><![CDATA[
build_log.xml *.suo *.user _ReSharper* *.resharper bin obj class build
]]></description>
			<content:encoded><![CDATA[<p><img src='http://justinram.files.wordpress.com/2007/10/tortoise.GIF' alt='Tortoise' /><br />
<code>build_log.xml *.suo *.user _ReSharper* *.resharper bin obj class build</code></p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2007/10/10/tortoisesvn-global-ignore-pattern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SAP Portal Developer Guide</title>
		<link>http://justinramel.com/2006/12/05/sap-portal-developer-guide/</link>
		<comments>http://justinramel.com/2006/12/05/sap-portal-developer-guide/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 12:26:00 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[SAP Enterprise Portal]]></category>

		<guid isPermaLink="false">http://justinram.wordpress.com/2006/12/05/sap-portal-developer-guide/</guid>
		<description><![CDATA[Looking for help on the SAP Portal? HTMLB syntax and lots of other goodies this way&#8230;
SAP Portal Developer Guide
]]></description>
			<content:encoded><![CDATA[<p>Looking for help on the SAP Portal? HTMLB syntax and lots of other goodies this way&#8230;</p>
<p><a target="_blank" href="http://help.sap.com/saphelp_nw04/helpdata/en/9f/fd4e41bbd1f423e10000000a155106/frameset.htm">SAP Portal Developer Guide</a></p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2006/12/05/sap-portal-developer-guide/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Continuous Integration + CruiseControl.Net + Subversion + MSBuild + .Net 2.0</title>
		<link>http://justinramel.com/2006/07/20/continuous-integration-cruisecontrolnet-subversion-msbuild-net-20/</link>
		<comments>http://justinramel.com/2006/07/20/continuous-integration-cruisecontrolnet-subversion-msbuild-net-20/#comments</comments>
		<pubDate>Thu, 20 Jul 2006 10:20:14 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">https://justinram.wordpress.com/2006/07/20/continuous-integration-cruisecontrolnet-subversion-msbuild-net-20/</guid>
		<description><![CDATA[I’ve read quite a bit about Continuous Integration and the .Net implementation CruiseControl.Net. It always seemed like a really good idea but I’ve never gotten around to trying it out, until now…
By the way setting up the server was a lot easier than I thought it would be! Here’s what I did:
CruiseControl.Net Setup
Download and run [...]]]></description>
			<content:encoded><![CDATA[<p>I’ve read quite a bit about <a href="http://www.martinfowler.com/articles/continuousIntegration.html">Continuous Integration</a> and the .Net implementation <a href="http://confluence.public.thoughtworks.org/display/CCNET">CruiseControl.Net</a>. It always seemed like a really good idea but I’ve never gotten around to trying it out, until now…</p>
<p>By the way setting up the server was a lot easier than I thought it would be! Here’s what I did:</p>
<h3>CruiseControl.Net Setup</h3>
<p>Download and run CruiseControl.Net setup<br />
<a href="http://sourceforge.net/project/showfiles.php?group_id=71179&amp;package_id=83198"><br />
http://sourceforge.net/project/showfiles.php?group_id=71179&amp;package_id=83198</a></p>
<p>I’ve used version 1.0.1:</p>
<p><a href="http://prdownloads.sourceforge.net/ccnet/CruiseControl.NET-1.0.1-Setup.exe?download">CruiseControl.NET-1.0.1-Setup.exe</a></p>
<p><strong>NOTE:</strong> After setup if your server has .Net 1.1 and 2.0 as mine did you may need to change the ccnet website to use .Net 2.0.  This can be done through the IIS control panel, get the properties of the ccnet site  and  change via the ASP.NET tab.</p>
<h3>Subversion Client</h3>
<p>Your server will need the subversion console client on the server to allow CruiseControl to checkout your source.</p>
<p><a href="http://subversion.tigris.org/">http://subversion.tigris.org/</a></p>
<h3>.Net 2 SDK</h3>
<p>To allow us to build .Net 2  projects without the need for Visual Studio we need to download and install .Net 2 SDK onto  the server</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?familyid=fe6f2099-b7b4-4f47-a244-c96d69c35dec&amp;displaylang=en">http://www.microsoft.com/downloads/details.aspx?familyid=fe6f2099-b7b4-4f47-a244-c96d69c35dec&amp;displaylang=en</a></p>
<h3>Setup MSBuild</h3>
<p>To use MSBuild with CC.Net we need the logger dll -ThoughtWorks.CruiseControl.MsBuild.dll from:</p>
<p><a href="http://ccnetlive.thoughtworks.com/MSBuildXmlLogger%2DBuilds/">http://ccnetlive.thoughtworks.com/MSBuildXmlLogger%2DBuilds/</a></p>
<p>Download and copy to:<br />
C:\Program Files\CruiseControl.NET\webdashboard\bin\</p>
<h3>Directory structure</h3>
<p>Setup your directory structure:</p>
<p>C:\CI\Myproject\<br />
C:\CI\Myproject\build<br />
C:\CI\Myproject\logs</p>
<p>Using your subversion client checkout source to C:\CI\MyProject\build</p>
<h3>ccnet.config</h3>
<p>Add the project config to ccnet.confg:</p>
<pre>
&lt;cruisecontrol&gt;
 &lt;project name=&quot;MyProject&quot;&gt;
  &lt;!-- after a change is detected, wait 10 mins and then kick off the build--&gt;
  &lt;schedule type=&quot;schedule&quot; sleepSeconds=&quot;600&quot; /&gt;
  &lt;!--set the sourcecontrol type to subversion and point to the subversion exe--&gt;
  &lt;sourcecontrol type=&quot;svn&quot;&gt;
   &lt;executable&gt;C:\Program Files\Subversion\bin\svn.exe&lt;/executable&gt;
   &lt;workingDirectory&gt;C:\CI\MyProject\build&lt;/workingDirectory&gt;
   &lt;trunkUrl&gt;svn://svnserver/MyProject/trunk&lt;/trunkUrl&gt;
   &lt;autoGetSource&gt;true&lt;/autoGetSource&gt;
   &lt;username&gt;myuser&lt;/username&gt;
   &lt;password&gt;mypassword&lt;/password&gt;
  &lt;/sourcecontrol&gt;
  &lt;tasks&gt;
   &lt;!-- Configure MSBuild to compile the updated files --&gt;c:\
   &lt;msbuild&gt;
    &lt;executable&gt;C:\windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe&lt;/executable&gt;
    &lt;workingDirectory&gt;C:\CI\MyProject\build\src\&lt;/workingDirectory&gt;
    &lt;projectFile&gt;MyProject.sln&lt;/projectFile&gt;
    &lt;buildArgs&gt;/noconsolelogger /p:Configuration=Debug&lt;/buildArgs&gt;
    &lt;targets&gt;&lt;/targets&gt;
    &lt;timeout&gt;15&lt;/timeout&gt;
    &lt;logger&gt;ThoughtWorks.CruiseControl.MsBuild.XmlLogger,C:\Program Files\CruiseControl.NET\webdashboard\bin\ThoughtWorks.CruiseControl.MsBuild.dll&lt;/logger&gt;
   &lt;/msbuild&gt;
  &lt;/tasks&gt;
  &lt;!--Publishers will be done after the build has completed--&gt;
  &lt;publishers&gt;
   &lt;xmllogger&gt;
    &lt;logDir&gt;C:\CI\MyProject\Logs&lt;/logDir&gt;
   &lt;/xmllogger&gt;
  &lt;/publishers&gt;
  &lt;modificationDelaySeconds&gt;10&lt;/modificationDelaySeconds&gt;
 &lt;/project&gt;
&lt;/cruisecontrol&gt;
</pre>
<h3>CC Tray</h3>
<p>You will also want to install the CC Tray monitoring software on your pc:</p>
<p><a href="http://prdownloads.sourceforge.net/ccnet/CruiseControl.NET-CCTray-1.0.1-Setup.exe?download">CCTray</a></p>
<p>It will allow you to keep an eye on the server from the comfort of your own pc.</p>
<p>That&#8217;s it we&#8217;re down!</p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2006/07/20/continuous-integration-cruisecontrolnet-subversion-msbuild-net-20/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Subversion server + windows + backup</title>
		<link>http://justinramel.com/2006/05/03/subversion-server-windows-backup/</link>
		<comments>http://justinramel.com/2006/05/03/subversion-server-windows-backup/#comments</comments>
		<pubDate>Wed, 03 May 2006 10:46:34 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">https://justinram.wordpress.com/2006/05/03/subversion-server-windows-backup/</guid>
		<description><![CDATA[So you want to backup your repository?
Unfortunately you cannot do a straight backup of your repository as someone may have a file open/locked which will cause problems on restore. So you should do a &#8220;hot copy&#8221; to prevent any locking issues when the actual backup is made.  My &#8220;hot copy&#8221; is created using the [...]]]></description>
			<content:encoded><![CDATA[<p>So you want to backup your repository?</p>
<p>Unfortunately you cannot do a straight backup of your repository as someone may have a file open/locked which will cause problems on restore. So you should do a &#8220;hot copy&#8221; to prevent any locking issues when the actual backup is made.  My &#8220;hot copy&#8221; is created using the following batch file:</p>
<pre>
REM Reset hot copy
rmdir /S /Q c:\\svnrepos_hotcopy
mkdir c:\\svnrepos_hotcopy

REM Initiate SVN backup. Use svadmin hotcopy --help for details
svnadmin hotcopy c:\\svnrepos c:\\svnrepos_hotcopy --clean-logs
</pre>
<p>I run this batch file daily as a scheduled task before the actual backup.</p>
<p>This batch file is a modification of the batch file described over at:</p>
<p><a href="http://www.blendedtechnologies.com/daily-backup-of-subversion/21" target="_blank">Blended Technologies</a></p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2006/05/03/subversion-server-windows-backup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ruby unit testing &#8211; Setting up your project folder for testing</title>
		<link>http://justinramel.com/2006/03/30/ruby-unit-testing-setting-up-your-project-folder-for-testing/</link>
		<comments>http://justinramel.com/2006/03/30/ruby-unit-testing-setting-up-your-project-folder-for-testing/#comments</comments>
		<pubDate>Thu, 30 Mar 2006 21:22:01 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">https://justinram.wordpress.com/2006/03/30/ruby-unit-testing-setting-up-your-project-folder-for-testing/</guid>
		<description><![CDATA[Its a good idea to keep your test cases seperate from your production code:

  myproject
      lib/
          workomatic.rb
      test/
          test_workomatic.rb

When you have your project setup in this [...]]]></description>
			<content:encoded><![CDATA[<p>Its a good idea to keep your test cases seperate from your production code:</p>
<pre>
  myproject
      lib/
          workomatic.rb
      test/
          test_workomatic.rb
</pre>
<p>When you have your project setup in this way add the following line to the top of your test cases:</p>
<p>Inside test_workomatic.rb</p>
<pre>
  $:.unshift File.join(File.dirname(__FILE__), "..", "lib")
  require workomatic.rb
</pre>
<p>Now when you run this test case the workomatic.rb file and all supporting files in the lib folder will be picked up.</p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2006/03/30/ruby-unit-testing-setting-up-your-project-folder-for-testing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first wordpress post</title>
		<link>http://justinramel.com/2006/02/28/my-first-wordpress-post/</link>
		<comments>http://justinramel.com/2006/02/28/my-first-wordpress-post/#comments</comments>
		<pubDate>Tue, 28 Feb 2006 17:07:03 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://justinram.wordpress.com/2006/02/28/my-first-wordpress-post/</guid>
		<description><![CDATA[I&#8217;ve defected from blogger.com, so far I&#8217;m impressed. Categories, stats, lots of nice skins and the import feature just saved me a boat load of time!
]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve defected from <a target="_blank" href="http://juststuffwhatidone.blogspot.com/">blogger.com</a>, so far I&#8217;m impressed. Categories, stats, lots of nice skins and the import feature just saved me a boat load of time!</p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2006/02/28/my-first-wordpress-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first post</title>
		<link>http://justinramel.com/2006/02/21/my-first-post/</link>
		<comments>http://justinramel.com/2006/02/21/my-first-post/#comments</comments>
		<pubDate>Tue, 21 Feb 2006 17:17:00 +0000</pubDate>
		<dc:creator>Justin Ramel</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://justinram.wordpress.com/2006/02/21/my-first-post/</guid>
		<description><![CDATA[I hope to use this every day but who knows this might be my only post!
]]></description>
			<content:encoded><![CDATA[<p>I hope to use this every day but who knows this might be my only post!</p>
]]></content:encoded>
			<wfw:commentRss>http://justinramel.com/2006/02/21/my-first-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
