ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jose Alberto Fernandez" <jalbe...@cellectivity.com>
Subject RE: <delete> task for antlib jars
Date Fri, 13 Feb 2004 10:57:15 GMT
> From: Steve Loughran [mailto:steve_l@iseran.com] 
> 
> Mariano Benitez wrote:
> > Hi!
> > 
> >    I am using antlibs, and I face the normal problem in 
> windows of not
> > being able of deleting the file while it is used.
> > 
> >    I know this discussion must have probably taken place, I 
> could not
> > just find it :( Has there been any attempt to use 
> File.deleteOnExit() as 
> > an option for the task? or another task?
> > 
> 
> Alternatively, we may need a way to unload an antlib
> 

Why does the antlib file or JAR would stay open beyond
loading the classes and reading the antlib.xml?

Maybe what is needed here, is a way to tell ALL AntClassLoaders 
to please close their open files (JARS) and reopen if needed later.

After all, keeping the JARs open is just an optimization.

Jose Alberto

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message