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 12844] New: - wljspc scanDir(String files[]) breaks if a non "*.jsp" file is found (eg. a subdirectory)
Date Fri, 20 Sep 2002 08:57:33 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=12844>.
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=12844

wljspc scanDir(String files[]) breaks if a non "*.jsp" file is found (eg. a subdirectory)

           Summary: wljspc scanDir(String files[]) breaks if a non "*.jsp"
                    file is found (eg. a subdirectory)
           Product: Ant
           Version: 1.6Alpha (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Optional Tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: peter.hjulskov@cybercomconsulting.dk


I don't know if this is a bug or a feature, but....

The directory where I have my jsp files contains a subdirectory for my include 
files. The scanDir function in wljspc iterates through the filenames in the 
given directory until a "non jspfile" is found:

......
   int endingIndex = files[i].indexOf(".jsp");
   if (endingIndex == -1) {
   break;
          }
......
            
Because of this only the jspfiles found before my subdir is compiled.

There may be a reasonable explanation for this, but I really can't figure it 
out.


I hope that you could correct this (simple) error soon.


Thanks

Peter Hjulskov
Cyber Com Consulting A/S
Vesterbrogade 149
DK-1620 Copenhagen V
Denmark

peter.hjulskov@cybercomconsulting.dk

--
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