Author: markt Date: Wed Jan 23 19:25:16 2013 New Revision: 1437640 URL: http://svn.apache.org/viewvc?rev=1437640&view=rev Log: Improve the documentation for the compiler attribute in the Jasper how-to
Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml tomcat/tc7.0.x/trunk/webapps/docs/jasper-howto.xml Propchange: tomcat/tc7.0.x/trunk/ ------------------------------------------------------------------------------ Merged /tomcat/trunk:r1437637 Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1437640&r1=1437639&r2=1437640&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Jan 23 19:25:16 2013 @@ -112,6 +112,14 @@ </fix> </changelog> </subsection> + <subsection name="Web applications"> + <changelog> + <fix> + <bug>54461</bug>: Improve the documentation for the compiler attribute + in the Jasper how-to. (markt) + </fix> + </changelog> + </subsection> </section> <section name="Tomcat 7.0.35 (markt)" rtext="2013-01-16"> <subsection name="Catalina"> Modified: tomcat/tc7.0.x/trunk/webapps/docs/jasper-howto.xml URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/jasper-howto.xml?rev=1437640&r1=1437639&r2=1437640&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/webapps/docs/jasper-howto.xml (original) +++ tomcat/tc7.0.x/trunk/webapps/docs/jasper-howto.xml Wed Jan 23 19:25:16 2013 @@ -96,9 +96,14 @@ attribute is always set when Jasper is u classpath is created dynamically based on the current web application.</li> <li><strong>compiler</strong> - Which compiler Ant should use to compile JSP -pages. See the Ant documentation for more information. If the value is not set, -then the default Eclipse JDT Java compiler will be used instead of using Ant. -No default value.</li> +pages. The valid values for this are the same as for the compiler attribute of +Ant's +<a href="http://ant.apache.org/manual/Tasks/javac.html#compilervalues">javac</a> +task. If the value is not set, then the default Eclipse JDT Java compiler will +be used instead of using Ant. There is no default value. If this attribute is +set then <code>setenv.[sh|bat]</code> should be used to add +<code>ant.jar</code>, <code>ant-launcher.jar</code> and <code>tools.jar</code> +to the <code>CLASSPATH</code> environment variable.</li> <li><strong>compilerSourceVM</strong> - What JDK version are the source files compatible with? (Default value: <code>1.6</code>)</li> @@ -202,9 +207,8 @@ tens of JARs. On fast servers, this will for even large JSP pages.</p> <p>Apache Ant, which was used in previous Tomcat releases, can be used instead -of the new compiler by simply removing the <code>lib/ecj-*.jar</code> file, -and placing the <code>ant.jar</code> and <code>ant-launcher.jar</code> files -from the latest Ant distribution in the <code>lib</code> folder.</p> +of the new compiler by configuring the compiler attribute as explained above. +</p> </section> --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org