Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 13223 invoked from network); 14 Apr 2011 01:34:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Apr 2011 01:34:22 -0000 Received: (qmail 82542 invoked by uid 500); 14 Apr 2011 01:34:22 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 82492 invoked by uid 500); 14 Apr 2011 01:34:22 -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 82483 invoked by uid 99); 14 Apr 2011 01:34:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 01:34:22 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RFC_ABUSE_POST,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mgainty@hotmail.com designates 65.55.111.97 as permitted sender) Received: from [65.55.111.97] (HELO blu0-omc2-s22.blu0.hotmail.com) (65.55.111.97) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2011 01:34:15 +0000 Received: from BLU142-W9 ([65.55.111.71]) by blu0-omc2-s22.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 13 Apr 2011 18:33:55 -0700 Message-ID: Content-Type: multipart/related; boundary="_140a70f8-24bb-4f6c-b773-b63f8cc69037_" X-Originating-IP: [76.119.45.69] From: Martin Gainty To: Ant Developers List Subject: RE: SSHExec - Feature request Date: Wed, 13 Apr 2011 21:33:54 -0400 Importance: Normal In-Reply-To: <6B0DF81DDD9F654C932FB34C8D7ACE620185EE04@mail-001.corp.automotive.com> References: <6B0DF81DDD9F654C932FB34C8D7ACE620185EE04@mail-001.corp.automotive.com> MIME-Version: 1.0 X-OriginalArrivalTime: 14 Apr 2011 01:33:55.0207 (UTC) FILETIME=[04995970:01CBFA44] --_140a70f8-24bb-4f6c-b773-b63f8cc69037_ Content-Type: multipart/alternative; boundary="_500bded1-7ee0-4d3d-918b-d4a2ce5563c4_" --_500bded1-7ee0-4d3d-918b-d4a2ce5563c4_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Dustin i thought ant sshexec task attriobute of outputproperty would accept the ou= tput from the command to a property? i would begoff -e which is escape character for unix ssh tasks http://www.stat.duke.edu/comp/security/ssh_man.html your refactor did'nt make it thru...you might want to consider inlining the= code to message body so we can see the refactor thanks=2C Martin Gainty=20 ______________________________________________=20 Jogi =E9s Bizalmass=E1gi kinyilatkoztat=E1s/Verzicht und Vertraulichkeitanm= erkung/Note de d=E9ni et de confidentialit=E9 Ez az =FCzenet bizalmas. Ha nem =F6n az akinek sz=E1nva volt=2C akkor k=E9rj=FCk= =2C hogy jelentse azt nek=FCnk vissza. Semmif=E9le tov=E1bb=EDt=E1sa vagy m=E1solat= =E1nak k=E9sz=EDt=E9se nem megengedett. Ez az =FCzenet csak ismeret cser=E9t szol= g=E1l =E9s semmif=E9le jogi alkalmazhat=F3s=E1ga sincs. Mivel az electronikus =FCzene= tek k=F6nnyen megv=E1ltoztathat=F3ak=2C ez=E9rt minket semmi felel=F6s=E9g nem = terhelhet ezen =FCzenet tartalma miatt. Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaeng= er sein=2C so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiter= leitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient l= ediglich dem Austausch von Informationen und entfaltet keine rechtliche Bin= dungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen w= ir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut =EAtre privil=E9gi=E9. Si vous n'=EAtes= pas le destinataire pr=E9vu=2C nous te demandons avec bont=E9 que pour sat= isfaire informez l'exp=E9diteur. N'importe quelle diffusion non autoris=E9e= ou la copie de ceci est interdite. Ce message sert =E0 l'information seule= ment et n'aura pas n'importe quel effet l=E9galement obligatoire. =C9tant d= onn=E9 que les email peuvent facilement =EAtre sujets =E0 la manipulation= =2C nous ne pouvons accepter aucune responsabilit=E9 pour le contenu fourni= . Subject: SSHExec - Feature request Date: Wed=2C 13 Apr 2011 12:10:06 -0700 From: dmowcomber@automotive.com To: dev@ant.apache.org I would like to suggest that we add an attribute to SSHExec called exitStat= usProperty so that the exit status can be set to a property when the ssh co= mmand is finished. There would be many uses for this such as testing if a f= ile exists on an ssh server by executing =91test =96e ${file}=92 which retu= rn with an exit code of 0 if exists or 1 if doesn=92t exist. I=92ve attache= d the necessary changes if anyone wants to commit them. Dustin MowcomberSof= tware Build Engineerdmowcomber@automotive.com tel.949.705.3260Source Inter= link Media1733 Alton Pkwy=2C Irvine=2C CA 92606www.automotive.com Confident= iality Notice- This electronic communication=2C and all information herein= =2C including files attached hereto=2C is private=2C and is the property of= the sender. This communication is intended only for the use of the individ= ual or entity named above. If you are not the intended recipient=2C you are= hereby notified that any disclosure of=3B dissemination of=3B distribution= of=3B copying of=3B or=2C taking any action in reliance upon this communic= ation=2C is strictly prohibited. If you have received this communication in= error=2C please immediately notify us by telephone=2C (714)-389-5000=2C an= d destroy all copies of this communication. Thank you. =20 --------------------------------------------------------------------- To unsubscribe=2C e-mail: dev-unsubscribe@ant.apache.org For additional commands=2C e-mail: dev-help@ant.apache.org = --_500bded1-7ee0-4d3d-918b-d4a2ce5563c4_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Dustin

i thought ant sshexec task attriobute of outputproperty would= accept the output from the command =3B to a property?

i would b= egoff -e which is escape character for unix ssh tasks
http://www.stat.du= ke.edu/comp/security/ssh_man.html

your refactor did'nt make it thru.= ..you might want to consider inlining the code to message body so we can se= e the refactor
thanks=2C
Martin Gainty
__________________________= ____________________
Jogi =E9s Bizalmass=E1gi kinyilatkoztat=E1s/Verzic= ht und Vertraulichkeitanmerkung/Note de d=E9ni et de confidentialit=E9
<= div> =3B
Ez az =FCzenet bizalmas.  =3BHa nem =F6n az akinek sz=E1nva volt=2C akkor k= =E9rj=FCk=2C hogy jelentse azt nek=FCnk vissza. Semmif=E9le tov=E1bb=EDt=E1sa vagy m=E1solat= =E1nak k=E9sz=EDt=E9se nem megengedett.  =3BEz az =FCzenet csak ismeret cser= =E9t szolg=E1l =E9s semmif=E9le jogi alkalmazhat=F3s=E1ga sincs.  =3BMivel az electronikus = =FCzenetek k=F6nnyen megv=E1ltoztathat=F3ak=2C ez=E9rt minket semmi felel=F6s=E9g nem = terhelhet ezen =FCzenet tartalma miatt.

Diese Nachricht ist vertraulich. Sollt= en Sie nicht der vorgesehene Empfaenger sein=2C so bitten wir hoeflich um e= ine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist= unzulaessig. Diese Nachricht dient lediglich dem Austausch von Information= en und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Ma= nipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt ueber= nehmen.
Ce message est confidentiel et peut =EAtre privil=E9g=
i=E9. Si vous n'=EAtes pas le destinataire pr=E9vu=2C nous te demandons ave=
c bont=E9 que pour satisfaire informez l'exp=E9diteur. N'importe quelle dif=
fusion non autoris=E9e ou la copie de ceci est interdite. Ce message sert =
=E0 l'information seulement et n'aura pas n'importe quel effet l=E9galement=
 obligatoire. =C9tant donn=E9 que les email peuvent facilement =EAtre sujet=
s =E0 la manipulation=2C nous ne pouvons accepter aucune responsabilit=E9 p=
our le contenu fourni.






Sub= ject: SSHExec - Feature request
Date: Wed=2C 13 Apr 2011 12:10:06 -0700<= br>From: dmowcomber@automotive.com
To: dev@ant.apache.org

I would li= ke 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 f= inished.

 =3B

There would be many uses for this such as testing if a file exists on an s= sh server by executing =91test =96e ${file}=92 which return with an exit co= de of 0 if exists or 1 if doesn=92t exist.

&nb= sp=3B

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

 =3B

Dustin Mow= comber

Software= Build Engineer

dmow= comber@automotive.com

 =3B<= /span>

tel.=

949.705.3260

=

3D"Source

Source Interlink Media=

1733 Alton Pkwy=2C Irvine= =2C CA 92606

= www.automotive.com

Confidentia= lity Notice- This electronic communication=2C and all information herein=2C= including files attached hereto=2C is private=2C and is the property of th= e sender. This communication is intended only for the use of the individual= or entity named above. If you are not the intended recipient=2C you are he= reby notified that any disclosure of=3B dissemination of=3B distribution of= =3B copying of=3B or=2C taking any action in reliance upon this communicati= on=2C is strictly prohibited. If you have received this communication in er= ror=2C please immediately notify us by telephone=2C (714)-389-5000=2C and d= estroy all copies of this communication. Thank you.



 =3B

=
--------------------------------------------------------------------- To unsubscribe=2C e-mail: dev-unsubscribe@ant.apache.org For additional commands=2C e-mail: dev-help@ant.apache.org = --_500bded1-7ee0-4d3d-918b-d4a2ce5563c4_-- --_140a70f8-24bb-4f6c-b773-b63f8cc69037_--