avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon-sandbox/repository/main/src/java/org/apache/avalon/repository/main DefaultInitialContext.java
Date Tue, 02 Dec 2003 07:34:13 GMT
mcconnell    2003/12/01 23:34:13

  Modified:    repository/main/src/java/org/apache/avalon/repository/main
                        DefaultInitialContext.java
  Log:
  Use repository scoped key.
  
  Revision  Changes    Path
  1.3       +3 -2      avalon-sandbox/repository/main/src/java/org/apache/avalon/repository/main/DefaultInitialContext.java
  
  Index: DefaultInitialContext.java
  ===================================================================
  RCS file: /home/cvs/avalon-sandbox/repository/main/src/java/org/apache/avalon/repository/main/DefaultInitialContext.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DefaultInitialContext.java	30 Nov 2003 07:06:10 -0000	1.2
  +++ DefaultInitialContext.java	2 Dec 2003 07:34:13 -0000	1.3
  @@ -372,7 +372,8 @@
           try
           {
               String env = Env.getEnvVariable( "AVALON_HOME" );
  -            String home = System.getProperty( "avalon.home", env );
  +            String avalon = System.getProperty( "avalon.home", env );
  +            String home = System.getProperty( "avalon.repository.cache.dir", avalon );
               if( null != home ) return new File( home );
           }
           catch( Throwable e )
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message