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 阅读(2202) 评论(0)  编辑  收藏 所属分类: ★Spring TroubleShooting★WebLogic TroubleShooting


只有注册用户登录后才能发表评论。


网站导航:
 

导航

统计

常用链接

留言簿(107)

我参与的团队

随笔分类(126)

随笔档案(155)

文章分类(9)

文章档案(19)

相册

搜索

积分与排名

最新随笔

最新评论

阅读排行榜

评论排行榜