[jboss-cvs] jboss-portal/portlet/src/main/org/jboss/portal/portlet/deployment/jboss ...
Julien Viet
julien at jboss.com
Mon Aug 21 19:20:52 EDT 2006
User: julien
Date: 06/08/21 19:20:52
Modified: portlet/src/main/org/jboss/portal/portlet/deployment/jboss
PortletAppDeployment.java
Log:
remove usage of contextPath information coming from the PortalWebApp and instead use information provided by the servlet container at runtime
Revision Changes Path
1.64 +1 -2 jboss-portal/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PortletAppDeployment.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/portlet/deployment/jboss/PortletAppDeployment.java,v
retrieving revision 1.63
retrieving revision 1.64
diff -u -b -r1.63 -r1.64
--- PortletAppDeployment.java 21 Aug 2006 14:31:06 -0000 1.63
+++ PortletAppDeployment.java 21 Aug 2006 23:20:52 -0000 1.64
@@ -70,7 +70,7 @@
/**
* @author <a href="mailto:julien at jboss.org">Julien Viet</a>
- * @version $Revision: 1.63 $
+ * @version $Revision: 1.64 $
*/
public class PortletAppDeployment extends Deployment
{
@@ -181,7 +181,6 @@
webAppParamsCMD.add(new AbstractParameterMetaData(portletAppMD));
webAppParamsCMD.add(new AbstractParameterMetaData(JBossApplicationMetaData.class.getName(), jbossAppMD));
webAppParamsCMD.add(new AbstractParameterMetaData(ServletContext.class.getName(), pwa.getServletContext()));
- webAppParamsCMD.add(new AbstractParameterMetaData(String.class.getName(), pwa.getContextPath()));
webAppParamsCMD.add(new AbstractParameterMetaData(ClassLoader.class.getName(), pwa.getClassLoader()));
webAppCMD.setParameters(webAppParamsCMD);
webAppBMD.setConstructor(webAppCMD);
More information about the jboss-cvs-commits
mailing list