cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/java/org/apache/cocoon/components/hsqldb ServerImpl.java
Date Thu, 17 Jan 2002 21:04:59 GMT
vgritsenko    02/01/17 13:04:59

  Modified:    src/java/org/apache/cocoon/components/hsqldb ServerImpl.java
  Log:
  Apply patch suggested by Carsten. Till we have better solution.
  
  Revision  Changes    Path
  1.4       +7 -0      xml-cocoon2/src/java/org/apache/cocoon/components/hsqldb/ServerImpl.java
  
  Index: ServerImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-cocoon2/src/java/org/apache/cocoon/components/hsqldb/ServerImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ServerImpl.java	15 Jan 2002 17:05:20 -0000	1.3
  +++ ServerImpl.java	17 Jan 2002 21:04:59 -0000	1.4
  @@ -93,6 +93,13 @@
   
       /** Start the server */
       public void start() {
  +
  +        // FIXME (VG): This dirty hack here is till shutdown issue is resolved
  +        File file = new File(arguments[7] + ".backup");
  +        if (file.exists() && file.delete()) {
  +            getLogger().info("HSQLDB backup file has been deleted.");
  +        }
  +
           Thread server = new Thread(this);
           this.getLogger().debug("Intializing hsqldb server thread");
           server.setPriority(Thread.currentThread().getPriority());
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message