[freenet-dev] [freenet-cvs] r14762 - trunk/plugins/XMLSpider

Matthew Toseland toad at amphibian.dyndns.org
Thu Aug 23 20:37:28 UTC 2007


Ummm, please don't do it that way ... get to know the java API, you're looking 
for the class java.io.File.

On Friday 17 August 2007 19:58, you wrote:
> Author: swatig0
> Date: 2007-08-17 18:58:53 +0000 (Fri, 17 Aug 2007)
> New Revision: 14762
> 
> Modified:
>    trunk/plugins/XMLSpider/XMLSpider.java
> Log:
> XMLSpider
> 
> Modified: trunk/plugins/XMLSpider/XMLSpider.java
> ===================================================================
> --- trunk/plugins/XMLSpider/XMLSpider.java	2007-08-17 18:56:48 UTC (rev 
14761)
> +++ trunk/plugins/XMLSpider/XMLSpider.java	2007-08-17 18:58:53 UTC (rev 
14762)
> @@ -841,7 +841,11 @@
>  		indexing = true;
>  		stopped = false;
>  		count = 0;
> -	
> +		try{
> +		Runtime.getRuntime().exec("mkdir "+DEFAULT_INDEX_DIR);}
> +		catch(Exception e){
> +			Logger.error(this, "Could not create index directory ", e);
> +		}
>  		//startPlugin();
>  		Thread starterThread = new Thread("Spider Plugin Starter") {
>  			public void run() {
> 
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://emu.freenetproject.org/pipermail/devl/attachments/20070823/d28485c5/attachment.pgp 


More information about the Devl mailing list