I should probably clarify this a bit...Idea is holding onto the files, but perforce is removing the readonly bit when you try to sync, which messes up future syncs (even after Idea is shut down).
-- Rick > -----Original Message----- > From: Vestal, Rick > Sent: Thursday, December 06, 2001 3:00 PM > To: '[EMAIL PROTECTED]' > Subject: RE: [Eap-list] IntelliJ holds on to files... > > > This isn't an issue with Intellij (I asked on this list > before). I did file a report with Perforce and they are > aware of the issue. The workaround is simple...don't sync a > file with 'another app' holding on to it. > > If you do make the mistake, just do a p4 sync -f to correct > it after you close Idea. > > -- Rick > > > -----Original Message----- > > From: Bradshaw, Paul [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, December 06, 2001 12: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
