I think I found a problem with the jakarta-tomcat-5.5.10-deployer
package. When I run the compile task I get the following error:
  BUILD FAILED
  C:\jakarta-tomcat-5.5.10-deployer\build.xml:49: Could not create task
or type of type: jasper2.

  Ant could not find the task or a class this task relies upon.

Is this a known bug? I did not find it in Bugzilla, but the search
interface is a bit strange to me.

I looked in the c:\jakarta-tomcat-5.5.10-deployer\lib\catalina-ant.jar
file and discovered that the catalina.tasks file is missing a definition
for the jasper2 task like is found in
c:\jakarta-tomcat-5.5.9-deployer\lib\catalina-ant.jar. Here are the
contents of the 5.5.10 catalina.tasks file:

# Pure catalina tasks
deploy=org.apache.catalina.ant.DeployTask
list=org.apache.catalina.ant.ListTask
reload=org.apache.catalina.ant.ReloadTask
sessions=org.apache.catalina.ant.SessionsTask
resources=org.apache.catalina.ant.ResourcesTask
roles=org.apache.catalina.ant.RolesTask
start=org.apache.catalina.ant.StartTask
stop=org.apache.catalina.ant.StopTask
undeploy=org.apache.catalina.ant.UndeployTask
validator=org.apache.catalina.ant.ValidatorTask
#Jk Task
jkstatus=org.apache.catalina.ant.JKStatusUpdateTask

# Manager JMX
jmxManagerSet=org.apache.catalina.ant.JMXSetTask
jmxManagerGet=org.apache.catalina.ant.JMXGetTask
jmxManagerQuery=org.apache.catalina.ant.JMXQueryTask

Here are the contents of the 5.5.9 catalina.tasks file:

# Pure catalina tasks
deploy=org.apache.catalina.ant.DeployTask
list=org.apache.catalina.ant.ListTask
reload=org.apache.catalina.ant.ReloadTask
resources=org.apache.catalina.ant.ResourcesTask
roles=org.apache.catalina.ant.RolesTask
start=org.apache.catalina.ant.StartTask
stop=org.apache.catalina.ant.StopTask
undeploy=org.apache.catalina.ant.UndeployTask
validator=org.apache.catalina.ant.ValidatorTask
jkstatus=org.apache.catalina.ant.JKStatusUpdateTask

# Jasper tasks
jasper2=org.apache.jasper.JspC

I added the "jasper2=org.apache.jasper.JspC" line and its seems to work
fine.

Thank you - Richard 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to