avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcconn...@apache.org
Subject cvs commit: avalon/merlin/kernel/unit/src/java/org/apache/avalon/merlin/unit AbstractMerlinTestCase.java
Date Wed, 05 Nov 2003 12:27:08 GMT
mcconnell    2003/11/05 04:27:08

  Modified:    merlin/kernel/unit/src/java/org/apache/avalon/merlin/unit
                        AbstractMerlinTestCase.java
  Log:
  Applied patch from Eric to prevent BPE when executing under Eclipse.
  
  Revision  Changes    Path
  1.15      +2 -1      avalon/merlin/kernel/unit/src/java/org/apache/avalon/merlin/unit/AbstractMerlinTestCase.java
  
  Index: AbstractMerlinTestCase.java
  ===================================================================
  RCS file: /home/cvs/avalon/merlin/kernel/unit/src/java/org/apache/avalon/merlin/unit/AbstractMerlinTestCase.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- AbstractMerlinTestCase.java	2 Nov 2003 23:14:30 -0000	1.14
  +++ AbstractMerlinTestCase.java	5 Nov 2003 12:27:07 -0000	1.15
  @@ -380,7 +380,8 @@
       private static File getBaseDirectory()
       {
           String basedir = System.getProperty( "basedir" );
  -        return new File( basedir );
  +        if( basedir != null ) return new File( basedir );
  +        return new File( "." );
       }
   
      /**
  
  
  

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


Mime
View raw message