tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hls...@apache.org
Subject git commit: TAP5-2167: Asset location warnings are actually coded as errors
Date Mon, 04 Nov 2013 22:38:33 GMT
Updated Branches:
  refs/heads/master 83847d005 -> ed82f71a8


TAP5-2167: Asset location warnings are actually coded as errors


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/ed82f71a
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/ed82f71a
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/ed82f71a

Branch: refs/heads/master
Commit: ed82f71a824cba0fc280c619351fbcc383e341c4
Parents: 83847d0
Author: Howard M. Lewis Ship <hlship@apache.org>
Authored: Mon Nov 4 14:38:26 2013 -0800
Committer: Howard M. Lewis Ship <hlship@apache.org>
Committed: Mon Nov 4 14:38:26 2013 -0800

----------------------------------------------------------------------
 .../org/apache/tapestry5/internal/services/AssetSourceImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/ed82f71a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetSourceImpl.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetSourceImpl.java
b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetSourceImpl.java
index 9bcc065..239461b 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetSourceImpl.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetSourceImpl.java
@@ -186,12 +186,12 @@ public class AssetSourceImpl extends LockSupport implements AssetSource
 
                             if (metaResource.getFolder().startsWith(metaRoot))
                             {
-                                logger.error(String.format("Classpath asset '/%s' should
be moved to folder '/%s/'.",
+                                logger.warn(String.format("Classpath asset '/%s' should be
moved to folder '/%s/'.",
                                         resultResource.getPath(),
                                         metaResource.getFolder()));
                             } else
                             {
-                                logger.error(String.format("Classpath asset '/%s' should
be moved under folder '/%s', and the relative path adjusted.",
+                                logger.warn(String.format("Classpath asset '/%s' should be
moved under folder '/%s', and the relative path adjusted.",
                                         resultResource.getPath(),
                                         metaRoot));
                             }


Mime
View raw message