David.Turing's blog

 

When ant build Spring 2.5.5 on Eclipse 3.4, We meet Ant compile rmic error - The task doesn't support the "base" attribute

Relate problem could be found at http://forums.bea.com/thread.jspa?threadID=200011896
When we build Spring 2.5.5 at Eclipse Platform(WebLogic Workshop), I meet the same question.
It is becasue Workshop use Ant 1.6.5

Please select Windows=>Preferences=>Runtime
On Classpath tab, select Ant Home Entries
Add External JARs as below:
D:\spring_work\spring-framework-2.5.5\lib\ant\
 ant-junit.jar
 ant-launcher.jar
 ant-trax.jar
 ant.jar
and UP THESE JARS BEFORE THE Original ant runtime jars.

It means you are using Ant-Version: Apache Ant 1.7.0 instead of Ant 1.6.5.

Now <rmic> task support the "base" attribute.

posted on 2008-07-07 16:28 david.turing 阅读(1140) 评论(0)  编辑  收藏 所属分类: ★Spring TroubleShooting★WebLogic TroubleShooting


博问 - 解决您的IT难题
博客园  博问  IT新闻  Java程序员招聘
标题  
姓名  
主页
验证码 *  
内容(请不要发表任何与政治相关的内容)  
  登录      


网站导航:
 

导航

统计

公告


常用链接

留言簿(102)

我参与的团队

随笔分类(124)

随笔档案(154)

文章分类(9)

文章档案(19)

相册

搜索

积分与排名

最新随笔

最新评论

阅读排行榜

评论排行榜