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 20659] New: - wljspc stops processing at non-jsp files
Date Tue, 10 Jun 2003 20:10:26 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=20659>.
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=20659

wljspc stops processing at non-jsp files

           Summary: wljspc stops processing at non-jsp files
           Product: Ant
           Version: 1.5.3
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: lance@brainopolis.com


I am trying out wljspc and noticed that it stopped processing JSPs partway
through (the 29th file out of 103).  It finally occurred to me that the last
file processed comes right before an .html file.  Checking the code, in the
scanDir(String[] files) method I see (approximately line 312)
            int endingIndex = files[i].indexOf(".jsp");
            if (endingIndex == -1) {
                break;
            }
If the "break" were a "continue" it would skip the .html file and continue on to
the next .jsp file.

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


Mime
View raw message