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
