Author: ebourg
Date: Wed Apr  4 22:34:00 2018
New Revision: 1828387

URL: http://svn.apache.org/viewvc?rev=1828387&view=rev
Log:
Removed the deprecated 'optimize' option in the JSP compilation examples

Modified:
    tomcat/trunk/res/deployer/build.xml
    tomcat/trunk/webapps/docs/jasper-howto.xml

Modified: tomcat/trunk/res/deployer/build.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/res/deployer/build.xml?rev=1828387&r1=1828386&r2=1828387&view=diff
==============================================================================
--- tomcat/trunk/res/deployer/build.xml (original)
+++ tomcat/trunk/res/deployer/build.xml Wed Apr  4 22:34:00 2018
@@ -67,7 +67,6 @@
     <mkdir dir="${webapp.path}/WEB-INF/lib"/>
 
     <javac destdir="${webapp.path}/WEB-INF/classes"
-           optimize="off"
            debug="${compile.debug}"
            deprecation="${compile.deprecation}"
            failonerror="false"

Modified: tomcat/trunk/webapps/docs/jasper-howto.xml
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/jasper-howto.xml?rev=1828387&r1=1828386&r2=1828387&view=diff
==============================================================================
--- tomcat/trunk/webapps/docs/jasper-howto.xml (original)
+++ tomcat/trunk/webapps/docs/jasper-howto.xml Wed Apr  4 22:34:00 2018
@@ -307,7 +307,6 @@ download) to precompile a webapp:
     <mkdir dir="${webapp.path}/WEB-INF/lib"/>
 
     <javac destdir="${webapp.path}/WEB-INF/classes"
-           optimize="off"
            debug="on" failonerror="false"
            srcdir="${webapp.path}/WEB-INF/src"
            excludes="**/*.smap">
@@ -370,8 +369,7 @@ with the current web application deploym
 <code>${webapp.path}/WEB-INF/web.xml</code>. When you want to use Java 6
 features inside your jsp's, add the following javac compiler task attributes:
 <code>source=&quot;1.6&quot; target=&quot;1.6&quot;</code>. For live
-applications you can also compile with <code>optimize=&quot;on&quot;</code> and
-without debug info <code>debug=&quot;off&quot;</code>.
+applications you can also disable debug info with 
<code>debug=&quot;off&quot;</code>.
 </p>
 
 <p>



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

Reply via email to