<?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>Chris Tate-Davies &#187; java</title>
	<atom:link href="http://www.christatedavies.co.uk/tag/java/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christatedavies.co.uk</link>
	<description>An archive of helpful tit bits of information for development, and probably some stuff that is incomplete, wrong or boring...</description>
	<lastBuildDate>Tue, 31 Jan 2012 11:18:39 +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>Getting Ant to run on Windows 7 (64bit)</title>
		<link>http://www.christatedavies.co.uk/2010/04/23/getting-ant-to-run-on-windows-7-64bit/</link>
		<comments>http://www.christatedavies.co.uk/2010/04/23/getting-ant-to-run-on-windows-7-64bit/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 14:39:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ant]]></category>
		<category><![CDATA[dbdeploy]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[PHPUnit]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.christatedavies.co.uk/?p=65</guid>
		<description><![CDATA[If like me, you use Ant to deploy builds, etc, and you have migrated to Windows 7 &#8211; you may well have troubles getting ant to run. It all worked flawlessly under Ubuntu, but Windows is a different beast &#8211; here&#8217;s a step by step guide to getting it working. 1) Install ant So, first [...]<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.christatedavies.co.uk/2010/04/23/getting-ant-to-run-on-windows-7-64bit/' addthis:title='Getting Ant to run on Windows 7 (64bit) ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></description>
			<content:encoded><![CDATA[<p>If like me, you use Ant to deploy builds, etc, and you have migrated to Windows 7 &#8211; you may well have troubles getting ant to run.</p>
<p>It all worked flawlessly under Ubuntu, but Windows is a different beast &#8211; here&#8217;s a step by step guide to getting it working.</p>
<p><span id="more-65"></span></p>
<p><strong>1) Install ant</strong></p>
<p>So, first you need ant. This needs extracting somewhere (but remember where&#8230; for step 5) You can download ant from here.</p>
<p><strong>2) Install PHPUnit</strong></p>
<p>PHPUnit is best installed through PEAR.</p>
<p>You need to tell PEAR where to get PHPUnit from:</p>
<pre>pear channel-discover pear.phpunit.de</pre>
<p>And then actually get it:</p>
<pre>pear install phpunit/phpunit</pre>
<p><strong>3) Install an SVN Client</strong></p>
<p>I nominated to install sliksvn &#8211; from <a href="http://sliksvn.com/en" target="_blank">here</a> &#8211; this svn client is a brilliant piece of software with all the standard commands. Remember where you install this to.</p>
<p><strong>4) Install Java </strong></p>
<p>Install the latest Java development toolkit (Java JDK) from <a href="http://java.sun.com/javase/downloads/index.jsp" target="_blank">here</a></p>
<p>NB. Remember where you install it to, as you&#8217;ll need the path in the next step.</p>
<p><strong>5) Setup Windows Paths</strong></p>
<p>Holding the Windows key, press Pause/Break (usually the top right key on your keyboard) &#8211; This will bring up the system control panel. Click on &#8220;Advanced system settings&#8221; (on the left)</p>
<p>The system properties dialog appears, click on the Environment Variables button.</p>
<p>In the bottom grid (System Variables), find Path &#8211; and double click on it. A small (unhelpfully small) dialog will appear with a load of paths in. Scroll to the end, and enter the paths to the following pieces of software:</p>
<ol>
<li>Sliksvn &#8211; the bin folder (i.e. c:program filessliksvnbin)</li>
<li>PHP folder (i.e. c:xamppphp)</li>
<li>Ant &#8211; the bin folder (i.e. c:antbin)</li>
<li>The path to your java.exe executable (i.e. C:Program Files (x86)Javajdk1.6.0_14bin)</li>
</ol>
<p>Note: All these paths need separating with a semi-colon, for example:</p>
<p>c:program filessliksvnbin;c:xamppphp;c:antbin;c:program files (x86)javajdk1.6.0_14bin</p>
<p><span style="text-decoration: underline;">Remember that each path has to be separated with a semi-colon</span></p>
<p>And thats that. It should work lovely.</p>
<p>However, when you run ant, PHPUnit will run very slowly. Not sure what it is yet, but I will update once I&#8217;ve discovered the problem.</p>
<div class="addthis_toolbox addthis_default_style addthis_" addthis:url='http://www.christatedavies.co.uk/2010/04/23/getting-ant-to-run-on-windows-7-64bit/' addthis:title='Getting Ant to run on Windows 7 (64bit) ' ><a class="addthis_button_preferred_1"></a><a class="addthis_button_preferred_2"></a><a class="addthis_button_preferred_3"></a><a class="addthis_button_preferred_4"></a><a class="addthis_button_compact"></a></div>]]></content:encoded>
			<wfw:commentRss>http://www.christatedavies.co.uk/2010/04/23/getting-ant-to-run-on-windows-7-64bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

