Re: scripting and cygwin

2007-05-31 Thread yitzle
I apologize and would like to recall my last message. It sort of "leaked" (I entered the wrong email address) from the CygWin mailing list. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTE

Re: scripting and cygwin

2007-05-31 Thread yitzle
I fail to follow the logic behind that statement. You suggested that "those with IQ less than 80 have responded so far..." I noted that by your own reply, you are implying that you believe your IQ to be below 80. Your reply 1) is agreeing with what I said ("yes, ..."), yet it seems to be agreeing

Re: how to enable Java assertions (ie how to pass '-ea' to the jvm)

2007-05-31 Thread Doron Cohen
Thanks, I got it working now. It is btw in a , not in a , but I assume they are equivalent. Initially I was looking for a way to enable this from the comnand line, without modifying our build.xml files. With your feedback I found that adding this: to the target (which has

Re: how to enable Java assertions (ie how to pass '-ea' to the jvm)

2007-05-31 Thread Peter Reilly
Also ensure that fork="yes". Peter On 5/31/07, David Alves <[EMAIL PROTECTED]> wrote: Can you use a nested inside your tag to specify the -ea parameter? Something like: ... -Original Message- From: Doron Cohen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2

RE: how to enable Java assertions (ie how to pass '-ea' to the jvm)

2007-05-31 Thread David Alves
Can you use a nested inside your tag to specify the -ea parameter? Something like: ... -Original Message- From: Doron Cohen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 31, 2007 1:16 PM To: user@ant.apache.org Subject: how to enable Java assertions (ie how to pas

how to enable Java assertions (ie how to pass '-ea' to the jvm)

2007-05-31 Thread Doron Cohen
Hi, probably a trivial question but I couldn't find a working answer in the docs/archives/wiki/bugs. I have a Java assert statement in my code that is supposed to fail. Java compilation is with -source 1.4, which compiles these assertions. When running from Java command line, like this: java -e

Re: rename all files matching pattern in directory and below

2007-05-31 Thread Mark
--- Mark <[EMAIL PROTECTED]> wrote: > Hello, > > I want to make a task to rename all files of pattern > abc*.htm to index.htm recursively. > > I tried following the example toward the end of the > Move task documentation (i.e. adding a .bak > extension > to all files) but that didn't work. > >

Re: Ant sshexec random failures

2007-05-31 Thread ken77
Hi Chris... I am having the same exactly problem with the sshexec, the same script sometimes works, sometimes it gives me "Remote command failed with exit status -1" , I was wondering if you have found the reason for this and a possible solution ? this is driving me crazy since I can't find the

broken in antcontrib 1.0b3 ?!

2007-05-31 Thread Rebhan, Gilbert
Hi, i tried the most actual version of antcontrib = 1.0b3 but the assert task seem to be broken. ... assert works output with antcontrib 1.0b2 [echo] assert works output with antcontrib 1.0b3 Class net.sf.antcontrib.logic.Assert doesn't support the

Re: Running another target - can it be done?

2007-05-31 Thread Doug Lochart
yitzle wrote: That looks like what I want. Thanks! When you are self taught multiple tools, frameworks, etc on the job its hard to look through all the components, especially something like Ant, where, as long as it works, I'm pretty happy. I did look at the list of tasks, but some of the names

Strange property problem

2007-05-31 Thread Kevin Jackson
Hi all, I have a weird error caused by a property being wrong 50% of the time and correct 50% of the time. here's the relevant code: build.properties james.version=server-binary-next-major james.home=/var/james james.home.direct=/var/james-${james.version}

Re: Running another target - can it be done?

2007-05-31 Thread Peter Reilly
creates a new ant child context (project), this means than any properties, references set in that project will not appear in the caller project. Sometimes this is needed and sometimes not. Alternatives are to: - set dependenices up so that this antcall is not required - use macrodefs instead o