Re: [build]fail message

2006-10-26 Thread Yoav Shapira
Hi, On 10/24/06, Sean Qiu <[EMAIL PROTECTED]> wrote: I have also tried the "ant test". It seems that it is based unit test. I don't use "ant test" and have no time to delve into what it is. Use the tester version. I find there are only three testing classes and a few testcases. The teste

Re: [build]fail message

2006-10-24 Thread Sean Qiu
You are so nice. :) And i have tried "ant run-tester" I find it just call java to run the class.And it's Ok. I have also tried the "ant test". It seems that it is based unit test. But it fails and i then turn off the flag to make it run regardless of fail. I find there are only three testing c

Re: [build]fail message

2006-10-24 Thread Yoav Shapira
Hi, On 10/22/06, Sean Qiu <[EMAIL PROTECTED]> wrote: Required by my project, i have to put ecj*.jar in ${ant_home}/lib, i just rename it to avoid loading it. OK, but just so you know, that's a terrible requirement by your project that will cause you many headaches. You should really try to g

Re: [build]fail message

2006-10-23 Thread Sean Qiu
Thanks.I have adderssed the issue. Required by my project, i have to put ecj*.jar in ${ant_home}/lib, i just rename it to avoid loading it. But ant will load all the classes in lib regardless of the jar's name. So it conflicted with the jdt compiler. Is there any docs to indicate how to test th

Re: [build]fail message

2006-10-20 Thread Yoav Shapira
Hi, You shouldn't be invoking catalina/build.xml directly. The top-level build.xml, the one you want, is in build/build.xml. It will call catalina/build.xml and others (there are at least 5 build.xml files involved in a complete Tomcat build) as needed, setting up classpaths and such. If you wan

Re: [build]fail message

2006-10-19 Thread Sean Qiu
I find if run ant more than one time, it will represent "Build Success" sometimes but failed in fact. What is the classpath loading sequence? Ant do have download org.apache.jdt.* in /usr/share/java/eclipse/plugins, and in my ${eclipse_home}/plugins it contains higher version. And the build.xml sa

Re: [build]fail message

2006-10-19 Thread Sean Qiu
For the sake of my unstable network status, i could not download the required components at first. So i had to download them by hand and rename them as required.So it failed. I set a proxy and it works well. :) Thanks you all. Now i am confused by the catalina/build.xml Do I have to add the build

Re: [build]fail message

2006-10-19 Thread Remy Maucherat
Yoav Shapira wrote: You have the wrong version of the Eclipse JDT jar on your classpath. It may be a good idea to package rename JDT as well (evil grin). Rémy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional command

Re: [build]fail message

2006-10-19 Thread Yoav Shapira
Hi, You have the wrong version of the Eclipse JDT jar on your classpath. Don't put jars in $ANT_HOME/lib, $JRE_HOME/lib, or similar locations. (That's true for building nearly anything, not just Tomcat). The Tomcat build will download them and put them in its own lib directory for the build, as

[build]fail message

2006-10-19 Thread Sean Qiu
Hi, everybody. I am going to build Tomcat by myself by following the step from http://tomcat.apache.org/tomcat-5.5-doc/building.html. But unfortunately i failed as the message listed below. At first i think maybe i miss the ecj*.jar, but after putting the newest one in the $ANT_HOME/lib, it still