Maybe it would be possible for the ant thread to suspend the directory
scanning thread(s) via some mechanism whilst an ant build is in progress?

Just a thought.

Happy new year everyone,
Dan

> -----Original Message-----
> From: Edoardo Comar [mailto:[EMAIL PROTECTED]]
> Sent: 04 January 2002 11:09
> To: [EMAIL PROTECTED]
> Subject: RE: [Eap-list] ant build scripts fail within 
> IntelliJ but fine
> from command line
> 
> 
> Yes,
> I experience this too. Actually, I don't have to run the ant project
> through IDEA. 
> Even if I run it from the command line while IDEA is running, ant may
> fail with 'can't delete directory'.
> Often the problem goes away if I click on the GC icon in IDEA 
> and rerun
> ant.
> I think that the directory scanning that IDEA performs has the side
> effect of keeping some directories in use (for the OS)
> 
> Edo
> 
> 
> > -----Original Message-----
> > From: Yates, Colin [mailto:[EMAIL PROTECTED]] 
> > Sent: 04 January 2002 10:13
> > To: Eap-List (E-mail)
> > Subject: [Eap-list] ant build scripts fail within IntelliJ 
> > but fine from command line
> > 
> > 
> > Hi,
> > 
> > I have an ant script which I can successfully run through a 
> > command line, but when run through Intellij sometimes fail 
> > with a message about "cannot delete directory".  The message 
> > is sent by ant (the task being executed is to delete a 
> > directory), but it *always* works through the command line 
> > and only *sometimes* works through intellij.
> > 
> > The problem appears more frequently if you have a task (say 
> > build) which performs other tasks (say clean).  
> > 
> > Does anybody else experience this?  It would be really good 
> > to fix this.
> > 
> > Cheers
> > 
> > ------------------
> > 
> > Colin Yates
> > Senior Software Engineer
> >  
> > Data Systems & Solutions (DS&S),
> > PO Box No 31,
> > Sinfin Lane,
> > Derby.
> > DE24 8BJ.
> > 
> www.ds-s.com
> 
> E-mail:        [EMAIL PROTECTED]
> 
> For optimum solutions that save you time, visit www.ds-s.com.
> 
> _______________________________________________
> 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


***************************************************************************************
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. 
If you have received this email in error please notify [EMAIL PROTECTED] 
immediately.

This footnote also confirms that this email message has been swept for the 
presence of computer viruses.
***************************************************************************************

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

Reply via email to