AW: ANT capabilities question

2004-09-29 Thread Jan . Materne
I had posted some coding on jGuru: http://www.jguru.com/forums/view.jsp?EID=1011907 Writing into registry http://www.jguru.com/forums/view.jsp?EID=897234 Read one value from registry http://www.jguru.com/forums/view.jsp?EID=1195566 export registry subtrees The "download manager" is in the wik

checksum task fails sometimes when it shouldn't

2004-09-29 Thread Jacob Kjome
I have tried using the task for verifying apache file distributions. It seems to work well in most cases, but fails consistently in others. I spoke with Henk Penning to report the non-validating distributions. However, when he tried verifying my findings, they all succeeded for him. Howeve

RE: ANT capabilities question

2004-09-29 Thread Srikrishna . Partha
Can you share some sample scripts for windows registry ? and download manager. If there is a way in ant to create install packages. ? what is the best way of doing it. Thanks srikrishna -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 29,

AW: AW: ANT capabilities question

2004-09-29 Thread Jan . Materne
I hope with creating MD5/PGP checksums :) Jan > -Ursprüngliche Nachricht- > Von: Ivan Ivanov [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 29. September 2004 18:17 > An: Ant Users List > Betreff: Re: AW: ANT capabilities question > > And I am creating upload manager :)) > > --- [EM

Re: AW: ANT capabilities question

2004-09-29 Thread Ivan Ivanov
And I am creating upload manager :)) --- [EMAIL PROTECTED] wrote: > I use Ant for backup (including Windows registry, ok > little bit Perl here). > And I have a download manager. > > Jan > > > -Ursprüngliche Nachricht- > > Von: Matt Benson [mailto:[EMAIL PROTECTED] > > Gesendet am: Mitt

AW: ANT capabilities question

2004-09-29 Thread Jan . Materne
I use Ant for backup (including Windows registry, ok little bit Perl here). And I have a download manager. Jan > -Ursprüngliche Nachricht- > Von: Matt Benson [mailto:[EMAIL PROTECTED] > Gesendet am: Mittwoch, 29. September 2004 17:37 > An: Ant Users List; Peter Savage > Betreff: Re: ANT c

Re: ANT capabilities question

2004-09-29 Thread Matt Benson
To add fuel to this fire, the greatest bulk of my involvement with Ant came as a result of my implementing an Ant build strategy for Net Express COBOL projects at the company where I work. I still use this daily. What fun to continue writing Java when they tell you to write COBOL... ;) -Matt --

Re: checking is a wildcard file exist

2004-09-29 Thread Matt Benson
HTH, Matt --- Don Hill <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to determine if a file exist in a > folder, > I know I can use the available for a file but I > don't know the > specific file name so for example I just want to > check for any files > with

Re: ANT capabilities question

2004-09-29 Thread RPearse
Don't forget that it makes a great installer framework and tasty breakfast spread. Robert [EMAIL PROTECTED] 09/29/2004 04:56 AM Please respond to "Ant Users List" <[EMAIL PROTECTED]> To "Ant Users List" <[EMAIL PROTECTED]> cc Subject Re: ANT capabilities question I am currently wri

checking is a wildcard file exist

2004-09-29 Thread Don Hill
Hi, I am trying to determine if a file exist in a folder, I know I can use the available for a file but I don't know the specific file name so for example I just want to check for any files with a ext of .xlf in folder /folder/folder/xlf-files, how would I do this, I just need to know if there ex

RE: ANT capabilities question

2004-09-29 Thread Dick, Brian E.
I am using Ant to build Sybase and Oracle databases. -Original Message- From: Peter Savage [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 28, 2004 8:29 PM To: [EMAIL PROTECTED] Subject: ANT capabilities question Hello, Everything I've read about Ant is Java specific. Is it only for

RE: Reading file attributes

2004-09-29 Thread Lennart Hellström (HF/EBC)
Oh, never mind, I solved my error by using the tags BUT, I'm still having problems creating the logic that I want, so please help me anywone! What I want to do is to copy the file x.txt and y.txt to xprev.txt and yprev.txt ONLY if xprev.txt and yprev.txt are write enabled. How can I

Re: Reading file attributes

2004-09-29 Thread Peter Reilly
You need to use ant 1.6 or higher. Peter Lennart Hellström (HF/EBC) wrote: On Sep 28, 2004, at 5:04 AM, Lennart Hellström (HF/EBC) wrote: I want to copy a file to a destination file only if the destination file is not readonly (it might be checked in on the version control system) I tried

Antwort: AW: passing 0 to exec

2004-09-29 Thread Christian . Konrad
Yes you're right, Jan! It's not Ant, it's Perl. The problem occurs when receiving the argument. Sorry for bothering you. Christian |-+> | | [EMAIL PROTECTED]| | | in-nrw.de| | |

RE: Reading file attributes

2004-09-29 Thread Lennart Hellström (HF/EBC)
> On Sep 28, 2004, at 5:04 AM, Lennart Hellström (HF/EBC) wrote: > > I want to copy a file to a destination file only if the destination > > file is not readonly (it might be checked in on the version control > > system) > > > > I tried using with failOnError="false" but strangely > the build

RE: ANT capabilities question

2004-09-29 Thread Fox, Cheri
Hi, I have been building java components using ant and I have just been given the job of building a new .net component. Can you give me an example of a run down of the differences? Thanks, Cheri Fox -Original Message- From: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED] Sent: Tuesday

IGNORE * Re: ant v1.6.2 reporting as v1.6.1

2004-09-29 Thread jfuller
apologies system classpath was including a rogue ant jar...no fun, Ant v1.6.2 reports version fine. -Jim > was wondering if anyone else is getting v1.6.2 reporting itself as v1.6.1 > ( via -v commandline option) ...seems like one of my windows machines either > has a copy of ant hiding somewher

AW: passing 0 to exec

2004-09-29 Thread Jan . Materne
works for me Jan foreach $arg (@ARGV) { print "- $arg\n"; } C:\TEMP\anttest>ant perltest Buildfile: build.xml perltest: [exec] - 0 BUILD SUCCESSFUL Total time: 0 seconds > -Ursprüngliche Nachricht- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL P

passing 0 to exec

2004-09-29 Thread Christian . Konrad
Hi, I'm calling a perl script using the exec task. But it seems like ant does not handle passing the value "0" as an argument to exec. Am I right? exec ... arg value=0 /exec In the upper case the perl script doesn't receive a value. Other passed numbers are accepted. Thanks in advance, Chr

ant v1.6.2 reporting as v1.6.1

2004-09-29 Thread jfuller
was wondering if anyone else is getting v1.6.2 reporting itself as v1.6.1 ( via -v commandline option) ...seems like one of my windows machines either has a copy of ant hiding somewhere on the path and I am too dense to not be able to find it or perhaps there is something else going wrong. I ha

Re: ANT capabilities question

2004-09-29 Thread jfuller
I am currently writing a book about how to use Ant for all sorts of things outside of its normal rolefrom xml publishing management to managing small web farmsAnt is seductive because it is easy and highly capable...to directly answer your question Ant is definately not just for Java pro