RE: Antnewbie - failed to create task or type httpget

2010-01-05 Thread Thomas Loy
Try using something like this: The classpath ref should look something like this and point to your antcontrib.jar file. Cheers, Tom Loy -Original Message- From: soochoi [mailto:choiso...@hotmail.com] Sent: Tuesday, January 05,

Antnewbie - failed to create task or type httpget

2010-01-05 Thread soochoi
Hello, I am new to Ant, so please help! :-) I am trying to use httpget in ant.. //--- //--- I am getting the following errors. //--- Problem: failed to create task or type httpget Cause: The

Re: How to get reference of Fileset.defaultPatterns

2010-01-05 Thread Antoine Levy Lambert
Raja, look at the mergePatterns method. It gives you access to the sum of defaultPatterns and additionalPatterns, it might work for you. Regards, Antoine Raja Nagendra Kumar wrote: Hi, We would like to log list of includes and exclude patterns used by a fileset. Is there a way to reach th

RE: sshexec on remote server

2010-01-05 Thread Thomas Loy
That is exactly what you need to do. Going through SSN does not activate interactive mode which normally runs you .profile or .bashrc or whatever. Your choice is to source it on the command line, or source it in the shell scripts your are trying to execute. Cheers, Tom Loy -Original

Re: sshexec on remote server

2010-01-05 Thread Antoine Levy Lambert
Hello Eran, maybe your problem is that you need to execute explicitly in your command the .profile or .bashrc or ... of the target user and host. you might want to do something like command=". .profile && cd ${env.scripts.folder.path} && ./PingServer" regards, Antoine eran123 wrote: Hi,