Re: Operating System identification

2006-07-25 Thread Martin Gainty
Raghu- Tomcat- There is a property called htmlManagerServlet.serverOSName here is an example on how to obtain the value http://mail-archives.apache.org/mod_mbox/tomcat-dev/200606.mbox/[EMAIL PROTECTED] command line see if you can spawn/exec("uname") HTH Martin -- **

Mirror has bad md5checksum

2006-07-25 Thread Karl Zilles
Downloading ant from http://ant.apache.org/bindownload.cgi, I was directed to a mirror: apache.adult-pilot.net. I downloaded the file http://apache.adult-pilot.net/ant/binaries/apache-ant-1.6.5-bin.zip And compared the md5 checksum. It does not match. $ md5sum.exe apache-ant-1.6.5-bin.zip d

RE: SCP Auth Faild

2006-07-25 Thread Anderson, Rob (Global Trade)
Or specify trust="true" in either scp or sshexec tasks, to eliminate the possibility of this being an issue. -Rob A > -Original Message- > From: Michael Giroux [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 25, 2006 11:16 AM > To: Ant Users List > Subject: Re: SCP Auth Faild > > Make

Re: SCP Auth Faild

2006-07-25 Thread Michael Giroux
Make sure that the host name in your .ssh/known_hosts file is fully qualified. ex. hostname ssh-rsa ... hostname.mydomain.com ssh-rsa ... The first entry will not work, the second will. The docs jcraft docs describe this, but I have to admit that I overlooked it myself. HTH. -

RE: SCP Auth Faild

2006-07-25 Thread Anderson, Rob (Global Trade)
It should work. It works for me. I'm not sure why you are having problems with it. What distribution and version of ssh server are you using? There have been issues with early versions of sshd that do not support the diffie-hellman key exchange method implemented in jsch. -Rob A > -Origin

Re: for refid

2006-07-25 Thread Michael Giroux
Dominique, On 7/25/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: Which is what I suggested yesterday. A little longer, but not that much, and just one extra property for the dir. --DD Sorry, I did not understand what you were suggesting. The example really helps. Thanks. Michael --

Re: How can I use regular expression in task?

2006-07-25 Thread Dominique Devienne
You can't. You must use instead. --DD On 7/25/06, samuel cheung <[EMAIL PROTECTED]> wrote: Hi, How can I use regular expression in task? I have an ant call like this: how can I use regular expressesion to replace "IField1, IField2, IField3" with any characters? So that this replace will s

Re: for refid

2006-07-25 Thread Dominique Devienne
Right. All (normal) Ant types do not accept any attributes or nested elements when refid is used. But you can almost do it using: Which is what I suggested yesterday. A little longer, but not that much, and just one extra property for the dir. --DD On 7/25/06, Michael Giroux <[EMAIL PROTE

How can I use regular expression in task?

2006-07-25 Thread samuel cheung
Hi, How can I use regular expression in task? I have an ant call like this: how can I use regular expressesion to replace "IField1, IField2, IField3" with any characters? So that this replace will still work even if I 'A' implements more interface? Thank you. --

Re: for refid

2006-07-25 Thread Michael Giroux
Dominique, On 7/24/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: is a selector, and thus will never have a refid attribute. I'm not suggesting that accept a refid attribute. What I'm saying is that a fileset with a refid cannot contain a selector. This form is not allowed. In fac

RE: Am I being a dumbass - or is there an antcall bug?

2006-07-25 Thread Burgess, Benjamin
Assuming you are using the command "ant target1, target2, target3" then setting inheritall="true" on each of the antcall's will indeed guarantee that run_once_target will only be executed once, while dependency1 and 2 will still be called three times each. Target1 appears to be correct, while t

RE: Ant task to grep 'import' ?

2006-07-25 Thread RADEMAKERS Tanguy
Yes, use the task with a nested and a filterreader. /t >-Original Message- >From: samuel cheung [mailto:[EMAIL PROTECTED] >Sent: Tuesday, July 25, 2006 5:24 AM >To: user@ant.apache.org >Subject: Ant task to grep 'import' ? > >Hi, > >Is there an ANT task to grep all "imports" in each j

RE: setting mail priority ?!

2006-07-25 Thread Rebhan, Gilbert
thanks i modified = org\apache\tools\ant\taskdefs\email\EmailTask.java org\apache\tools\ant\taskdefs\email\Mailer.java org\apache\tools\ant\taskdefs\email\MimeMailer.java and used = msg.addHeader( "X-Priority", "1" ); works :-) Only tested on Win2K / Win2003 with Outlook, don't know, whether i

RE: SCP Auth Faild

2006-07-25 Thread PHILIPPE Johan
Been there, Done That. And the user name and password are absolute correct and absolutely straight forward. The error is indicating it cannot authenticate, which under the circumstances it should be able to do. With regards to using an ssh key, well keyboard-interactive is the standard I find my