Use ANT to purge files

2009-05-17 Thread Nafter
I'm looking for an example to purge files and keep the latest (e.g. 5 files) from a certain file set. I saw that there is a Ant Purge Task with this description: The purge tasks works with Ant to remove all but the most recent few files from a fileset. However you then have to add a special jar

Re: Java in JDK but ANT can't find it!

2009-05-17 Thread Ashley Williams
Hi David, I never meant that you should modify the ant code. Try launching your app with the fully qualified path to the jdk java eg: > /path/to/jdk/bin/java MyTestApp So in other words don't rely on your PATH environment variable. It could be also that the bootclasspath has been overridden s