Hi,

I have setup Apache and tomcat on debian3.0, now I would like to add 
jakarta-velocity on that.

But, everytime, I try to compile velocity with ant, I get the following 
error messages:

env:
    [echo] java.home = /usr/local/j2sdk1.4.1/jre
    [echo] user.home = /root
    [echo] java.class.path = 
/usr/local/ant/lib/xml-apis.jar:/usr/local/ant/lib/xercesImpl.
jar:/usr/local/ant/lib/optional.jar:/usr/local/ant/lib/ant.jar
::/usr/local/j2sdk1.4.1/lib:/usr/lib:/usr/local/j2sdk1.4.1/lib
/velocity-1.3.jar:/usr/local/j2sdk1.4.1/lib:/usr/lib:/usr/loca
l/j2sdk1.4.1/lib/tools.jar


prepare:

compile:
   [javac] Compiling 1 source file to /usr/src/velocity-1.3/bin/classes
   [javac] /usr/src/velocity-1.3/bin/src/org/apache/velocity/servlet/Velo
cityServlet.java:296: cannot resolve symbol
   [javac] symbol  : method getInitParameter (java.lang.String)
   [javac] location: interface javax.servlet.ServletContext
   [javac]             propsFile = config.getServletContext()
   [javac]                                                 ^
   [javac] 1 error

BUILD FAILED
file:/usr/src/velocity-1.3/build/build.xml:189: Compile failed; see the 
compiler error output for details.

Total time: 12 seconds

Since I could not compile 'tomcat-connetors' as well with 'ant', it may 
be 'ant' problem.  Is there any debian special process I should follow 
to setup ant?  Has any one on the list setup velocity under debian3.0?

Any pointers would be highly appreciated.

Damar   
 

Reply via email to