Running ant -verbose still doesn't allow me to run an example configuration. I 
get the same error from "ant example" after getting the following from "ant 
-verbose":

Apache Ant version 1.7.0 compiled on August 29 2007
Buildfile: build.xml
Detected Java version: 1.6 in: /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/jre
Detected OS: Linux
parsing buildfile /home/stagger2/Solr/apache-solr-1.3.0/build.xml with URI = 
file:/home/stagger2/Solr/apache-solr-1.3.0/build.xml
Project base dir set to: /home/stagger2/Solr/apache-solr-1.3.0
[antlib:org.apache.tools.ant] Could not load definitions from resource 
org/apache/tools/ant/antlib.xml. It could not be found.
Importing file /home/stagger2/Solr/apache-solr-1.3.0/common-build.xml from 
/home/stagger2/Solr/apache-solr-1.3.0/build.xml
parsing buildfile /home/stagger2/Solr/apache-solr-1.3.0/common-build.xml with 
URI = file:/home/stagger2/Solr/apache-solr-1.3.0/common-build.xml
 [property] Loading /home/stagger2/Solr/apache-solr-1.3.0/build.properties
 [property] Unable to find property file: 
/home/stagger2/Solr/apache-solr-1.3.0/build.properties
Override ignored for property "DSTAMP"
Override ignored for property "TSTAMP"
[available] Unable to load class org.apache.maven.artifact.ant.Pom to set 
property maven.ant.tasks.present
[available] Unable to load class com.cenqua.clover.tasks.CloverReportTask to 
set property clover.present
 [macrodef] creating macro  solr-javac
 [macrodef] creating macro  solr-jar
 [macrodef] creating macro  solr-checksum
 [macrodef] creating macro  contrib-crawl
 [macrodef] creating macro  invoke-javadoc
Property "pom.xml" has not been set
Property "jar.file" has not been set
 [macrodef] creating macro  m2-deploy
[available] Unable to load class com.cenqua.clover.tasks.CloverReportTask to 
set property clover.present
Build sequence for target(s) `usage' is [usage]
Complete build sequence is [usage, common.make-manifest, init-forrest-entities, 
compile-common, compile, compile-solrj-core, compile-solrj, compileTests, 
junit, test-core, build-contrib, test-contrib, test, make-manifest, dist-jar, 
dist-solrj, dist-contrib, dist-war, dist, example, javadoc-core, 
javadoc-common, javadoc-contrib, javadoc-solrj, javadoc-all, javadoc, dist-src, 
dist-javadoc, create-package, nightly, clover.setup, common.dist-contrib, 
clean-contrib, clean, svn-up, build-site, maven.ant.tasks-check, 
generate-maven-artifacts, package, prepare-release, clean-dest, 
common.test-contrib, -taskdef, stub-factories, rat-sources, test-reports, 
clover.info, clover.check, clover, generate-clover-reports, 
common.maven.ant.tasks-check, common.build-contrib, common.clean-contrib, ]

usage:
     [echo] Welcome to the Solr project!
     [echo] Use 'ant example' to create a runnable example configuration.
     [echo] And for developers:
     [echo] Use 'ant clean' to clean compiled files.
     [echo] Use 'ant compile' to compile the source code.
     [echo] Use 'ant dist' to build the project WAR and JAR files.
     [echo] Use 'ant generate-maven-artifacts' to generate maven artifacts.
     [echo] Use 'ant package' to generate zip, tgz, and maven artifacts for 
distribution.
     [echo] Use 'ant test' to run unit tests.

BUILD SUCCESSFUL
Total time: 1 second


-----Original Message-----
From: Michael Ludwig [mailto:m...@as-guides.com] 
Sent: Thursday, June 11, 2009 6:05 AM
To: solr-user@lucene.apache.org
Subject: Re: Build Failed

Mukerjee, Neiloy (Neil) schrieb:
> When running "ant example" to do an example configuration, I get the
> following message:
>
> BUILD FAILED

> /home/stagger2/Solr/apache-solr-1.3.0/common-build.xml:149: Compile
> failed; see the compiler error output for details.
>
> I've tried reading through the files in question, but I can't seem to
> find the issue. Any suggestions?

Run: ant -verbose

Michael Ludwig

Reply via email to