hlship 2005/08/23 09:33:45
Modified: . status.xml
framework/src/java/org/apache/tapestry/asset
AssetService.java
src/documentation/content/xdocs/UsersGuide configuration.xml
Removed: framework/src/java/org/apache/tapestry/asset
AssetExternalizerImpl.java AssetExternalizer.java
Log:
Remove support for asset externalization
Revision Changes Path
1.221 +1 -0 jakarta-tapestry/status.xml
Index: status.xml
===================================================================
RCS file: /home/cvs/jakarta-tapestry/status.xml,v
retrieving revision 1.220
retrieving revision 1.221
diff -u -r1.220 -r1.221
--- status.xml 19 Aug 2005 13:58:38 -0000 1.220
+++ status.xml 23 Aug 2005 16:33:45 -0000 1.221
@@ -68,6 +68,7 @@
<action type="fix" dev="HLS" fixes-bug="TAPESTRY-566">Annotations jar
on classpath breaks Tapestry if not running on JDK 1.5</action>
<action type="fix" dev="HLS" fixes-bug="TAPESTRY-563">NumberValidator
should allow a special case for rendering zero</action>
<action type="fix" dev="HLS" fixes-bug="TAPESTRY-395">Rename framework
javascript functions to avoid potential name collisions</action>
+ <action type="remove" dev="HLS">Remove the AssetExternalizer and
externalization logic, since the asset service is better and as
efficient</action>
</release>
<release version="4.0-beta-4" date="Aug 10 2005">
<action type="fix" dev="HLS">Add getComponent() method to
IComponent.</action>
1.20 +0 -15
jakarta-tapestry/framework/src/java/org/apache/tapestry/asset/AssetService.java
Index: AssetService.java
===================================================================
RCS file:
/home/cvs/jakarta-tapestry/framework/src/java/org/apache/tapestry/asset/AssetService.java,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- AssetService.java 16 Aug 2005 23:01:46 -0000 1.19
+++ AssetService.java 23 Aug 2005 16:33:45 -0000 1.20
@@ -34,7 +34,6 @@
import org.apache.tapestry.engine.IEngineService;
import org.apache.tapestry.engine.ILink;
import org.apache.tapestry.error.RequestExceptionReporter;
-import org.apache.tapestry.link.StaticLink;
import org.apache.tapestry.services.LinkFactory;
import org.apache.tapestry.services.ServiceConstants;
import org.apache.tapestry.util.ContentType;
@@ -63,9 +62,6 @@
private ClassResolver _classResolver;
/** @since 4.0 */
- private AssetExternalizer _assetExternalizer;
-
- /** @since 4.0 */
private LinkFactory _linkFactory;
/** @since 4.0 */
@@ -150,11 +146,6 @@
String path = (String) parameter;
- String externalURL = _assetExternalizer.getURL(path);
-
- if (externalURL != null)
- return new StaticLink(externalURL);
-
String digest = _digestSource.getDigestForResource(path);
Map parameters = new HashMap();
@@ -294,12 +285,6 @@
}
/** @since 4.0 */
- public void setAssetExternalizer(AssetExternalizer assetExternalizer)
- {
- _assetExternalizer = assetExternalizer;
- }
-
- /** @since 4.0 */
public void setLinkFactory(LinkFactory linkFactory)
{
_linkFactory = linkFactory;
1.17 +0 -22
jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/configuration.xml
Index: configuration.xml
===================================================================
RCS file:
/home/cvs/jakarta-tapestry/src/documentation/content/xdocs/UsersGuide/configuration.xml,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- configuration.xml 28 Jul 2005 19:12:09 -0000 1.16
+++ configuration.xml 23 Aug 2005 16:33:45 -0000 1.17
@@ -335,28 +335,6 @@
</tr>
<tr>
- <td>org.apache.tapestry.asset.dir, org.apache.tapestry.asset.URL</td>
-
- <td>
- These two values are used to handle private assets. Private assets are
assets
- that are stored on the classpath, and not normally visible to client
web browsers.
-
-
- <p>
- By specifying these two configuration values, Tapestry can export
private assets
- to a directory that is visible to the client web browser. The URL
- value should map to the directory specified by the dir value.
- </p>
-
- <note>
- Due to changes in Tapestry, these are no longer needed. Issues with
security and performance
- have been fixed in Tapestry 4.0, allowing private assets to be accessed
with zero configuration.
- </note>
- </td>
- </tr>
-
-
- <tr>
<td>org.apache.tapestry.component-class-packages</td>
<td>
A comma-seperated list of package names, used when
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]