On 2015-06-14, aalok singhvi wrote:
> Stephen can you give me an example on update jars where I use ant within
> ant.
invoking ant.bat is probably the easiest way for starting Ant
from within a buildfile.
Ant's main jar (ant-launcher.jar in 1.7.0 IIRC) doesn't contain a
Main-Class entry in its
On 2015-06-14, Christopher BROWN wrote:
> Since Java SE 7, URLClassLoader defines a "close()" method which may be
> useful in the specific case mentioned:
> http://docs.oracle.com/javase/7/docs/api/java/net/URLClassLoader.html#close()
This won't help if the file in question is on the system class
Stephen
Are you suggesting on doing something like this
// value takes
in new ant.jar may be a newer ant version
and then all delete
Thanks
On Sun, Jun 14, 2015 at 5:09 PM, aalok singhvi
wrote:
> Stephen can you give me an example on update jars where I use ant within
> ant.
> O
Chris..I am on java 6 and upgrading to 7 might be challenging.
On Jun 14, 2015 3:28 PM, "Christopher BROWN" wrote:
> Hello,
>
> Since Java SE 7, URLClassLoader defines a "close()" method which may be
> useful in the specific case mentioned:
>
> http://docs.oracle.com/javase/7/docs/api/java/net/UR
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" 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
Hello,
Since Java SE 7, URLClassLoader defines a "close()" method which may be
useful in the specific case mentioned:
http://docs.oracle.com/javase/7/docs/api/java/net/URLClassLoader.html#close()
As for the more general case of Windows locking files from Java, as I
understand it, it's because the
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 th
Hey Stephan,
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.
Can we terminate ant jvm and restart once this delete is completed. I know
its a stupid quest
On 2015-06-14, aalok singhvi wrote:
> at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:720)
> at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:769)
> org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:765)
> org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:76
Cant a force delete a filesomething like windows "del -F file name".
On Sun, Jun 14, 2015 at 1:31 PM, aalok singhvi
wrote:
>
> at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:720)
> at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:769)
> org.apache.tools.ant.taskdef
at org.apache.tools.ant.taskdefs.Delete.handle(Delete.java:720)
at org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:769)
org.apache.tools.ant.taskdefs.Delete.removeDir(Delete.java:765)
org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:769)
org.apache.tools.ant.UnkownElement.execute
[please don't drop the user list from replies]
On 2015-06-14, aalok singhvi wrote:
> When i use verbose to print errors its gives certain info as follows...
> It errors out on ant taskdef delete handle
> Delete.java line 720, 769 765 and 586.
It owuld be better if you could paste the full s
On 2015-06-13, aalok singhvi wrote:
> I am working on a project where i am not able to delete certain files using
> ant 1.7. I saw some bug with ant 1.7 where the suggestion was to use ant
> 1.8 version. My project is built out in 1.7 and it will be a big change to
> built it out in 1.8.
We are p
13 matches
Mail list logo