You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by dd...@apache.org on 2005/03/08 18:10:53 UTC

svn commit: r156548 - portals/pluto/trunk/portal/src/java/org/apache/pluto/portalImpl/Deploy.java

Author: ddewolf
Date: Tue Mar  8 09:10:52 2005
New Revision: 156548

URL: http://svn.apache.org/viewcvs?view=rev&rev=156548
Log:
Deprecating old deployer.

Modified:
    portals/pluto/trunk/portal/src/java/org/apache/pluto/portalImpl/Deploy.java

Modified: portals/pluto/trunk/portal/src/java/org/apache/pluto/portalImpl/Deploy.java
URL: http://svn.apache.org/viewcvs/portals/pluto/trunk/portal/src/java/org/apache/pluto/portalImpl/Deploy.java?view=diff&r1=156547&r2=156548
==============================================================================
--- portals/pluto/trunk/portal/src/java/org/apache/pluto/portalImpl/Deploy.java (original)
+++ portals/pluto/trunk/portal/src/java/org/apache/pluto/portalImpl/Deploy.java Tue Mar  8 09:10:52 2005
@@ -64,6 +64,9 @@
 import org.exolab.castor.xml.Marshaller;
 import org.exolab.castor.xml.Unmarshaller;
 
+/**
+ * @deprecated use {@see org.apache.pluto.driver.deploy.CLI}
+ */
 public class Deploy {
 
     private static boolean debug = false;
@@ -357,11 +360,6 @@
                 SecurityRoleRefSet portletSecurityRoleRefs =
                     portlet.getInitSecurityRoleRefSet();
 
-                // TODO - Do we need this call? The variable is never read
-                SecurityRoleRefSetCtrl portletSecurityRoleRefSetCtrl =
-                    (SecurityRoleRefSetCtrl) controllerFactory.get(
-                        portletSecurityRoleRefs);
-
                 Iterator p = portletSecurityRoleRefs.iterator();
 
                 while (p.hasNext()) {
@@ -397,11 +395,6 @@
                 }
 
             }
-
-            //TagDefinitionImpl portletTagLib = new TagDefinitionImpl();
-            Collection taglibs = webApp.getCastorTagDefinitions();
-            //taglibs.add(portletTagLib); 
-            
 
             if (debug) {
                 System.out.println(webApp);