]> source.dussan.org Git - gwtquery.git/commitdiff
info logs
authorManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Tue, 26 Nov 2013 10:50:42 +0000 (11:50 +0100)
committerManuel Carrasco Moñino <manuel.carrasco.m@gmail.com>
Tue, 26 Nov 2013 10:50:42 +0000 (11:50 +0100)
gwtquery-core/src/main/java/com/google/gwt/query/rebind/JsniBundleGenerator.java

index 2f6ae1432d74658d4b4ff2e2d7dcee309eb56f9f..7d44411dab58b6aafc7f8c33598b8ec4eaa8eb36 100644 (file)
@@ -120,11 +120,13 @@ public class JsniBundleGenerator extends Generator {
     try {
       if (!src.matches("(?i)https?://.*")) {
         String file = path + File.separator + src;
+        logger.log(TreeLogger.INFO, getClass().getSimpleName() + " - importing external javascript: " + file);
         in = this.getClass().getClassLoader().getResourceAsStream(file);
         if (in == null) {
           logger.log(TreeLogger.ERROR, "Unable to read javascript file: " + file);
         }
       } else {
+        logger.log(TreeLogger.INFO, getClass().getSimpleName() + " - downloading external javascript: " + src);
         URL url = new URL(src);
         connection = (HttpURLConnection) url.openConnection();
         connection.setRequestProperty("Accept-Encoding", "gzip, deflate");