﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-&lt;center&gt;&lt;font color='red' size="5"&gt;&lt;a href="http://www.an9.com"&gt;an9选宝网 新一代招聘网 &lt;/font&gt;&lt;/a&gt;&lt;/center&gt; -文章分类-FRAMEWORK</title><link>http://www.blogjava.net/andy199999/category/10901.html</link><description>&lt;span style="display:none"&gt;-----------------MSN:andy1999999@163.com&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-----------------QQ:106256951
&lt;/span&gt;
&lt;bgsound src="http://club.whinfo.net.cn/bbs/upfile/2005-7/mp3/20057101738283.mp3" loop="-1"&gt;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-----------------人为善,福虽未至祸已远离; 人为恶,祸虽未至福已远离
</description><language>zh-cn</language><lastBuildDate>Fri, 16 Apr 2010 14:55:49 GMT</lastBuildDate><pubDate>Fri, 16 Apr 2010 14:55:49 GMT</pubDate><ttl>60</ttl><item><title>Ant - junit, build failed= Could not create task or type of type junit </title><link>http://www.blogjava.net/andy199999/articles/77398.html</link><dc:creator>&lt;a href="http://www.an9.com" target=_blank&gt;选宝网an9&lt;/a&gt;</dc:creator><author>&lt;a href="http://www.an9.com" target=_blank&gt;选宝网an9&lt;/a&gt;</author><pubDate>Thu, 26 Oct 2006 06:23:00 GMT</pubDate><guid>http://www.blogjava.net/andy199999/articles/77398.html</guid><wfw:comment>http://www.blogjava.net/andy199999/comments/77398.html</wfw:comment><comments>http://www.blogjava.net/andy199999/articles/77398.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.blogjava.net/andy199999/comments/commentRss/77398.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/andy199999/services/trackbacks/77398.html</trackback:ping><description><![CDATA[
		<p>When running JUnit tasks in ant and you get the following error:</p>
		<div class="code">
				<div class="codeContent">
						<pre class="code-java">BUILD FAILED
path\to\Geoserver\build.xml:259: Could not create task or type of type: junit.
Ant could not find the task or a class <span class="code-keyword">this</span> task relies upon.</pre>
				</div>
		</div>
		<p>To fix this problem, you need to copy a JUnit.jar file to your eclipse/plugins/org.apache.ant/lib directory<br />Next you need to go into Eclipse then click on Window-&gt;Preferences-&gt;ant-&gt;Runtime, then select 'Ant Home Entries (Default). Click on the button 'Add External JARs'. Locate the junit.jar file you copied, select it and hit 'OK'. Hit 'Apply', then 'OK' and try your ant task again. That should fix it.</p>
		<!--
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:dc="http://purl.org/dc/elements/1.1/"
         xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
<rdf:Description
    rdf:about="http://docs.codehaus.org/display/GEOSDOC/Ant+-+junit%2C+build+failed%3D+Could+not+create+task+or+type+of+type+junit"
    dc:identifier="http://docs.codehaus.org/display/GEOSDOC/Ant+-+junit%2C+build+failed%3D+Could+not+create+task+or+type+of+type+junit"
    dc:title="Ant - junit, build failed= Could not create task or type of type junit"
    trackback:ping="http://docs.codehaus.org/rpc/trackback/37859"/>
</rdf:RDF>
-->
		<!--
    Root decorator: all decisions about how a page is to be decorated via the
                    inline decoration begins here.
-->
		<!--
    Switch based upon the context. However, for now, just delegate to a decorator
    identified directly by the context.
-->
<img src ="http://www.blogjava.net/andy199999/aggbug/77398.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/andy199999/" target="_blank"><a href="http://www.an9.com" target=_blank>选宝网an9</a></a> 2006-10-26 14:23 <a href="http://www.blogjava.net/andy199999/articles/77398.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>