portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/test JetspeedTestSuite.java
Date Thu, 12 Feb 2004 16:33:07 GMT
dlestrat    2004/02/12 08:33:07

  Modified:    portal/src/test/org/apache/jetspeed/test
                        JetspeedTestSuite.java
  Log:
  Application root can now be passed as a system property, if not there defaults to previous
value.
  
  Revision  Changes    Path
  1.2       +5 -3      jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/test/JetspeedTestSuite.java
  
  Index: JetspeedTestSuite.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/test/org/apache/jetspeed/test/JetspeedTestSuite.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- JetspeedTestSuite.java	4 Feb 2004 21:35:25 -0000	1.1
  +++ JetspeedTestSuite.java	12 Feb 2004 16:33:07 -0000	1.2
  @@ -173,7 +173,8 @@
        */
       public String getApplicationRoot()
       {
  -        return "./src/webapp";
  +        String applicationRoot = System.getProperty(JetspeedEngineConstants.APPLICATION_ROOT_KEY,
"./src/webapp");
  +        return applicationRoot;
       }
   
       /**
  @@ -182,7 +183,8 @@
        */
       public String getPropertiesFile()
       {
  -        return "./src/webapp/WEB-INF/conf/jetspeed.properties";
  +        String jetspeedProperties = System.getProperty(JetspeedEngineConstants.APPLICATION_ROOT_KEY,
"./src/webapp") + "/WEB-INF/conf/jetspeed.properties";        
  +        return jetspeedProperties;
       }
   
       /*
  
  
  

---------------------------------------------------------------------
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