ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aalok singhvi <aaloksing...@gmail.com>
Subject Re: WELCOME to user@ant.apache.org
Date Sun, 14 Jun 2015 21:09:35 GMT
Stephen can you give me an example on update jars where I use ant within
ant.
On Jun 14, 2015 3:16 PM, "Stefan Bodewig" <bodewig@apache.org> wrote:

> On 2015-06-14, aalok singhvi wrote:
>
> > I tried using "deleteonexit" and it is know allowing me to delete
> something
> > of the jars but not allowing me to delete 2 directories. It says the once
> > Ant JVM is terminated it can be deleted.
>
> This is what I described.  This happens if the JVM has opened the files
> and closed them again.  For some reason the JVM on Windows and the OS
> disagree on whether the file is closed, there isn't anything you can do
> but either ensure the files are never opened in the first place or exit
> the VM.
>
> > Can we terminate ant jvm and restart once this delete is completed. I
> know
> > its a stupid question but just wanted to see if you have seen this before
> > by any chance.
>
> This would mean you'd need two separate build steps with two separate
> invocations of Ant.  Something like
>
> ,----
> | > ant update-jars
> | > ant do-what-I-really-wanted-to-do
> `----
>
> That would probably work.  Maybe you don't need to check for updates all
> the time?  An in-buildfile way would be to execute Ant from inside Ant
> using <java fork="true">, but that's not straight forward either.
>
> > Let me check if I can extract a small build. i will need to get approvals
> > on that.
>
> That would be good.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message