commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McGrady <m...@michaelmcgrady.com>
Subject Re: [Daemon] File.mkdirs() don't work if started with jsvc
Date Fri, 16 Jul 2004 17:56:01 GMT
At 10:49 AM 7/16/2004, you wrote:
>(I've to say that this happens ONLY on Debian Woody... Debian Sarge and
>Debian Sid works ok).


Try getting ird of the hard coded separators, i.e. "/", with 
File.separator, e.g. File.separator + "tmp" + File.separtor + "test+ 
File.separator instead of "/tmp/test/".  Don't do this with the content 
types, by the way.  If you want to be OS free, you have to code OS free.

Michael




---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message