weaver      2004/04/20 12:44:59

  Modified:    components/profiler/src/java/META-INF Tag:
                        NANOCONTAINER_DEPLOYER nanocontainer.groovy
               components/page-manager/src/java/META-INF Tag:
                        NANOCONTAINER_DEPLOYER nanocontainer.groovy
  Log:
  correctly setting application root
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.2   +1 -1      
jakarta-jetspeed-2/components/profiler/src/java/META-INF/Attic/nanocontainer.groovy
  
  Index: nanocontainer.groovy
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/profiler/src/java/META-INF/Attic/nanocontainer.groovy,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- nanocontainer.groovy      20 Apr 2004 03:08:50 -0000      1.1.2.1
  +++ nanocontainer.groovy      20 Apr 2004 19:44:59 -0000      1.1.2.2
  @@ -30,7 +30,7 @@
   import java.io.File

   import java.util.Properties

   

  -applicationRoot = ComponentAssemblyTestCase.getApplicationRoot("portal", "test")

  +applicationRoot = System.getProperty("org.apache.jetspeed.application_root", "./")

   

   // create the root container

   container = new DefaultPicoContainer()

  
  
  
  No                   revision
  No                   revision
  1.1.2.2   +4 -6      
jakarta-jetspeed-2/components/page-manager/src/java/META-INF/Attic/nanocontainer.groovy
  
  Index: nanocontainer.groovy
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jetspeed-2/components/page-manager/src/java/META-INF/Attic/nanocontainer.groovy,v
  retrieving revision 1.1.2.1
  retrieving revision 1.1.2.2
  diff -u -r1.1.2.1 -r1.1.2.2
  --- nanocontainer.groovy      20 Apr 2004 03:08:49 -0000      1.1.2.1
  +++ nanocontainer.groovy      20 Apr 2004 19:44:59 -0000      1.1.2.2
  @@ -25,19 +25,17 @@
   import org.apache.jetspeed.cache.file.FileCache

   import org.apache.jetspeed.profiler.Profiler

   import org.apache.jetspeed.profiler.impl.JetspeedProfiler

  -import org.apache.jetspeed.components.ComponentAssemblyTestCase

  +

   

   import java.io.File

   import java.util.Properties

   

  -applicationRoot = ComponentAssemblyTestCase.getApplicationRoot("portal", "test")

  +applicationRoot = System.getProperty("org.apache.jetspeed.application_root", "./")

  +

   

  -// create the root container

   container = new DefaultPicoContainer()

   

  -//

  -// Page Manager

  -//

  +

   root = applicationRoot + "/testdata/pages"

   Long scanRate = 120

   cacheSize = 100

  
  
  

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

Reply via email to