You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by vk...@apache.org on 2008/10/10 16:49:21 UTC

svn commit: r703488 - /portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java

Author: vkumar
Date: Fri Oct 10 07:49:21 2008
New Revision: 703488

URL: http://svn.apache.org/viewvc?rev=703488&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/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java

Modified: portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java?rev=703488&r1=703487&r2=703488&view=diff
==============================================================================
--- portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java (original)
+++ portals/jetspeed-2/portal/trunk/components/jetspeed-portal/src/main/java/org/apache/jetspeed/deployment/impl/DeployPortletAppEventListener.java Fri Oct 10 07:49:21 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