RE: auto notification question...

2003-03-26 Thread Ciramella, EJ
Now that's what I'm talking about. What I'm doing is adding in one liners (if errorlevel ==... echo %buildname% >> mail.txt) to each of the bat files that echo a line into a file and going to use that file as an entry to . If the developers saw that I wrapped nmake in ant, they'd cry. Excellent

RE: Repeating an ANT command for each entry in a FileSet

2003-03-26 Thread Dominique Devienne
Since accepts a nested fileset, that shouldn't be too hard to do ;-) There's no equivalent of to execute a Java command. Closest thing is to another JVM to run the Java command, or to use Ant-contrib's . --DD -Original Message- From: Tim Gordon [mailto:[EMAIL PROTECTED] Sent: Wednesday

Repeating an ANT command for each entry in a FileSet

2003-03-26 Thread Tim Gordon
I was also wondering how you'd acheive the same effect if you wanted to perform a non-FileSet-based ANT command instead of doing an exec. For instance, I might want to sign all the jars in a directory - it's easy to get a FileSet matching *.jar - how do you then iterate through the results of the

Re: auto notification question...

2003-03-26 Thread Erik Hatcher
Launch nmake with and use Ant as the front-end for all builds and use MailLogger?! :) On Wednesday, March 26, 2003, at 11:06 AM, Ciramella, EJ wrote: Has anyone done some sort of auto notification? Since 3/4 of the builds done here are nmake and bat file based (the only ant related builds

RE: auto notification question...

2003-03-26 Thread Tim Gordon
If you're using either NT or unix scripts then why not kick off an ANT task at the end of the build that has a target which sends a mail. This option depends entirely on your non-ANT build scripts failing on error... -Original Message- From: Ciramella, EJ [mailto:[EMAIL PROTECTED] Sent: 26

auto notification question...

2003-03-26 Thread Ciramella, EJ
Has anyone done some sort of auto notification? Since 3/4 of the builds done here are nmake and bat file based (the only ant related builds are the ones I've gotten time to convert), I'd like to have an email sent out saying the builds completed. With the ant build, that's no problem, there are t

RE: Repeating a command for each entry in a FileSet

2003-03-26 Thread Dominique Devienne
That's the purpose in live of ;-) --DD -Original Message- From: Tim Gordon [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2003 9:55 AM To: Ant Users List Subject: Repeating a command for each entry in a FileSet Hello Is there any way to perform the same command or set of commands

Re: IF task

2003-03-26 Thread Antoine Levy-Lambert
Stefan, Could you explain why you think it is not likely that makes its way into ant-core from ant-contrib ? I agree with Jose-Alberto Fernandez see this http://marc.theaimsgroup.com/?l=ant-dev&m=104765366212423&w=2 and with Costin Manolache see http://marc.theaimsgroup.com/?l=ant-dev&m=104765892

Repeating a command for each entry in a FileSet

2003-03-26 Thread Tim Gordon
Hello Is there any way to perform the same command or set of commands for each file in a FileSet? I want to be able to get a FileSet, matching all files on a pattern, and then do a separate exec for each file. Any ideas? Thanks Tim Gordon Allustra Limited 1 Royal Exchange Avenue London EC3V 3