Hi,
       I am unable to install velocity template engine. I get the following 
error message when i do 'ant' in build dir

~~>ant
Buildfile: build.xml

basic-prepare:

build-prepare:

build-download:

avalon-logkit-download:

http-download:

do-http-download:
      [get] Getting: 
http://www.ibiblio.org/maven/avalon-logkit/jars/avalon-logkit-2.1.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/avalon-logkit-2.1.jar
      [get] Not modified - so not downloaded

commons-collections-download:

http-download:

do-http-download:
      [get] Getting: 
http://www.ibiblio.org/maven/commons-collections/jars/commons-collections-3.1.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/commons-collections-3.1.jar
      [get] Not modified - so not downloaded

commons-lang-download:

http-download:

do-http-download:
      [get] Getting: 
http://www.ibiblio.org/maven/commons-lang/jars/commons-lang-2.1.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/commons-lang-2.1.jar
      [get] Not modified - so not downloaded

commons-logging-download:

http-download:

do-http-download:
      [get] Getting: 
http://www.ibiblio.org/maven/commons-logging/jars/commons-logging-1.1.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/commons-logging-1.1.jar
      [get] Not modified - so not downloaded

jdom-download:

http-download:

do-http-download:
      [get] Getting: http://www.ibiblio.org/maven/jdom/jars/jdom-1.0.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/jdom-1.0.jar
      [get] Not modified - so not downloaded

log4j-download:

http-download:

do-http-download:
      [get] Getting: http://www.ibiblio.org/maven/log4j/jars/log4j-1.2.12.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/log4j-1.2.12.jar
      [get] Not modified - so not downloaded

oro-download:

http-download:

do-http-download:
      [get] Getting: http://www.ibiblio.org/maven/oro/jars/oro-2.0.8.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/oro-2.0.8.jar
      [get] Not modified - so not downloaded

servletapi-download:

http-download:

do-http-download:
      [get] Getting: 
http://www.ibiblio.org/maven/servletapi/jars/servletapi-2.3.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/servletapi-2.3.jar
      [get] Not modified - so not downloaded

werken-xpath-download:

http-download:

do-http-download:
      [get] Getting: 
http://www.ibiblio.org/maven/werken-xpath/jars/werken-xpath-0.9.4.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/lib/werken-xpath-0.9.4.jar
      [get] Not modified - so not downloaded

hsqldb-download:

http-test-download:

do-http-test-download:
      [get] Getting: http://www.ibiblio.org/maven/hsqldb/jars/hsqldb-1.7.1.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/test-lib/hsqldb-1.7.1.jar
      [get] Not modified - so not downloaded

junit-download:

http-test-download:

do-http-test-download:
      [get] Getting: http://www.ibiblio.org/maven/junit/jars/junit-3.8.1.jar
      [get] To: 
/home/tusr349/engine_20080227175931/velocity/engine/bin/test-lib/junit-3.8.1.jar
      [get] Not modified - so not downloaded

check-jdbc:

check-jdbc-true:

check-jdbc-false:

prepare-jdbc:

check-jdk14:

check-jdk14-true:

check-jdk14-false:

prepare-jdk14:

prepare:

compile-src:
    [javac] Compiling 68 source files to 
/home/tusr349/engine_20080227175931/velocity/engine/bin/classes
    [javac] 
/home/tusr349/engine_20080227175931/velocity/engine/bin/src/org/apache/velocity/runtime/log/HoldingLogChute.java:59:
 cannot resolve symbol
    [javac] symbol  : method valueOf (int)
    [javac] location: class java.lang.Integer
    [javac]             data[0] = Integer.valueOf(level);
    [javac]                              ^
    [javac] 
/home/tusr349/engine_20080227175931/velocity/engine/bin/src/org/apache/velocity/runtime/log/HoldingLogChute.java:77:
 cannot resolve symbol
    [javac] symbol  : method valueOf (int)
    [javac] location: class java.lang.Integer
    [javac]             data[0] = Integer.valueOf(level);
    [javac]                              ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 2 errors

BUILD FAILED
/home/tusr349/engine_20080227175931/velocity/engine/build/build.xml:259: 
Compile failed; see the compiler error output for details.

Kindly help me

Raghav

Reply via email to