ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
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

URL: http://svn.apache.org/viewvc?view=rev&rev=511828
Log:
Some more words about not-using this task. More focus on its deprecation.

Modified:
    ant/core/trunk/docs/manual/OptionalTasks/jspc.html

Modified: ant/core/trunk/docs/manual/OptionalTasks/jspc.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/jspc.html?view=diff&rev=511828&r1=511827&r2=511828
==============================================================================
--- 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 @@
 
 <body>
 
-<h2><a name="jspc">jspc</a></h2>
+<h2><a name="jspc">jspc (deprecated)</a></h2>
 <h3>Description</h3>
 
 <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="http://jakarta.apache.org/cactus/">Cactus</a>
or 
+<a href="http://httpunit.sourceforge.net/">HttpUnit</a>) against the deployed
web 
+application. So you'll get the test result <i>and</i> the compiled JSPs.
+</p>
 
 <p>
 
-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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message