AW: target progress bar

2007-11-22 Thread Jan.Materne
Mmmmh ${p} Jan > -Ursprüngliche Nachricht- > Von: Dale Anson [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 23. November 2007 05:17 > An: Ant Users List > Betreff: Re: target progress bar > > What I did for the progress bar in Antelope is to count the number of

Re: target progress bar

2007-11-22 Thread Dale Anson
What I did for the progress bar in Antelope is to count the number of tasks to be executed, then created a build listener that increased the bar on each task completion. The tricky part is counting the number of tasks in advance. While this doesn't give a time estimate, it does give a pretty

Re: List/Download folder from http?

2007-11-22 Thread Steve Loughran
Gilles Scokart wrote: The problem is that it will depends on your server. The http server must be configure to list the content of the directory. And it will do that using some specific format that the listing code will have to parse. However, I asume that different http server can provide thi

Re: How do I set a classpath for my custom task?

2007-11-22 Thread Gilles Scokart
You don't need to create a separate VM. You just need to create a classloader. Basically, if you want your code to be independant of ant, it will be something like that : URLClassLoader userClassLoader = new URLClassLoader(userPath, TheInterface.class.getClassLoader()); Class userClass = Class.f