Bug 53031

Summary: Ant Jasper task should support Fork option
Product: Tomcat 6 Reporter: Nick Williams <nicholas>
Component: JasperAssignee: Tomcat Developers Mailing List <dev>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: 6.0.35   
Target Milestone: default   
Hardware: All   
OS: All   

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.