RE: JSCH Help

2008-06-12 Thread Anderson, Rob (Global Trade)
Did you compile Ant from source? If so, you may not have the scp Ant classes. When Ant compiles, it will only compile the tasks that have their library dependencies met. So if you compile Ant from source, then jsch from source, you will not have the scp task in your Ant binaries. However if you com

JSCH Help

2008-06-12 Thread Chris Strzelczyk
Hello everyone, Forgive me if this is a basic question, however, I have not been able to find any answers online. I have tried Google, and the jsch site. I am having trouble getting 'scp' to work from an ant task using JSCH. I have loaded on SuSe Linux 10, ant 1.6.5 along with jsch 0.1.38 and

Re: Using the script tag, wanting to return a value

2008-06-12 Thread Jeremy Hanna
Thanks Gilbert and others. This is exactly what I needed to know - works great. It is, as my 4 year old nephew says, super-awesome. On Jun 12, 2008, at 2:01 AM, Rebhan, Gilbert wrote: Hi, Jeremy -Original Message- From: Jeremy Hanna [mailto:[EMAIL PROTECTED] Sent: Thursday, June 1

Re: JUnit task

2008-06-12 Thread Steve Loughran
Tim Visher wrote: Wow... let me feel sheepish for a bit as I blithely mentioned the acquisition of Ant in Action to its author (sometimes, reading signatures is helpful)... I took it at a complement. If you'd said it hadn't helped, then I'd be worried I suppose that means that help from

Re: how to check that a property exist

2008-06-12 Thread Gilbert Rebhan
[EMAIL PROTECTED] schrieb: but I don't know how to use it. My ant version is: Apache Ant version 1.6.5 compiled on June 2 2005 and I read that script task depends on external libraries not included in the Ant distribution. it's only the BeanScriptingFramework = bsf.jar and the language specifi

RE: how to check that a property exist

2008-06-12 Thread Patrizio.Ferlito
Thanks again !!! I'm looking at your last hint:

Re: JUnit task

2008-06-12 Thread Tim Visher
Wow... let me feel sheepish for a bit as I blithely mentioned the acquisition of Ant in Action to its author (sometimes, reading signatures is helpful)... I suppose that means that help from that book may be a little bit of a long shot, or was the junit task covered somewhat in depth in your book,

Re: JUnit task

2008-06-12 Thread Tim Visher
@Steve: I'm not too sure I understand what you're talking about. The junit task that ant 1.7 comes with works with junit 4. All of the tests I have written are 'pure' junit 4 tests and I've got the junit task running fine. I just think there needs to be better documentation written for the junit

RE: how to check that a property exist

2008-06-12 Thread Rebhan, Gilbert
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 1:42 PM To: user@ant.apache.org Subject: RE: how to check that a property exist /* Hi Gilbert, issue ii) solved using macrodef:

RE: how to check that a property exist

2008-06-12 Thread Patrizio.Ferlito
Hi Gilbert, issue ii) solved using macrodef: pollerEventIsSet, pollerValue: ${pollerValue} output: pollerEventIsSet-if: [echo] pollerEventIsSet, pollerValue: bnk01alm01 Any idea about issue i) ? Regards Patrizio -Origi

RE: how to check that a property exist

2008-06-12 Thread Patrizio.Ferlito
Hi Gilbert, thanks a lot for your hint but I would like to find a way without using antcontrib... After some tries here what I've found but I've two issues: i) a property defined in a target is not visible in another. How could I set, let's say, a 'global property' ? ii) a way to get 'your' $

Re: JUnit task

2008-06-12 Thread Steve Loughran
Tim Visher wrote: Thanks, I actually had done that query already and couldn't come up with anything particularly good. Most of it is outdated (JUnit 3, Ant 1.3, 1.5, etc.) and I don't really have time to translate them with almost 0 knowledge of ant. I was hoping for a little bit more focussed

Re: [patch] typedef error when using #

2008-06-12 Thread Steve Loughran
[EMAIL PROTECTED] wrote: Hi, Error occurs on 1.7 and 1.7.1 beta2. If I define a typedef with a # in the path ant won't run. I have included a patch and have not created an error, is this a known issue or already fixed? it wasnt known, but now it is https://issues.apache.org/bugzilla/show_bu

RE: Using the script tag, wanting to return a value

2008-06-12 Thread Rebhan, Gilbert
Hi, Jeremy -Original Message- From: Jeremy Hanna [mailto:[EMAIL PROTECTED] Sent: Thursday, June 12, 2008 3:56 AM To: user@ant.apache.org Subject: Using the script tag, wanting to return a value /* I'm using the script tag to run a ruby script and would like to return a value from the