You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2003/06/10 22:10:26 UTC

DO NOT REPLY [Bug 20659] New: - wljspc stops processing at non-jsp files

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