tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@locus.apache.org
Subject cvs commit: jakarta-tomcat/src/share/org/apache/tomcat/context DefaultCMSetter.java
Date Tue, 28 Mar 2000 03:28:49 GMT
craigmcc    00/03/27 19:28:49

  Modified:    src/share/org/apache/tomcat/context DefaultCMSetter.java
  Log:
  Fix the bad directory reported in the error message (from getTomcatHome())
  as well.
  PR:120
  Submitted by:	Larry.Isaacs@sas.com
  
  Revision  Changes    Path
  1.28      +2 -1      jakarta-tomcat/src/share/org/apache/tomcat/context/DefaultCMSetter.java
  
  Index: DefaultCMSetter.java
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/share/org/apache/tomcat/context/DefaultCMSetter.java,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -u -r1.27 -r1.28
  --- DefaultCMSetter.java	2000/03/25 03:35:25	1.27
  +++ DefaultCMSetter.java	2000/03/28 03:28:49	1.28
  @@ -116,7 +116,8 @@
   	//  Note: home defaults to tomcat.home if none is set...
   	File f=new File( cm.getTomcatHome() + "/conf/web.xml");
   	if( ! f.exists() ) {
  -	    throw new TomcatException( "Wrong tomcat home " + cm.getHome());
  +	    throw new TomcatException( "Wrong tomcat home " +
  +	                               cm.getTomcatHome());
   	}
   	// update the workdir
   	String workDir=cm.getWorkDir();
  
  
  

Mime
View raw message