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="1.6" target="1.6"</code>. For live
-applications you can also compile with <code>optimize="on"</code> and
-without debug info <code>debug="off"</code>.
+applications you can also disable debug info with
<code>debug="off"</code>.
</p>
<p>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]