On Thu, 2005-09-29 at 09:26 +0000, [EMAIL PROTECTED] wrote: > Author: brett > Date: Thu Sep 29 02:26:07 2005 > New Revision: 292409 > > URL: http://svn.apache.org/viewcvs?rev=292409&view=rev > Log: > PR: MNG-936 > make sure directory exists first
[snip] > + pluginRegistryFile.getParentFile().mkdirs(); > fWriter = new FileWriter( pluginRegistryFile ); > > PluginRegistryXpp3Writer writer = new > PluginRegistryXpp3Writer(); > You always have to check that the return value of mkdirs() is true to make sure that the directories actually was created. Dumb, but that's life :) -- Trygve --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
