<?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>Christophe Herreman &#187; Ant</title>
	<atom:link href="http://www.herrodius.com/blog/category/ant/feed" rel="self" type="application/rss+xml" />
	<link>http://www.herrodius.com/blog</link>
	<description>Thoughts from a software developer</description>
	<lastBuildDate>Thu, 15 Sep 2011 21:50:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>&#8220;Could not find the main class. Program will exit.&#8221;</title>
		<link>http://www.herrodius.com/blog/42</link>
		<comments>http://www.herrodius.com/blog/42#comments</comments>
		<pubDate>Mon, 20 Feb 2006 12:28:21 +0000</pubDate>
		<dc:creator>Christophe</dc:creator>
				<category><![CDATA[Ant]]></category>
		<category><![CDATA[eclipse]]></category>
		<category><![CDATA[could not find the main class]]></category>
		<category><![CDATA[program will exit]]></category>

		<guid isPermaLink="false">http://www.herrodius.com/blog/?p=42</guid>
		<description><![CDATA[I just installed the latest available Eclipse version (3.2 milestone 5) and couldn&#8217;t run my ANT builds anymore. The error I got in the alert box was &#8220;Could not find the main class. Program will exit&#8221;. The problem was that the ANT_HOME variable was still pointing to the previous Eclipse folder and the solution was [...]]]></description>
			<content:encoded><![CDATA[<p>I just installed the latest available <a href="http://www.eclipse.org/" target="_blank">Eclipse</a> version (<a href="http://download.eclipse.org/eclipse/downloads/index.php" target="_blank">3.2 milestone 5</a>) and couldn&#8217;t run my ANT builds anymore. The error I got in the alert box was &#8220;Could not find the main class. Program will exit&#8221;.</p>
<p>The problem was that the ANT_HOME variable was still pointing to the previous Eclipse folder and the solution was simply to change the path. This can be done through Window->Preferences->Ant->Runtime. Once there, click the &#8220;Ant home&#8230;&#8221; button in the &#8220;Classpath&#8221; tab and browse to the ANT plugin folder in your Eclipse installation. Now hit the OK button and try to run the build file again. Everything should work again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.herrodius.com/blog/42/feed</wfw:commentRss>
		<slash:comments>78</slash:comments>
		</item>
	</channel>
</rss>

