remm        2003/02/26 06:49:29

  Modified:    jasper2/src/share/org/apache/jasper/compiler Compiler.java
  Log:
  - Don't set the basedir if it's null. This can happen with JSPC.
  
  Revision  Changes    Path
  1.56      +3 -1      
jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java
  
  Index: Compiler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper/compiler/Compiler.java,v
  retrieving revision 1.55
  retrieving revision 1.56
  diff -u -r1.55 -r1.56
  --- Compiler.java     26 Feb 2003 00:11:37 -0000      1.55
  +++ Compiler.java     26 Feb 2003 14:49:29 -0000      1.56
  @@ -152,7 +152,9 @@
           logger.setErrorPrintStream(System.err);
        logger.setMessageOutputLevel(Project.MSG_INFO);
           project.addBuildListener( logger);
  -        project.setBasedir( System.getProperty("catalina.home"));
  +        if (System.getProperty("catalina.home") != null) {
  +            project.setBasedir( System.getProperty("catalina.home"));
  +        }
           
           if( options.getCompiler() != null ) {
               if( log.isDebugEnabled() )
  
  
  

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

Reply via email to