hi. i had the same problems as bwolen. i am using: jdk: 1.5.0_07 ant: 1.7.0 os: mac os x 10.4.10 hadoop: 0.13.1
i used the same fix as bwolen (removed lib/jetty-ext/ant.jar), and other than some warnings, i got a "BUILD SUCCESSFUL". fyi. jeff Bwolen Yang wrote: > > On 6/15/07, Doug Cutting <[EMAIL PROTECTED]> wrote: >> Bwolen Yang wrote: >> >> >> >> During unit test, I get >> >> [junit] Exception in thread "main" java.lang.NoSuchMethodError: >> >> org.apache.tools.ant.util.FileUtils.close(Ljava/io/OutputStream;)V >> >> I've never seen this. What JDK? What OS? What version of Hadoop? > > after removing lib/jetty-ext/ant.jar, these warnings disappear (and > the BUILD is successful). > > I am using ant version 1.7.0, sun jdk1.6.0_01, and head of Hadoop > source tree (as of 6/14). > > As for OS, > Linux 2.6.18-8.1.1.el5 #1, SMP, x86_64 > > >> > removing >> > hadoop-trunk/lib/jetty-ext/ant.jar >> > seems to have fixed this error. I am not even sure how the above got >> > used since it doesn't appear in the classpath when I run "ant -v". >> > >> > Out of curiosity, why is there a special ant.jar? >> >> It appears to be required by Jetty. > > which version of ant are you guys using? also which version of > ant.jar is jetty-ext/ant.jar. > I can try to downgrade to the "ant" version that is the same. > > bwolen > > -- View this message in context: http://www.nabble.com/questions-ant-for-building-a-patch-tf3925787.html#a11918735 Sent from the Hadoop Dev mailing list archive at Nabble.com.
