You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by hl...@apache.org on 2009/01/24 00:20:38 UTC
svn commit: r737245 -
/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetDispatcher.java
Author: hlship
Date: Fri Jan 23 23:20:37 2009
New Revision: 737245
URL: http://svn.apache.org/viewvc?rev=737245&view=rev
Log:
TAP5-454: All classpath assets should automatically have a version number (the application version number) in the URL
Modified:
tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetDispatcher.java
Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetDispatcher.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetDispatcher.java?rev=737245&r1=737244&r2=737245&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetDispatcher.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/AssetDispatcher.java Fri Jan 23 23:20:37 2009
@@ -63,6 +63,7 @@
this.resourceCache = resourceCache;
this.contextAssetFactory = contextAssetFactory;
+ applicationAssetPrefix = RequestConstants.ASSET_PATH_PREFIX + RequestConstants.CONTEXT_FOLDER + applicationVersion + "/";
}
public boolean dispatch(Request request, Response response) throws IOException