You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2013/11/04 23:38:33 UTC
git commit: TAP5-2167: Asset location warnings are actually coded as
errors
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 <hl...@apache.org>
Authored: Mon Nov 4 14:38:26 2013 -0800
Committer: Howard M. Lewis Ship <hl...@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));
}