You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-dev@jakarta.apache.org by di...@apache.org on 2001/07/21 15:10:01 UTC
cvs commit: jakarta-slide/src/stores/slidestore/reference FileContentStore.java
dirkv 01/07/21 06:10:01
Modified: src/stores/slidestore/reference FileContentStore.java
Log:
log the absolute path of the filecontentstore during startup
Revision Changes Path
1.9 +6 -4 jakarta-slide/src/stores/slidestore/reference/FileContentStore.java
Index: FileContentStore.java
===================================================================
RCS file: /home/cvs/jakarta-slide/src/stores/slidestore/reference/FileContentStore.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- FileContentStore.java 2001/06/13 04:46:35 1.8
+++ FileContentStore.java 2001/07/21 13:10:01 1.9
@@ -1,7 +1,7 @@
/*
- * $Header: /home/cvs/jakarta-slide/src/stores/slidestore/reference/FileContentStore.java,v 1.8 2001/06/13 04:46:35 msmith Exp $
- * $Revision: 1.8 $
- * $Date: 2001/06/13 04:46:35 $
+ * $Header: /home/cvs/jakarta-slide/src/stores/slidestore/reference/FileContentStore.java,v 1.9 2001/07/21 13:10:01 dirkv Exp $
+ * $Revision: 1.9 $
+ * $Date: 2001/07/21 13:10:01 $
*
* ====================================================================
*
@@ -71,12 +71,13 @@
import org.apache.slide.store.*;
import org.apache.slide.structure.*;
import org.apache.slide.content.*;
+import org.apache.slide.util.logger.Logger;
/**
* Filesystem implementation of ContentStore.
*
* @author <a href="mailto:remm@apache.org">Remy Maucherat</a>
- * @version $Revision: 1.8 $
+ * @version $Revision: 1.9 $
*/
public class FileContentStore extends AbstractService
implements ContentStore {
@@ -177,6 +178,7 @@
// remove prior content specified at rootPath
if (removePriorContent) reset();
File baseDir = new File(rootpath);
+ getLogger().log("FileContentStore rootpath: " + baseDir.getAbsolutePath() ,Logger.INFO);
baseDir.mkdirs();
} catch (Exception e) {
e.printStackTrace();