Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 74039 invoked from network); 7 Nov 2002 11:14:36 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 7 Nov 2002 11:14:36 -0000 Received: (qmail 17075 invoked by uid 97); 7 Nov 2002 11:15:34 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 17058 invoked by uid 97); 7 Nov 2002 11:15:34 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 17046 invoked by uid 98); 7 Nov 2002 11:15:33 -0000 X-Antivirus: nagoya (v4218 created Aug 14 2002) Message-ID: <5DDFCC127CEED211A27200105A9CAB7B01615737@S64P10BM756> From: EXT / FOCAL MALAPRADE Roland To: "'Ant Users List'" Subject: RE: the 'resultproperty' property of the 'exec' task Date: Thu, 7 Nov 2002 10:11:21 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Organization: S.N.C.F. French Railways X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N what about... I think that only works on Ant 1.4 (1.5?) and above Roland. > -----Message d'origine----- > De : Dan Corneanu [mailto:cdan@savatech.ro] > Envoy=E9 : jeudi 7 novembre 2002 11:01 > =C0 : Ant Users List > Objet : the 'resultproperty' property of the 'exec' task >=20 >=20 > Hi there, >=20 > here is a simple question: How can I test for the value of=20 > the 'resultpropety' of an 'exec' task after the task was executed? > I have the following sequence in my ant script: >=20 > > > > >=20 > vmlauncher=3D"false" resultproperty=3D"exit.prop"> > line=3D"/assembly:${cs.src.dir}\${solution.name}\${tests.project > .name}\bin\Debug\${tests.project.name}.dll"/> > >=20 > in=3D"${cs.src.dir}\${solution.name}\${tests.project.name}\bin\D > ebug\TestResult.xml" > out=3D"${build.test.report.dir}\TestResults.html" > style=3D"dev/xsl/TestReport_html.xslt"> > > >=20 > > > >=20 > So I want to be able to make the build fail only after the=20 > results of the tests were rendered in HTML. > Wouldn't be appropriate to have an ' errorproperty ' like we=20 > have at the 'junit' task ? >=20 > Best regards,=20 > Dan. >=20 -- To unsubscribe, e-mail: For additional commands, e-mail: