hlship      2005/08/19 07:11:55

  Modified:    .        status.xml
               framework/src/java/org/apache/tapestry/asset
                        AssetService.java
               framework/src/descriptor/META-INF tapestry.asset.xml
                        tapestry.services.xml
               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        19 Aug 2005 14:11:53 -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 support for asset 
externalization</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 19 Aug 2005 14:11:54 -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 -13     
jakarta-tapestry/framework/src/descriptor/META-INF/tapestry.asset.xml
  
  Index: tapestry.asset.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tapestry/framework/src/descriptor/META-INF/tapestry.asset.xml,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- tapestry.asset.xml        27 Jul 2005 16:28:29 -0000      1.16
  +++ tapestry.asset.xml        19 Aug 2005 14:11:54 -0000      1.17
  @@ -131,19 +131,6 @@
       </invoke-factory>
     </service-point>  
     
  -  <service-point id="AssetExternalizer">
  -    
  -    Used by the AssetService to copy private assets out onto the file system 
within
  -    a web folder, so that static URLs to the assets may be generated.
  -    
  -    <invoke-factory>
  -      <construct class="AssetExternalizerImpl">
  -        <set-object property="propertySource" 
value="infrastructure:applicationPropertySource"/>
  -      </construct>
  -    </invoke-factory>
  -    
  -  </service-point>
  -  
     <contribution configuration-id="tapestry.Infrastructure">
       <property name="assetFactory" object="service:LookupAssetFactory"/>
     </contribution>
  
  
  
  1.24      +1 -2      
jakarta-tapestry/framework/src/descriptor/META-INF/tapestry.services.xml
  
  Index: tapestry.services.xml
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tapestry/framework/src/descriptor/META-INF/tapestry.services.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- tapestry.services.xml     18 Apr 2005 17:07:50 -0000      1.23
  +++ tapestry.services.xml     19 Aug 2005 14:11:54 -0000      1.24
  @@ -2,7 +2,7 @@
   <!-- 
      Copyright 2004, 2005 The Apache Software Foundation
   
  -   Licensed under the Apache License, Version 2.0 (the "License");
  +   Licensed under the Apache License, Versions 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
   
  @@ -73,7 +73,6 @@
       <invoke-factory>
         <construct class="org.apache.tapestry.asset.AssetService">
           <set-object property="exceptionReporter" 
value="infrastructure:requestExceptionReporter"/>
  -        <set-service property="assetExternalizer" 
service-id="tapestry.asset.AssetExternalizer"/>
           <set-object property="linkFactory" 
value="infrastructure:linkFactory"/>
           <set-service property="context" 
service-id="tapestry.globals.WebContext"/>
           <set-object property="response" 
value="service:tapestry.globals.WebResponse"/>
  
  
  
  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 19 Aug 2005 14:11:54 -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]

Reply via email to