portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vku...@apache.org
Subject svn commit: r703489 - /portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java
Date Fri, 10 Oct 2008 14:49:33 GMT
Author: vkumar
Date: Fri Oct 10 07:49:32 2008
New Revision: 703489

URL: http://svn.apache.org/viewvc?rev=703489&view=rev
Log:
Fixing JIRA Issue https://issues.apache.org/jira/browse/JS2-734

Drop jetspeed- prefix support for local PA deployment

Modified:
    portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java

Modified: portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java?rev=703489&r1=703488&r2=703489&view=diff
==============================================================================
--- portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java
(original)
+++ portals/jetspeed-2/portal/branches/JS2-871-pluto-2.0-upgrade/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java
Fri Oct 10 07:49:32 2008
@@ -198,9 +198,7 @@
         String fileName = event.getName();
         if (fileName.endsWith(".war"))
         {
-            if ((localAppStagingDir != null && getEventParentPath(event).equals(localAppStagingDir))
-                    || (fileName.length() > localPAPrefixLength && fileName.substring(0,
localPAPrefixLength)
-                            .equalsIgnoreCase(PortletApplicationManagement.LOCAL_PA_PREFIX)))
+            if (localAppStagingDir != null && getEventParentPath(event).equals(localAppStagingDir))
             {
                 deployLocalPortletApplication(event);
             }



---------------------------------------------------------------------
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