https://issues.apache.org/bugzilla/show_bug.cgi?id=53011
Bug #: 53011
Summary: Ant Jasper task fails after one error
Product: Tomcat 6
Version: 6.0.35
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Jasper
AssignedTo: [email protected]
ReportedBy: [email protected]
Classification: Unclassified
The Ant task for Jasper JSP compiling (JspC) will fail (if failOnError = true)
after a single error, without looking for other errors.
This can be very challenging for large projects. For example, we have 2,487
JSPs that need compiling. If some part of the Java code is changed that breaks
hundreds of JSPs (which, admittedly, means a developer didn't do his job
correctly, but still), the continuous integration build for our project fails
(as it should), but the log only shows one of the errors.
The Ant task should have a new property, "failAfterAllErrors," that makes it
log all compile failures as errors but continue compiling until every JSP
compilation has been attempted.
This is similar to how the javac Ant task works. It logs ALL of the compile
errors, and only after having tried to compile everything, it fails the build.
Thoughts?
I am interested in possibly contributing code for this feature. I will email
the developers' list later about it.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]