tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject svn commit: r535416 - /tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml
Date Fri, 04 May 2007 23:58:00 GMT
Author: remm
Date: Fri May  4 16:57:58 2007
New Revision: 535416

URL: http://svn.apache.org/viewvc?view=rev&rev=535416
Log:
- Use the main xml file for tasks.
- Submitted by Daniel Santos.

Modified:
    tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml

Modified: tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml
URL: http://svn.apache.org/viewvc/tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml?view=diff&rev=535416&r1=535415&r2=535416
==============================================================================
--- tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml (original)
+++ tomcat/tc6.0.x/trunk/webapps/docs/jasper-howto.xml Fri May  4 16:57:58 2007
@@ -194,21 +194,11 @@
 <source>
 &lt;project name="Webapp Precompilation" default="all" basedir="."&gt; 
 
-  &lt;target name="jspc"&gt; 
+   &lt;import file="${tomcat.home}/bin/catalina-tasks.xml"/&gt;
+  
+   &lt;target name="jspc"&gt; 
 
-    &lt;taskdef classname="org.apache.jasper.JspC" name="jasper2" &gt; 
-      &lt;classpath id="jspc.classpath"&gt; 
-        &lt;pathelement location="${java.home}/../lib/tools.jar"/&gt; 
-        &lt;fileset dir="${tomcat.home}/bin"&gt; 
-          &lt;include name="*.jar"/&gt; 
-        &lt;/fileset&gt; 
-        &lt;fileset dir="${tomcat.home}/lib"&gt; 
-          &lt;include name="*.jar"/&gt; 
-        &lt;/fileset&gt; 
-      &lt;/classpath&gt; 
-    &lt;/taskdef&gt; 
-
-    &lt;jasper2 
+    &lt;jasper 
              validateXml="false" 
              uriroot="${webapp.path}" 
              webXmlFragment="${webapp.path}/WEB-INF/generated_web.xml" 



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


Mime
View raw message