[freenet-cvs] r14905 - trunk/plugins/Echo/src/plugins/echo

fred at freenetproject.org fred at freenetproject.org
Tue Aug 28 18:15:43 UTC 2007


Author: fred
Date: 2007-08-28 18:15:43 +0000 (Tue, 28 Aug 2007)
New Revision: 14905

Modified:
   trunk/plugins/Echo/src/plugins/echo/Echo.java
Log:
Create the base dir if it does not exist


Modified: trunk/plugins/Echo/src/plugins/echo/Echo.java
===================================================================
--- trunk/plugins/Echo/src/plugins/echo/Echo.java	2007-08-28 16:17:34 UTC (rev 14904)
+++ trunk/plugins/Echo/src/plugins/echo/Echo.java	2007-08-28 18:15:43 UTC (rev 14905)
@@ -75,6 +75,10 @@
 		
 		try {
 			this.respirator = p;
+			
+			if(!BASE_DIR.exists())
+				BASE_DIR.mkdirs();
+			
 			i18n = new I18n("en");
 
 			parser = new Builder();




More information about the cvs mailing list