RE: how to set a property based on the contents of files in a tree?

2007-11-06 Thread Rebhan, Gilbert
Hi, -Original Message- From: David Weintraub [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 06, 2007 5:52 PM To: Ant Users List Subject: Re: how to set a property based on the contents of files in a tree? /* I'd just use and then check if property "files_path" is greater than zero

Re: target progress bar

2007-11-06 Thread david
Try: http://www.yworks.com/en/products_antexplorer_walkthrough.htm#depbar Jo Support wrote .. > hi, is there a lib that can display a target progress (or percentage > progress, or something similar) bar instead of the standard output of each > tasks? > i'd like to make my scripts' users blind of t

Build output

2007-11-06 Thread robert . c . hayes
Hi all, I'm using cruise control and as such when running Ant I'm using the XML Logger and I'm specifying the -logfile option to write to a file which is then picked up by cruisecontrol. Is there a way of getting the ant output to go both to the xml log file and the console (but obiviously in t

Re: Propertyfile Task not updating build numbers

2007-11-06 Thread David Weintraub
Why not use the task? It'll do exactly what you want. BTW, once you define a property, you cannot change its value. I think this might be your problem. On 11/6/07, Christopher Styles <[EMAIL PROTECTED]> wrote: > Hi, > > I created the two targets below to update my build and last build numbers in

Re: how to set a property based on the contents of files in a tree?

2007-11-06 Thread David Weintraub
I'd just use and then check if property "files_path" is greater than zero. That I believe works in 1.6.5. I took a quick look at a few other ways using selectors, but I don't think those work with 1.6.5. On 11/5/07, Jay Dickon Glanville <[EMAIL PROTECTED]> wrote: > Hello all

Re: Headless Ant: problems with loggers and listeners

2007-11-06 Thread Darin Swanson
I have been working with Gab within the Eclipse newsgroups. Eclipse had a bug in its 3.0 release (3 yrs ago) that caused problems with the XMLLogger. https://bugs.eclipse.org/bugs/show_bug.cgi?id=80435 This is fixed in Eclipse 3.1 and newer. You can add additional listeners, just not change the l

Propertyfile Task not updating build numbers

2007-11-06 Thread Christopher Styles
Hi, I created the two targets below to update my build and last build numbers in my build.properties before my build actually starts, but for some reason they're not updating the numbers The propertyfile file attribute specifies the name of the property file and each nested entry element speci

target progress bar

2007-11-06 Thread Jo Support
hi, is there a lib that can display a target progress (or percentage progress, or something similar) bar instead of the standard output of each tasks? i'd like to make my scripts' users blind of the standard output, but give them the sensation the workstation isn't locked. any idea/suggestion? th

RE: how to set a property based on the contents of files in a tree?

2007-11-06 Thread Rebhan, Gilbert
-Original Message- From: Jay Dickon Glanville [mailto:[EMAIL PROTECTED] Sent: Monday, November 05, 2007 7:37 PM To: Ant User Subject: how to set a property based on the contents of files in a tree? /* Hello all, I'm doing something, but I'm not sure I'm doing it the best way possibl

Re: target progress bar

2007-11-06 Thread David Weintraub
Use Hudson as a front end. It has a progress bar that you're looking for and a very nice and easy to understand GUI. Hudson is really an auto-build executioner. It is made to automatically do a build either at fixed times, or whenever somebody does a checkin. It can also automatically run JUnit te

Re: Applying ParallelTask

2007-11-06 Thread David Weintraub
You may have to do a bit or rewriting in order to use the task. This isn't unusual. Most software has to be rewritten in order to take advantage of multiple processors, so this isn't unusual. First question: Are Module "B" and "C" independent of each other? That is, can you create a release that

Re: Headless Ant: problems with loggers and listeners

2007-11-06 Thread Steve Loughran
Gabriele Bodda wrote: Hi, I've found one more element. I got exactly the same error if I launch Ant through Eclipse with ANY listener, even with "-listener org.apache.tools.ant.XmlLogger" that happens to be cited even in the Ant manual. To be more precise: it seems like the parameter -listener

Re: Creating SymLinks with relative paths

2007-11-06 Thread Steve Loughran
yvesforkl wrote: Andrew Goktepe wrote: The symlink task (http://ant.apache.org/manual/OptionalTasks/symlink.html) can be used to create symbolic links with relative paths on a per-file basis [...] Thank you for this hint, once again I see that most of what needs to be done is fairly easy wit

Re: deploy task to Tomcat partially works

2007-11-06 Thread Steve Loughran
Rob Wilson wrote: Hi Steve, Thanks for the suggestions, as it turns out I should have mentioned that I am running Vista - it turned out to be permission problems in the webapps directory (doh!), one for the book?! ;-) checking perms is a nightmare in java, and windows ACLs are a mystery to mo

target progress bar

2007-11-06 Thread Jo Support
hi, is there a lib that can display a target progress (or percentage progress, or something similar) bar instead of the standard output of each tasks? i'd like to make my scripts' users blind of the standard output, but give them the sensation the workstation isn't locked. any idea/suggestion? ps

Re: Creating SymLinks with relative paths

2007-11-06 Thread yvesforkl
Andrew Goktepe wrote: > > The symlink task (http://ant.apache.org/manual/OptionalTasks/symlink.html) > can be used to create symbolic links with relative paths on a per-file > basis [...] > Thank you for this hint, once again I see that most of what needs to be done is fairly easy with ant. I