build.xml的问题

savage429 07-07-30

不知道怎么回事,我的build.xml文件在eclipse里总是报错,比如里面有这样的代码:
<javac srcdir="${src}" destdir="${classes.dir}" deprecation="off" encoding="UTF-8" fork="true" memoryInitialSize="64m" memoryMaximumSize="128m">
<classpath refid="classpath"/>
</javac>
然后它报
Error-Attribute “memoryInitialSize”must be declared for element type “javac”
Error-Attribute “memoryMaximumSize”must be declared for element type “javac”
又或者<hibernate version="2.0" xmlencoding="GBK" />报Error-Element type “hibernate” must be declared

这是怎么回事啊 我用的是eclispe3.1.1带XMLBuddy插件