From: Ron B. <rjb...@us...> - 2006-09-29 17:25:06
|
Update of /cvsroot/glassbox/bootstrap/src/glassbox/bootstrap/log In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv11980/src/glassbox/bootstrap/log Modified Files: InitializeLog.java Log Message: Log errors on startup. Index: InitializeLog.java =================================================================== RCS file: /cvsroot/glassbox/bootstrap/src/glassbox/bootstrap/log/InitializeLog.java,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** InitializeLog.java 6 Sep 2006 06:27:22 -0000 1.2 --- InitializeLog.java 29 Sep 2006 17:25:02 -0000 1.3 *************** *** 112,116 **** InputStream str = null; try { ! str = new FileInputStream(System.getProperty("glassbox.install.dir") + "glassbox.properties"); } catch(FileNotFoundException ioe) { BootstrapLog.debug("couldn't find glassbox.properties", ioe);//not found: assume proceed --- 112,120 ---- InputStream str = null; try { ! String installDir = System.getProperty("glassbox.install.dir"); ! if (!installDir.endsWith(File.separator)) { ! installDir = installDir + File.separator; ! } ! str = new FileInputStream(installDir + "glassbox.properties"); } catch(FileNotFoundException ioe) { BootstrapLog.debug("couldn't find glassbox.properties", ioe);//not found: assume proceed |