Browse Source

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

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@511828 13f79535-47bb-0310-9956-ffa450edef68
master
Jan Materne 18 years ago
parent
commit
b1a83d53e5
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      docs/manual/OptionalTasks/jspc.html

+ 9
- 3
docs/manual/OptionalTasks/jspc.html View File

@@ -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.


Loading…
Cancel
Save