Re: WELCOME to [email protected]

aalok singhvi <[email protected]>
Newsgroups gmane.comp.jakarta.ant.user
Message-ID <CAObRyaSF2G0u3Ru8WwpVAPkqkn0k=6Zv6iv_--oKW91sReZMAg@mail.gmail.com>
No worries. For now I am trying to see if i can overwrite the files that
are not delete. I am getting the files from FTP. Lets see if that works or
not.

On Mon, Jun 15, 2015 at 2:55 PM, Stefan Bodewig <[email protected]> wrote:

> On 2015-06-15, aalok singhvi wrote:
>
> > When I use execute something  like..
>
> > exec name=cmd
> >    Arg= /c
> >    Arg=ant path to the batch file under bin
> >    Arg=-p
> > End exec
>
> > Delete
>
> > Both exec and delete are in same target. It delete all files except two
> > saying that attempts to delete the file when ant jvm has exited and might
> > not succeed.
>
> As long as the Ant process that locks the files is running, nothing ill
> be able to delete them - not a forked process and not anything else we
> can come up with.
>
> There really isn't any solution to this other than "don't make Ant lock
> your files until you are ready with your preparations".  When I
> suggested forking Ant would be an option, I was thinking about doing the
> part that locks the files rather than the one that tries to delete them.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>


-- 
Aalok Singhvi
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.