ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 4758] New: - when jspc fails an empty java source file may be left behind
Date Fri, 09 Nov 2001 01:03:21 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4758>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4758

when jspc fails an empty java source file may be left behind

           Summary: when jspc fails an empty java source file may be left
                    behind
           Product: Ant
           Version: 1.5 alpha (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Other
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: steve_l@iseran.com


This is actually a feature of jasperc which merits filing as a defect there. 

when an jsp page which doesnt compile results in a failure, then jasperc seems 
to leave the file around. Because the <jspc> task uses file date dependency 
checking, then it wont try and recompile the file if the reason for failing 
(like a missing TLD is added in the right place) gets fixed. 

The jspc task should check for the file size being > zero as the cue for the 
jsp compilation not being required, rather than just existence

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message