RE: Jar Locking

2006-09-01 Thread Stephen McConnell
> -Original Message- > From: Steve Loughran [mailto:[EMAIL PROTECTED] > Sent: Friday, 1 September 2006 8:32 PM > To: Ant Users List > Subject: Re: Jar Locking > > Stephen McConnell wrote: > > > > > >> -Original Message- >

Re: Jar Locking

2006-09-01 Thread Steve Loughran
Stephen McConnell wrote: -Original Message- From: Marc Farrow [mailto:[EMAIL PROTECTED] Sent: Friday, 1 September 2006 2:35 AM To: Ant Users List Subject: Re: Jar Locking Thanks Stephen. If I set all references to Ant to null and forced GC, would that resolve the problem? Well

RE: Jar Locking

2006-08-31 Thread Stephen McConnell
> -Original Message- > From: Marc Farrow [mailto:[EMAIL PROTECTED] > Sent: Friday, 1 September 2006 2:35 AM > To: Ant Users List > Subject: Re: Jar Locking > > Thanks Stephen. If I set all references to Ant to null and > forced GC, would that resolve the prob

Re: Jar Locking

2006-08-31 Thread Marc Farrow
Thanks Stephen. If I set all references to Ant to null and forced GC, would that resolve the problem? On 8/31/06, Stephen McConnell <[EMAIL PROTECTED]> wrote: > -Original Message- > From: Marc Farrow [mailto:[EMAIL PROTECTED] > Sent: Thursday, 31 August 2006 6:13 AM > To: ant-user >

RE: Jar Locking

2006-08-31 Thread Stephen McConnell
> -Original Message- > From: Marc Farrow [mailto:[EMAIL PROTECTED] > Sent: Thursday, 31 August 2006 6:13 AM > To: ant-user > Subject: Jar Locking > > Everytime I run an ant task (either in NetBeans or from > within Java Code), the executing jar gets locked and I cannot > delete the j

Re: Jar Locking

2006-08-31 Thread Steve Loughran
Prashant wrote: Take a look if this utility detailed in this blog can help you figure out which process has the JAR locked. http://blogs.sun.com/roller/page/quinn?entry=tool_for_diagnosing_failed_glassfish actually, if you want to track down open files on win32, sysinternal's handle util

Re: Jar Locking

2006-08-31 Thread Prashant
Take a look if this utility detailed in this blog can help you figure out which process has the JAR locked. http://blogs.sun.com/roller/page/quinn?entry=tool_for_diagnosing_failed_glassfish HTH -Prashant Steve Loughran wrote: Marc Farrow wrote: Everytime I run an ant task (either in NetBeans

Re: Jar Locking

2006-08-31 Thread Steve Loughran
Marc Farrow wrote: Everytime I run an ant task (either in NetBeans or from within Java Code), the executing jar gets locked and I cannot delete the jar. I am copying the ant script and the dependent jar that it needs to run and then executing the ant tasks. Then I wish to delete the "new" co

Re: Jar Locking

2006-08-30 Thread Alexey N. Solofnenko
For the same reason, I switched to use generated classes in my IDE (JBuilder). JAR files are only generated for full builds. As a side effect, development builds are now much faster. - Alexey. Marc Farrow wrote: Everytime I run an ant task (either in NetBeans or from within Java Code), the ex

Re: Jar Locking

2006-08-30 Thread Matt Benson
--- Marc Farrow <[EMAIL PROTECTED]> wrote: > Everytime I run an ant task (either in NetBeans or > from within Java Code), > the executing jar gets locked and I cannot delete > the jar. I am copying the > ant script and the dependent jar that it needs to > run and then executing the > ant tasks.