Bug 55252 - Separate Ant and command-line wrappers for JspC
Summary: Separate Ant and command-line wrappers for JspC
Status: RESOLVED LATER
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 8.0.x-trunk
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-12 04:38 UTC by Jeremy Boynes
Modified: 2020-01-16 20:26 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Boynes 2013-07-12 04:38:05 UTC
JspC is currently both an Ant task and a main() class that can be invoked from a command line. By refactoring into individual classes each can be integrated better with that mode of invocation. 

For example, the Ant version could accept filesets indicating which JSP files to compile allowing use of Ant's mechanisms for creating filesets (with exclusions). This could also be used to supply the content of the webapp's parent classloader as a <classpath> rather than as a simple String.

To do this I would propose keeping JspC as the name of the class for the command line version and adding a JspCTask for use with Ant as for Ant the actual class name is defined in catalina.tasks properties file.
Comment 1 Mark Thomas 2020-01-16 20:26:53 UTC
I've no objection to this proposal but neither do I particularly see the need.

No-one has stepped up to provide a patch in some time so resolving this as LATER. If this is an itch someone wants to scratch they are free to re-open this issue.