Only skip class files, otherwise it is not possible to re-run testcases in a browser
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 03 Feb 2015 12:30:20 +0100
changeset 1777f19e2fe0855a
parent 1775 983bec6098d2
child 1778 f0c5b36d9311
Only skip class files, otherwise it is not possible to re-run testcases in a browser
launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/BaseHTTPLauncher.java
     1.1 --- a/launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/BaseHTTPLauncher.java	Tue Feb 03 11:16:33 2015 +0100
     1.2 +++ b/launcher/fx/src/main/java/org/apidesign/bck2brwsr/launcher/BaseHTTPLauncher.java	Tue Feb 03 12:30:20 2015 +0100
     1.3 @@ -685,7 +685,7 @@
     1.4                      }
     1.5                      if (now.getProtocol().equals("jar")) {
     1.6                          JarURLConnection juc = (JarURLConnection) now.openConnection();
     1.7 -                        if (ignore.contains(juc.getJarFileURL())) {
     1.8 +                        if (now.getFile().endsWith(".class") && ignore.contains(juc.getJarFileURL())) {
     1.9                              continue;
    1.10                          }
    1.11                      }