taylor      2004/08/05 12:57:44

  Modified:    fusion/src/java/org/apache/jetspeed/fusion/tools/pamanager
                        FusionPAM.java
  Log:
  added support for re-registration of PAs
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.12      +2 -8      
jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/tools/pamanager/FusionPAM.java
  
  Index: FusionPAM.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed/fusion/src/java/org/apache/jetspeed/fusion/tools/pamanager/FusionPAM.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FusionPAM.java    5 Aug 2004 19:55:14 -0000       1.11
  +++ FusionPAM.java    5 Aug 2004 19:57:44 -0000       1.12
  @@ -348,7 +348,6 @@
       public void undeploy( PortletApplicationWar paWar ) throws 
PortletApplicationException
       {
           String paName = paWar.getPortletApplicationName();
  -        System.out.println("***** UN Deploying now...." + paName);
           
           fusionUndeploy(paName, true);
           super.undeploy(paWar);
  @@ -361,9 +360,7 @@
        * @param name of the portlet in the registry
        */
       private void removePSML(String name)
  -    {
  -        System.out.println("Trying to remove all PSML instances for: " + name);
  -        
  +    {        
           QueryLocator locator = new QueryLocator(QueryLocator.QUERY_USER); // ALL    
    
           Iterator profiles = null;
           int count = 0;
  @@ -402,12 +399,10 @@
           {
               if (existed)
               {
  -                System.out.println("Un Deploying");
                   fusionUndeploy(portletApplicationName, false);
               }
               try
               {
  -                System.out.println("Deploying");
                   fusionDeploy(portletApplicationName);
               }
               catch (Exception e)
  @@ -461,7 +456,6 @@
                   PortletDefinition pdef = (PortletDefinition) pdsIter.next();
                   String name = pdef.getName();                
                   Registry.removeEntry(Registry.PORTLET, name);                
  -                System.out.println("registry entry removed: " + name);
   
                   // remove PSML refs                
                   if (zapPSML)
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to