costin 2002/11/12 16:19:00 Modified: jk/java/org/apache/jk/server JkMain.java Log: Eliminate the .save file - it is not used and confusing. ( can be re-enabled in jk2.properties ) Revision Changes Path 1.32 +7 -0 jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkMain.java Index: JkMain.java =================================================================== RCS file: /home/cvs/jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkMain.java,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- JkMain.java 31 Oct 2002 00:56:35 -0000 1.31 +++ JkMain.java 13 Nov 2002 00:19:00 -0000 1.32 @@ -112,6 +112,7 @@ Properties modules=new Properties(); boolean modified=false; boolean started=false; + boolean saveProperties=false; public JkMain() { @@ -168,6 +169,10 @@ return propFile; } + public void setSaveProperties( boolean b ) { + saveProperties=b; + } + /** Set a name/value as a jk2 property */ public void setProperty( String n, String v ) { @@ -442,6 +447,8 @@ // -------------------- Private methods -------------------- public void saveProperties() { + if( !saveProperties) return; + // Temp - to check if it works String outFile=propFile + ".save"; log.debug("Saving properties " + outFile );
-- To unsubscribe, e-mail: <mailto:tomcat-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-dev-help@;jakarta.apache.org>