ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp WLJspc.java
Date Wed, 25 Sep 2002 14:25:25 GMT
bodewig     2002/09/25 07:25:25

  Modified:    src/main/org/apache/tools/ant/taskdefs/optional/jsp
                        WLJspc.java
  Log:
  Go on if a non-JSP has been found in <wljspc>.
  
  PR: 12844
  
  Revision  Changes    Path
  1.13      +3 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java
  
  Index: WLJspc.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/jsp/WLJspc.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- WLJspc.java	25 Jul 2002 15:21:16 -0000	1.12
  +++ WLJspc.java	25 Sep 2002 14:25:25 -0000	1.13
  @@ -305,7 +305,9 @@
                   = 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);
  
  
  

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