Bug 53031 - Ant Jasper task should support Fork option
Summary: Ant Jasper task should support Fork option
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Jasper (show other bugs)
Version: 6.0.35
Hardware: All All
: P2 enhancement (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-03 21:28 UTC by Nick Williams
Modified: 2017-07-04 20:55 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Williams 2012-04-03 21:28:48 UTC
As discussed in the "Ant Tasks Question" thread posted to the users list (http://mail-archives.apache.org/mod_mbox/tomcat-users/201203.mbox/%3C00c82ddd5a8b1fb9cb75b0c98b39598d%40mail.gmail.com%3E), JspC has a getFork() method that unconditionally returns false. The JspC Ant task does not support forking like other Ant tasks, such as java, javac, etc.

It is the opinion of at least myself and Chris Schultz that supporting forking should be expected of a nice player in the Ant ecosystem.

The Ant task for JSP compilation should be improved to support forking.
Comment 1 Nick Williams 2012-04-03 22:07:01 UTC
Relevant to 53011, 53012, 53031 and 53032: Per discussions with Chris Schultz in the users list, we agree that it would probably make more sense to separate the Ant task from the JspC class and place a new Ant task in the o.a.catalina.ant package (possibly o.a.catalina.ant.jasper?). Research about the state of the task needs to be completed. Further discussions about this will take place in the developer's list, and then these issues will be updated when a consensus is reached.
Comment 2 Mark Thomas 2017-07-04 20:52:31 UTC
Fixed in:
- trunk for 9.0.0.M24 onwards
- 8.5.x for 8.5.18 onwards
- 8.0.x for 8.0.46 onwards
- 7.0.x for 7.0.80 onwards
Comment 3 Mark Thomas 2017-07-04 20:55:09 UTC
Sorry for the noise. Testing if 6.0.x bugs are now read-only.