avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system ContainerManager.java
Date Tue, 05 Feb 2002 20:06:53 GMT
bloritsch    02/02/05 12:06:52

  Modified:    src/scratchpad/org/apache/avalon/excalibur/system
                        ContainerManager.java
  Log:
  make all relative paths relative to the container context root directory
  
  Revision  Changes    Path
  1.18      +10 -4     jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/ContainerManager.java
  
  Index: ContainerManager.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/src/scratchpad/org/apache/avalon/excalibur/system/ContainerManager.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ContainerManager.java	5 Feb 2002 19:58:09 -0000	1.17
  +++ ContainerManager.java	5 Feb 2002 20:06:52 -0000	1.18
  @@ -116,7 +116,7 @@
    * </table>
    *
    * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  - * @version CVS $Revision: 1.17 $ $Date: 2002/02/05 19:58:09 $
  + * @version CVS $Revision: 1.18 $ $Date: 2002/02/05 20:06:52 $
    */
   public class ContainerManager
   {
  @@ -490,7 +490,9 @@
               {
                   try
                   {
  -                    m_containerConfig = m_configBuilder.buildFromFile( configFile );
  +                    m_containerConfig = m_configBuilder.buildFromFile(
  +                            new File( m_contextDirectory, configFile )
  +                    );
                   }
                   catch (Exception e)
                   {
  @@ -524,7 +526,9 @@
               {
                   try
                   {
  -                    m_roleConfig = m_configBuilder.buildFromFile( configFile );
  +                    m_roleConfig = m_configBuilder.buildFromFile(
  +                            new File( m_contextDirectory, configFile )
  +                    );
                   }
                   catch (Exception e)
                   {
  @@ -558,7 +562,9 @@
               {
                   try
                   {
  -                    m_logKitConfig = m_configBuilder.buildFromFile( configFile );
  +                    m_logKitConfig = m_configBuilder.buildFromFile(
  +                            new File( m_contextDirectory, configFile )
  +                    );
                   }
                   catch (Exception e)
                   {
  
  
  

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


Mime
View raw message