Something (if not IDEA) also seems to hold on to .cls files. 
I sometimes rename my class files root directory to something
else in order to be sure to get no old class compiles 
(which seems necessary after a package move sometimes). 
Unless I close IDEA, it's unlikely (though I think it has happened)
that the dir will be let go of, I get: can't rename directory because
it is used by another process. (Running Nice Try 4 SP 6.)


> -----Original Message-----
> From: Bradshaw, Paul [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, December 06, 2001 7:18 PM
> To:   '[EMAIL PROTECTED]'
> Subject:      [Eap-list] IntelliJ holds on to files...
> 
> I have a problem with IntelliJ IDEA that prevents me from using external
> tools that operate on files (such as Perforce, trying to sync files)...
> IntelliJ seems to "hang on" to jar files that it's using solely as
> reference, so that these files can't be deleted and replaced with refreshed
> versions.  I see the following error:
> 
> unlink: D:\src\myproj\lib\my.jar: The process cannot access the file because
> it is being used by another process.
> 
> So when I want to do a full sync and build outside of IDEA, I have to close
> IDEA first.  This is VERY annoying.
> 
> I'd vastly prefere it if IDEA would just read the files for reference and
> then let go of the files.  It could then listen for any change notifications
> on the file, and dump and re-read the file when it changes or is deleted and
> then replaced.
> 
> On a related note, IDEA seems to remove files from the classpath if they've
> been deleted underneath it (even if they're about to be replaced).  It's
> getting to be annoying to always have to go back in and add the same jar
> files over and over.  I wish IDEA would just leave them be, or at most
> "flag" jar files that are on the classpath but don't exist (because they may
> exist again real soon now).
> 
> Anyone else notice these issues, or have any decent work-arounds?  Thanks!
> 
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list

_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to