costin      01/06/09 14:16:17

  Modified:    jasper34 build.xml
  Log:
  Small fix, the "hook" target will do a quick replace ( no more editing )
  
  If you want to run with jasper34, just run "ant hook"
  
  Revision  Changes    Path
  1.7       +5 -3      jakarta-tomcat-jasper/jasper34/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat-jasper/jasper34/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml 2001/06/08 06:10:17     1.6
  +++ build.xml 2001/06/09 21:16:16     1.7
  @@ -154,11 +154,13 @@
          todir="${tomcat.home}/lib/container" />
       <copy file="${build.dir}/jasper34_runtime.jar" 
          todir="${tomcat.home}/lib/common" />
  +  </target>
   
  +  <target name="hook" description="Replace the old jasper with the new one" >
       <!-- Easiest way to plug the new module -->
  -    <replace file="${tomcat.home}/conf/modules.xml" 
  -          token="org.apache.tomcat.facade.JspInterceptor" 
  -          value="org.apache.jasper34.tomcat33.JspInterceptor"
  +    <replace file="${tomcat.home}/conf/server.xml" 
  +          token="JspInterceptor" 
  +          value="JspInterceptor34"
             />
     </target>
   
  
  
  

Reply via email to