Did you do "ant resolve" from top-level? It should place all needed jars in the lib folders.
----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen <http://www.thetaphi.de/> http://www.thetaphi.de eMail: [email protected] From: [email protected] [mailto:[email protected]] On Behalf Of Itamar Syn-Hershko Sent: Monday, August 20, 2012 7:21 PM To: [email protected] Subject: Re: Compilation issues Makes sense, thanks Done that, and now it complains about carrotsearch.randomizedtesting not being found Also some other stuff like SystemPropertiesRestoreRule, TestMethodProvider, ThreadFilter, LifecycleScope etc Any idea what could be broken? On Mon, Aug 20, 2012 at 7:40 PM, Uwe Schindler <[email protected]> wrote: ForbiddenApisCheckTask is only compiled using IVY from the command line for use inside build.xml. As those are only build tools, they are *not* nedded for the main Lucene and not needed to compile Lucene itsself. The resulting classes are never packaged anywhere, they are just for assisting build.xml in doing something internal. So remove the lucene/tools/src folder completely from your IDE config, its not needed to build Lucene at all. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de <http://www.thetaphi.de/> eMail: [email protected] From: [email protected] [mailto:[email protected]] On Behalf Of Itamar Syn-Hershko Sent: Monday, August 20, 2012 5:28 PM To: [email protected] Subject: Compilation issues Hi there, I checked out trunk, but can't get it to compile. I'm getting package / import errors in the following files: \lucene\tools\src\java\org\apache\lucene\validation\ForbiddenApisCheckTask.j ava \lucene\test-framework\src\java\org\apache\lucene\codecs\asserting\Asserting Codec.java \lucene\test-framework\src\java\org\apache\lucene\codecs\asserting\Asserting PostingsFormat.java \lucene\test-framework\src\java\org\apache\lucene\codecs\asserting\Asserting TermVectorsFormat.java Only a few of those errors in ForbiddenApisCheckTask went away when I added a classpath config for org.objectweb.asm.* , but still import org.objectweb.asm.commons.Method; can't be found. What am I missing? Thanks
