ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prasad Iyer <>
Subject taskdef & log4j (precompiled jsp & jasper)
Date Wed, 13 Jul 2005 11:00:56 GMT
Can I add the log4j configuration to the custom task

I have defined task for precompiling the jsp files
but it gives the error no appender found
I tried to put files in all the possible class folders 
but doesn't work.

  [jasper2] log4j:WARN No appenders could be found for logger 
  [jasper2] log4j:WARN Please initialize the log4j system properly.

my task is defined as follows

 <taskdef classname="org.apache.jasper.JspC" name="jasper2" > 
                      <classpath id="jspc.classpath"> 
                        <pathelement location=
                        <fileset dir="${tomcat.home}/bin"> 
                          <include name="*.jar"/> 
                        <fileset dir="${tomcat.home}/server/lib"> 
                          <include name="*.jar"/> 
                        <fileset dir="${tomcat.home}/common/lib"> 
                          <include name="*.jar"/> 

                             outputDir="${webapp.path}/WEB-INF/src" /> 

Prasad Chandrasekaran

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message