Forgot to add. This is for JBoss-3.2. But in HEAD I can't remove deployed/watching files on windows either. So, I guess, HEAD has the same problem.
alex Monday, January 13, 2003, 2:10:51 PM, you wrote: AL> I am investingating the problem with inability remove deployed files. AL> First, I've found that URLDeploymentScanner uses AL> sun.net.www.protocol.file.FileURLConnection. For example here: AL> URLConnection connection; AL> if (watchUrl != null) AL> { AL> connection = watchUrl.openConnection(); AL> } AL> else AL> { AL> connection = url.openConnection(); AL> } AL> The connection is of type sun.net.www.protocol.file.FileURLConnection. AL> There are at least two problems with it: AL> 1. incorrect last modified (occurs to be always 0) AL> 2. after invoking connection.getLastModified() the target file can't AL> be removed on windows. AL> I guess org.jboss.net.protocol.file.FileURLConnection shuold be used AL> instead. But haven't figured out how to set it instead of Sun's. AL> Could someone hint? AL> Thanks, AL> alex ------------------------------------------------------- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development