portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roger...@apache.org
Subject svn commit: r357070 - /portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal/src/java/org/apache/jetspeed/deployment/impl/DeployDecoratorEventListener.java
Date Thu, 15 Dec 2005 20:01:03 GMT
Author: rogerrut
Date: Thu Dec 15 12:01:00 2005
New Revision: 357070

URL: http://svn.apache.org/viewcvs?rev=357070&view=rev
Log:
Submit decorator fix into branch:
Deployment of layout/decorators was broken since layouts were deployed into the old structure
including the Media Type.
Removed the media type from the deploy path fixed the layout deployment tool.

Modified:
    portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal/src/java/org/apache/jetspeed/deployment/impl/DeployDecoratorEventListener.java

Modified: portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal/src/java/org/apache/jetspeed/deployment/impl/DeployDecoratorEventListener.java
URL: http://svn.apache.org/viewcvs/portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal/src/java/org/apache/jetspeed/deployment/impl/DeployDecoratorEventListener.java?rev=357070&r1=357069&r2=357070&view=diff
==============================================================================
--- portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal/src/java/org/apache/jetspeed/deployment/impl/DeployDecoratorEventListener.java
(original)
+++ portals/jetspeed-2/branches/JETSPEED-BRANCH-2.0.1/components/portal/src/java/org/apache/jetspeed/deployment/impl/DeployDecoratorEventListener.java
Thu Dec 15 12:01:00 2005
@@ -305,8 +305,7 @@
         {
             layoutType = "generic";
         }
-        String mediaType = configuration.getString("media.type", "html");
-        return deployToDir + File.separator + layoutType + File.separator + mediaType;
+        return deployToDir + File.separator + layoutType ;
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message