From: Eric P. <th...@us...> - 2010-08-22 07:21:32
|
Update of /cvsroot/sandev/sand/platform/tools/src/org/sandev/tools/HTTP In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv28171 Modified Files: XHTMLFormEditor.java Log Message: Replaced reference to SAND_HOME environment variable with an optional reference to SAND_HELP_ROOT. Otherwise te default of one level up from the current directory is used. Index: XHTMLFormEditor.java =================================================================== RCS file: /cvsroot/sandev/sand/platform/tools/src/org/sandev/tools/HTTP/XHTMLFormEditor.java,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** XHTMLFormEditor.java 13 Mar 2007 20:09:26 -0000 1.8 --- XHTMLFormEditor.java 22 Aug 2010 07:21:24 -0000 1.9 *************** *** 1,5 **** /* * SAND development/deployment environment ! * Copyright (C) 2003,2007 SAND Services Inc. * * This library is free software; you can redistribute it and/or --- 1,5 ---- /* * SAND development/deployment environment ! * Copyright (C) 2003,2007,2010 SAND Services Inc. * * This library is free software; you can redistribute it and/or *************** *** 308,312 **** String root=".."; try { ! root=EnvGrabber.getEnvVar("SAND_HOME"); } catch(IOException e) { System.out.println("HTTPConfigEditorNode couldn't find help root: " + e); --- 308,314 ---- String root=".."; try { ! //can define this env var to make sure we consistently ! //reach help even from offbeat doc locations. ! root=EnvGrabber.getEnvVar("SAND_HELP_ROOT"); } catch(IOException e) { System.out.println("HTTPConfigEditorNode couldn't find help root: " + e); |