tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 34361] - Using Manager ant tasks is messy
Date Fri, 08 Apr 2005 07:34:20 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34361>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34361





------- Additional Comments From daniel.santos@pobox.com  2005-04-08 09:34 -------
> PS: I have test it and currently a shorter classpath is enough :-)

hmm.  You might want to check your CLASSPATH, $ANT_HOME/lib and ANT_ARGS (for
-lib statments) maybe.  When I ran it, it needed classes for JspC.  Oh wait, I
may have run it against 5.0.28 however.  That would be awsome if that's all it
needed! :)

if that's the case in the nightly then we should be able to get away with:

<project name="Catalina Ant Tasks">
  <!-- set catalina.home if it's not already set -->
  <dirname property="catalina.home.bin.dir" file="${ant.file.imported}"/>
  <property name="catalina.home" value="${catalina.home.bin.dir}/.."/>
  <taskdef resource="org/apache/catalina/ant/catalina.tasks"
           classpath=${catalina.home}/server/lib/catalina-ant.jar"/>
</project>

Even if not, we can cause it to have a faster load by isolating the jars that it
really needs (catalina-ant.jar plus the ones for JspC).  I'll have to
experiement with this more after I have slept.

Thanks!
Daniel


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message