I'm guessing that it is just a Java thing. Usually that error means that 
the file is locked. Calling delete() doesn't mean that delete will be able 
to delete it. Did you check the return code on the delete method? 

Gary Karasiuk, RAD Performance Analyst
[EMAIL PROTECTED]
TL-969-3985, external: (905)-413-3985




From:
Mike Murphy <[EMAIL PROTECTED]>
To:
<[email protected]>
Date:
07/22/2008 10:26 AM
Subject:
[wtp-dev] Access error overwriting web.xml



Hi all -- 

I am working on a project facet plugin (thanks to Konstantin!) that 
creates a default template project with a bunch of assets in place.  Part 
of what we need to do is overlay the deployment descriptor with our own 
stock copy.  I am finding that a file copy does not work, I get a strange 
"(Access Denied)" IOException.  Is this because it is in the WEB-INF area? 
 I also tried creating a IO file over the default one, and calling 
delete() on it, which seems to have no effect?

Am I missing some obvious Java IO thing here, or is this something WTP 
specific about WEB-INF?

Thanks-
Mike

Stay in touch when you're away with Windows Live Messenger. IM anytime 
you're online._______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev


_______________________________________________
wtp-dev mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/wtp-dev

Reply via email to