Browse Source

Go on if a non-JSP has been found in <wljspc>.

PR: 12844


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@273353 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 23 years ago
parent
commit
aea068074e
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java

+ 3
- 1
src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java View File

@@ -305,7 +305,9 @@ public class WLJspc extends MatchingTask {
= files[i].lastIndexOf(File.separator) != -1 ? files[i].lastIndexOf(File.separator) + 1 : 0;
int endingIndex = files[i].indexOf(".jsp");
if (endingIndex == -1) {
break;
log("Skipping " + files[i] + ". Not a JSP",
Project.MSG_VERBOSE);
continue;
}
filePath += files[i].substring(startingIndex, endingIndex);


Loading…
Cancel
Save