ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r511828 - /ant/core/trunk/docs/manual/OptionalTasks/jspc.html
Date Mon, 26 Feb 2007 14:47:27 GMT
Author: jhm
Date: Mon Feb 26 06:47:26 2007
New Revision: 511828

Some more words about not-using this task. More focus on its deprecation.


Modified: ant/core/trunk/docs/manual/OptionalTasks/jspc.html
--- ant/core/trunk/docs/manual/OptionalTasks/jspc.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/jspc.html Mon Feb 26 06:47:26 2007
@@ -24,7 +24,7 @@
-<h2><a name="jspc">jspc</a></h2>
+<h2><a name="jspc">jspc (deprecated)</a></h2>
 <p> Ant task to run the JSP compiler and turn JSP pages into Java source.
@@ -33,11 +33,17 @@
 compiler, you should seriously consider using the task shipping with
 Tomcat instead.  This task is only tested against Tomcat 4.x. There
 are known problems with Tomcat 5.x that won't get fixed in Ant, please
-use Tomcat's jspc task instead.</p>
+use Tomcat's jspc task instead.<br/>
+Instead of relying on container specific JSP-compilers we suggest deploying 
+the raw files (*.jsp) and use the container build-in functions: after deploying run
+a test suite (e.g. with <a href="">Cactus</a>
+<a href="">HttpUnit</a>) against the deployed
+application. So you'll get the test result <i>and</i> the compiled JSPs.
-It can be used to precompile JSP pages for fast initial invocation
+This task can be used to precompile JSP pages for fast initial invocation
 of JSP pages, deployment on a server without the full JDK installed,
 or simply to syntax check the pages without deploying them.
 In most cases, a javac task is usually the next stage in the build process.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message