This file is designed for importing into a main build file, and not intended for standalone use. One or more of the JavaCC .jj files is newer than its corresponding .java file. Run the "javacc" target to regenerate the artifacts. This build requires Ivy and Ivy could not be found in your ant classpath. (Due to classpath issues and the recursive nature of the Lucene/Solr build system, a local copy of Ivy can not be used an loaded dynamically by the build.xml) You can either manually install a copy of Ivy ${ivy.bootstrap.version} in your ant classpath: http://ant.apache.org/manual/install.html#optionalTasks Or this build file can do it for you by running the Ivy Bootstrap target: ant ivy-bootstrap Either way you will only have to install Ivy one time. 'ant ivy-bootstrap' will install a copy of Ivy into your Ant User Library: ${user.home}/.ant/lib If you would prefer, you can have it installed into an alternative directory using the "-Divy_install_path=/some/path/you/choose" option, but you will have to specify this path every time you build Lucene/Solr in the future... ant ivy-bootstrap -Divy_install_path=/some/path/you/choose ... ant -lib /some/path/you/choose clean compile ... ant -lib /some/path/you/choose clean compile If you have already run ivy-bootstrap, and still get this message, please try using the "--noconfig" option when running ant, or editing your global ant config to allow the user lib to be loaded. See the wiki for more details: http://wiki.apache.org/lucene-java/HowToContribute#antivy Ivy is not available One or more of the JFlex .jflex files is newer than its corresponding .java file. Run the "jflex" target to regenerate the artifacts. ################################################################## JavaCC not found. JavaCC Home: ${javacc.home} Please download and install JavaCC 4.1 from: <http://javacc.dev.java.net> Then, create a build.properties file either in your home directory, or within the Lucene directory and set the javacc.home property to the path where JavaCC is installed. For example, if you installed JavaCC in /usr/local/java/javacc-4.1, then set the javacc.home property to: javacc.home=/usr/local/java/javacc-4.1 If you get an error like the one below, then you have not installed things correctly. Please check all your paths and try again. java.lang.NoClassDefFoundError: org.javacc.parser.Main ################################################################## ################################################################## JFlex not found. JFlex Home: ${jflex.home} Please install the jFlex 1.5 version (currently not released) from its SVN repository: svn co http://jflex.svn.sourceforge.net/svnroot/jflex/trunk jflex cd jflex mvn install Then, create a build.properties file either in your home directory, or within the Lucene directory and set the jflex.home property to the path where the JFlex trunk checkout is located (in the above example its the directory called "jflex"). ################################################################## Tests failed! Clover not found. Code coverage reports disabled. ################################################################## Clover not found. Please make sure clover.jar is in ANT_HOME/lib, or made available to Ant using other mechanisms like -lib or CLASSPATH. ################################################################## Invoking target stage-maven in ${output.build.xml} now... ${rat.output} ]]> Building checksums for '@{file}' Uploading artifacts to ${scp.user}@people.apache.org:${remote.staging.dir}