From dev-return-86439-apmail-ant-dev-archive=ant.apache.org@ant.apache.org Wed Apr 13 19:21:05 2011 Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 89482 invoked from network); 13 Apr 2011 19:21:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2011 19:21:04 -0000 Received: (qmail 84336 invoked by uid 500); 13 Apr 2011 19:14:25 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 84304 invoked by uid 500); 13 Apr 2011 19:14:25 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 84296 invoked by uid 99); 13 Apr 2011 19:14:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 19:14:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [12.131.237.150] (HELO mail1.automotive.com) (12.131.237.150) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 19:14:16 +0000 Received: from mail1.automotive.com ([10.0.0.23]) by mail1.automotive.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 13 Apr 2011 12:13:43 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----_=_NextPart_001_01CBFA0E.66352CB8" Subject: SSHExec - Feature request Date: Wed, 13 Apr 2011 12:10:06 -0700 Message-ID: <6B0DF81DDD9F654C932FB34C8D7ACE620185EE04@mail-001.corp.automotive.com> X-MS-Has-Attach: yes X-MS-TNEF-Correlator: Thread-Topic: SSHExec - Feature request Thread-Index: Acv6DmXwXQRyooEETkWVphbuJVt5TA== From: "Mowcomber, Dustin" To: X-OriginalArrivalTime: 13 Apr 2011 19:13:43.0828 (UTC) FILETIME=[E7F52540:01CBFA0E] X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01CBFA0E.66352CB8 Content-Type: multipart/related; type="multipart/alternative"; boundary="----_=_NextPart_002_01CBFA0E.66352CB8" ------_=_NextPart_002_01CBFA0E.66352CB8 Content-Type: multipart/alternative; boundary="----_=_NextPart_003_01CBFA0E.66352CB8" ------_=_NextPart_003_01CBFA0E.66352CB8 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I would like to suggest that we add an attribute to SSHExec called exitStatusProperty so that the exit status can be set to a property when the ssh command is finished. =20 There would be many uses for this such as testing if a file exists on an ssh server by executing 'test -e ${file}' which return with an exit code of 0 if exists or 1 if doesn't exist. =20 I've attached the necessary changes if anyone wants to commit them. =20 Dustin Mowcomber Software Build Engineer dmowcomber@automotive.com =20 =20 tel. 949.705.3260 =20 =20 Source Interlink Media 1733 Alton Pkwy, Irvine, CA 92606 www.automotive.com =20 Confidentiality Notice- This electronic communication, and all information herein, including files attached hereto, is private, and is the property of the sender. This communication is intended only for the use of the individual or entity named above. If you are not the intended recipient, you are hereby notified that any disclosure of; dissemination of; distribution of; copying of; or, taking any action in reliance upon this communication, is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone, (714)-389-5000, and destroy all copies of this communication. Thank you. =20 ------_=_NextPart_003_01CBFA0E.66352CB8 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I would = like to suggest that we add an attribute to SSHExec called = exitStatusProperty so that the exit status can be set to a property when = the ssh command is finished.

 

There would = be many uses for this such as testing if a file exists on an ssh server = by executing ‘test –e ${file}’ which return with an = exit code of 0 if exists or 1 if doesn’t exist.

 

I’ve = attached the necessary changes if anyone wants to commit = them.

 

D= ustin Mowcomber

S= oftware Build Engineer

dmowcomber@automotive.com

<= o:p> 

t= el.

9= 49.705.3260

S= ource Interlink Media

17= 33 Alton Pkwy, Irvine, CA 92606

www.automotive.com =

= Confidentiality Notice- This electronic communication, and all = information herein, including files attached hereto, is private, and is = the property of the sender. This communication is intended only for the = use of the individual or entity named above. If you are not the intended = recipient, you are hereby notified that any disclosure of; dissemination = of; distribution of; copying of; or, taking any action in reliance upon = this communication, is strictly prohibited. If you have received this = communication in error, please immediately notify us by telephone, = (714)-389-5000, and destroy all copies of this communication. Thank = you.



 

------_=_NextPart_003_01CBFA0E.66352CB8-- ------_=_NextPart_002_01CBFA0E.66352CB8 Content-Type: image/jpeg; name="image001.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Description: image001.jpg Content-Location: image001.jpg /9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAQAAA/+4ADkFkb2JlAGTAAAAAAf/b AIQABQQEBAQEBQQEBQgFBAUICQcFBQcJCwkJCQkJCw4LDAwMDAsODAwNDg0MDBAQEREQEBcXFxcX GhoaGhoaGhoaGgEGBgYLCgsUDg4UFxIPEhcaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoaGhoa GhoaGhoaGhoaGhoaGhoaGhoa/8AAEQgANABqAwERAAIRAQMRAf/EAKkAAAIDAQEBAAAAAAAAAAAA AAUGAwQHCAIAAQEAAwEBAQAAAAAAAAAAAAAAAQIDBAUGEAAABQIFAQUEBQYJDQAAAAABAgMEBRES ABMUBgchMUEiFQhRYTIWQmIjMzRxU3MkNRhScrLSQ2O0Rlez00RUZHQlVWVmFyc3EQACAgEDAgMF CAMAAAAAAAAAARECAyESBBMFUWEUMXGBMjPwQaHhIlJiU7HRgv/aAAwDAQACEQMRAD8AYWzZAsi+ HerKWWdiboZvQpwPUbr80o191MfWWs9q6TrB89Wur6itIShF9sNN1xTiKfSUQiRZK8rtIil43+Io mTOShDh4R8A0xnmrkeKysq29xpjeNZFtdq+8NbkYud48qK7ddvVEWZBsSt6gmRNDNG0o9KmGvXGG C6w8Xel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r914ru3pXEoDbuzzDN355dm3aOL1mnt1GkqvqMm7w5uTdbX v9+IApMfOPN23yvl6PzNlka/K0mt8vcVy9D0t0mXfT6Vv1sAaV/7W/7e7P8Abe3Ak//Z ------_=_NextPart_002_01CBFA0E.66352CB8 Content-Type: image/jpeg; name="image004.jpg" Content-Transfer-Encoding: base64 Content-ID: Content-Description: image004.jpg Content-Location: image004.jpg /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIf IiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/wAALCAAyAAEBAREA/8QAHwAAAQUBAQEB AQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1Fh ByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZ WmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXG x8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/9oACAEBAAA/APVfOk9aZRRRTtp9K0do 9BX/2Q== ------_=_NextPart_002_01CBFA0E.66352CB8-- ------_=_NextPart_001_01CBFA0E.66352CB8 Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org ------_=_NextPart_001_01CBFA0E.66352CB8--