portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor PortletApplicationDescriptor.java PortletApplicationWar.java
Date Sat, 09 Apr 2005 17:57:39 GMT
taylor      2005/04/09 10:57:39

  Modified:    portal/src/java/org/apache/jetspeed/util/descriptor
                        PortletApplicationDescriptor.java
                        PortletApplicationWar.java
  Log:
  unit tests were breaking since the methods without classloader were no longer found
  added methods without classloader parameter, defaulting to current class's classloader to
get unit tests to pass
  
  Revision  Changes    Path
  1.6       +7 -1      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java
  
  Index: PortletApplicationDescriptor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationDescriptor.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- PortletApplicationDescriptor.java	9 Apr 2005 00:24:44 -0000	1.5
  +++ PortletApplicationDescriptor.java	9 Apr 2005 17:57:39 -0000	1.6
  @@ -65,6 +65,12 @@
           this.appName = appName;
       }
   
  +    public MutablePortletApplication createPortletApplication()
  +    throws PortletApplicationException
  +    {
  +        return createPortletApplication(this.getClass().getClassLoader());
  +    }
  +    
       /**
        * Maps the content of the portlet application descriptor into
        * a new <code>MutablePortletApplication object</code>
  
  
  
  1.23      +6 -0      jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationWar.java
  
  Index: PortletApplicationWar.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/util/descriptor/PortletApplicationWar.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- PortletApplicationWar.java	9 Apr 2005 00:24:44 -0000	1.22
  +++ PortletApplicationWar.java	9 Apr 2005 17:57:39 -0000	1.23
  @@ -261,6 +261,12 @@
           }
       }
   
  +    public MutablePortletApplication createPortletApp() 
  +    throws PortletApplicationException, IOException
  +    {
  +        return createPortletApp(this.getClass().getClassLoader());
  +    }
  +    
       /**
        * 
        * <p>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message