ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Hatton" <>
Subject RE: taskdef & log4j (precompiled jsp & jasper)
Date Wed, 13 Jul 2005 12:27:52 GMT
Do you simply need a <pathelement> that points to a directory where your
properties file is?
The <classpath> you have defined consists solely of jar files.

Hope this helps

-----Original Message-----
From: Prasad Iyer [] 
Sent: 13 July 2005 12:01
Subject: taskdef & log4j (precompiled jsp & jasper)

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


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message