<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Solution for ClassNotFoundException with JUnit and Ant</title>
	<atom:link href="http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/</link>
	<description>Life is software and jujitsu</description>
	<lastBuildDate>Mon, 01 Feb 2010 17:22:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Oliver</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-9478</link>
		<dc:creator>Oliver</dc:creator>
		<pubDate>Sun, 05 Apr 2009 21:29:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-9478</guid>
		<description>Thanks for your explanation. Although the link to your build has died I was able to reconstruct the my classpath.

Thanks for the tip. This was a headscratcher. Now everything is fine.</description>
		<content:encoded><![CDATA[<p>Thanks for your explanation. Although the link to your build has died I was able to reconstruct the my classpath.</p>
<p>Thanks for the tip. This was a headscratcher. Now everything is fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim Brown</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-7998</link>
		<dc:creator>Tim Brown</dc:creator>
		<pubDate>Wed, 07 Nov 2007 17:32:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-7998</guid>
		<description>Actually you don&#039;t have to Jar.  Just use path location=root folder.

I can&#039;t see your build.xml (bad link), but I suspect you&#039;re using a fileset to include all the class files.  What you want is to just include the directory *containing* the class files. (i.e. - folder containing com/org/whatever).

Path location=foo will do that.

Cheers</description>
		<content:encoded><![CDATA[<p>Actually you don&#8217;t have to Jar.  Just use path location=root folder.</p>
<p>I can&#8217;t see your build.xml (bad link), but I suspect you&#8217;re using a fileset to include all the class files.  What you want is to just include the directory *containing* the class files. (i.e. &#8211; folder containing com/org/whatever).</p>
<p>Path location=foo will do that.</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malu Cadavid</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-7781</link>
		<dc:creator>Malu Cadavid</dc:creator>
		<pubDate>Fri, 26 Oct 2007 16:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-7781</guid>
		<description>sorry, same problem as Russell

project name=&quot;generateXmlData&quot; basedir=&quot;../../&quot;</description>
		<content:encoded><![CDATA[<p>sorry, same problem as Russell</p>
<p>project name=&#8221;generateXmlData&#8221; basedir=&#8221;../../&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malu Cadavid</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-7780</link>
		<dc:creator>Malu Cadavid</dc:creator>
		<pubDate>Fri, 26 Oct 2007 16:51:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-7780</guid>
		<description>You can also use the project tag of the basedir property to specify the path root:


Then the classpath properties can be defined relative to the basedir


Cheers

-Malu</description>
		<content:encoded><![CDATA[<p>You can also use the project tag of the basedir property to specify the path root:</p>
<p>Then the classpath properties can be defined relative to the basedir</p>
<p>Cheers</p>
<p>-Malu</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Russell</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-1328</link>
		<dc:creator>Scott Russell</dc:creator>
		<pubDate>Fri, 20 Apr 2007 18:08:29 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-1328</guid>
		<description>sorry, the classpath &amp; property tag examples didn&#039;t show in my previous post. 


...specifying a similar &quot;classpath&quot; to what...

i.e. [minus the angle brackets]
  property name=&quot;build.dir&quot; value=&quot;../bin&quot;</description>
		<content:encoded><![CDATA[<p>sorry, the classpath &amp; property tag examples didn&#8217;t show in my previous post. </p>
<p>&#8230;specifying a similar &#8220;classpath&#8221; to what&#8230;</p>
<p>i.e. [minus the angle brackets]<br />
  property name=&#8221;build.dir&#8221; value=&#8221;../bin&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott Russell</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-1327</link>
		<dc:creator>Scott Russell</dc:creator>
		<pubDate>Fri, 20 Apr 2007 18:05:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-1327</guid>
		<description>I&#039;m running under eclipse and was seeing the same ClassNotFound error. 

Simply specifying a  similar to what your build.xml shows above worked for me. So thanks. 

I was actually able to get it to work without having to build a separate jar. The key under eclipse is that ant is run from the src directory so each path var has to be relative to src. i.e. 

   

Hope this helps someone like Anthony&#039;s build.xml helped me. :-)</description>
		<content:encoded><![CDATA[<p>I&#8217;m running under eclipse and was seeing the same ClassNotFound error. </p>
<p>Simply specifying a  similar to what your build.xml shows above worked for me. So thanks. </p>
<p>I was actually able to get it to work without having to build a separate jar. The key under eclipse is that ant is run from the src directory so each path var has to be relative to src. i.e. </p>
<p>Hope this helps someone like Anthony&#8217;s build.xml helped me. <img src='http://blog.anthonychaves.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony Chaves</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-117</link>
		<dc:creator>Anthony Chaves</dc:creator>
		<pubDate>Thu, 22 Feb 2007 02:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-117</guid>
		<description>I&#039;m glad this solution worked for you Bert.  Thanks for visiting and commenting!</description>
		<content:encoded><![CDATA[<p>I&#8217;m glad this solution worked for you Bert.  Thanks for visiting and commenting!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bert Heymans</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-116</link>
		<dc:creator>Bert Heymans</dc:creator>
		<pubDate>Wed, 21 Feb 2007 14:30:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-116</guid>
		<description>Thanks for sharing your solution, it works! I went for launching ant as an entirely separate process in the end, no need to mess around with optional ant tasks and putting the ant-junit.jar file in the right place.</description>
		<content:encoded><![CDATA[<p>Thanks for sharing your solution, it works! I went for launching ant as an entirely separate process in the end, no need to mess around with optional ant tasks and putting the ant-junit.jar file in the right place.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stuart</title>
		<link>http://blog.anthonychaves.net/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant/comment-page-1/#comment-29</link>
		<dc:creator>Stuart</dc:creator>
		<pubDate>Tue, 19 Dec 2006 19:55:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.anthonychaves.net/java/2006/12/01/solution-for-classnotfoundexception-with-junit-and-ant#comment-29</guid>
		<description>The link to your build.xml file is bad.

Would really like to see it as I am having the same issues with my code.</description>
		<content:encoded><![CDATA[<p>The link to your build.xml file is bad.</p>
<p>Would really like to see it as I am having the same issues with my code.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
