Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 40162 invoked from network); 19 Dec 2005 10:04:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Dec 2005 10:04:28 -0000 Received: (qmail 28516 invoked by uid 500); 19 Dec 2005 10:04:22 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 28352 invoked by uid 500); 19 Dec 2005 10:04:22 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 28341 invoked by uid 99); 19 Dec 2005 10:04:22 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2005 02:04:22 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of paranoiabla@gmail.com designates 66.249.82.205 as permitted sender) Received: from [66.249.82.205] (HELO xproxy.gmail.com) (66.249.82.205) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 Dec 2005 02:04:20 -0800 Received: by xproxy.gmail.com with SMTP id t15so778211wxc for ; Mon, 19 Dec 2005 02:04:00 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=q1HCbXqhV91LL/QjphMd0amtKtevDRx4rlIbEgLO+5pmeNLU3sI6kdSk59CNvu3IvdX9z39Y8EiyNC7B1y2XkrQzwTVl+NjIzM53d4WrBVctDg+OAAV5myRMNrgBeRB/4Q/Jxl+kRdgiTPmImieyqh10WNOlBfwpq0AJruRAACQ= Received: by 10.70.59.15 with SMTP id h15mr4312625wxa; Mon, 19 Dec 2005 02:03:59 -0800 (PST) Received: by 10.70.90.3 with HTTP; Mon, 19 Dec 2005 02:03:59 -0800 (PST) Message-ID: Date: Mon, 19 Dec 2005 10:03:59 +0000 From: Petar Tahchiev To: Ant Users List Subject: Re: New user In-Reply-To: <8490F0F67A8B804BB7E94918DD020E7602A1450D@mmisvr5.internal.msilm.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_43815_29766155.1134986639734" References: <8490F0F67A8B804BB7E94918DD020E7602A1450D@mmisvr5.internal.msilm.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_43815_29766155.1134986639734 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 19/12/05, Hooper, Paul wrote: > > I know this but it doesn't help with the problem : > > How to capture stdout and stderr from junit > How to use dir and file names with spaces > > > Thanks > > Paul > > -----Original Message----- > From: Petar Tahchiev [mailto:paranoiabla@gmail.com] > Sent: 19 December 2005 09:32 > To: Ant Users List > Subject: Re: New user > > On 19/12/05, Hooper, Paul wrote: > > > > Hello, > > > > I'm running ant on Solaris 9. > > All seems to be well. I have my Java project building etc. > > As part of the build script I am running various junit tests. > > My question is two fold: > > > > How do I ensure that I am able to capture the stdout and stderr from > > the unittests. > > I am having problems capturing this data. I have tried to use > > junitreport but to no avail. > > > > My directory paths and filenames have spaces in them. > > Junit is reporting errors saying cannot find file "../aa ass/ada ad > > .csv" for instance. > > How can I force ant to quote all directories and paths to allow them > > to be correctly interpreted with spaces in ? > > > > Thanks > > > > Paul > > > > _Confidentiality notice: Whilst this company has procedures in place > > and makes every effort to safeguard both Inbound and Outbound Emails, > > we cannot guarantee that attachments are Virus - Free or compatible > > with your systems and therefore we do not accept any liability in > > respect of viruses or computer problems experienced. This e-mail and > > any files transmitted with it are confidential and/or privileged. They > > > are for the intended recipient only. If you are not the intended > > recipient, you must not use, review, distribute, disclose, alter, > > print, copy, transmit or rely on this e-mail and any file transmitted > > with it. If you have received this e-mail and any file transmitted > > with it in error please notify the sender or Mitsui Sumitomo Insurance > > > (London Management) Ltd Registered 4th Floor, 71 Fenchurch St, London, > EC3M 4BS Company Number 1063340 email: > > response@msilm.com > > > > Syndicate 3210 (acting through its Managing Agent at Lloyd's), Mitsui > > Sumitomo Insurance (London) Limited and Mitsui Sumitomo Insurance > > Company Limited are all regulated by the Financial Services Authority. > > _____________________________________________________________________ > > This email has been scanned by the MessageLabs Email Security System. > > For more information please visit http://www.messagelabs.com/email > > ______________________________________________________________________ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional > > > commands, e-mail: user-help@ant.apache.org > > > > > With the junit task you can errorproperty=3D"name of property to set" and > failureproperty=3D"name of property to set" attributes and later to call > fail task with attribute if=3D"some of your properties". So if the tests > fail or errors occur properties with the names you granted will be > established. > > > -- > Regards, Petar! > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > _Confidentiality notice: Whilst this company has procedures in place and > makes every effort to safeguard both Inbound and Outbound Emails, we > cannot guarantee that attachments are Virus - Free or compatible with you= r > systems and therefore we do not accept any liability in respect of viruse= s > or computer problems experienced. This e-mail and any files transmitted w= ith > it are confidential and/or privileged. They are for the intended recipien= t > only. If you are not the intended recipient, you must not use, review, > distribute, disclose, alter, print, copy, transmit or rely on this e-mail > and any file transmitted with it. If you have received this e-mail and an= y > file transmitted with it in error please notify the sender or Mitsui > Sumitomo Insurance (London Management) Ltd Registered 4th Floor, 71 > Fenchurch St, London, EC3M 4BS Company Number 1063340 email: > response@msilm.com > > Syndicate 3210 (acting through its Managing Agent at Lloyd's), Mitsui > Sumitomo Insurance (London) Limited and Mitsui Sumitomo Insurance Company > Limited are all regulated by the Financial Services Authority. > _____________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > Have you tried to start ant with the -d ot -v options? Also with outfile=3D"yourFileName" attribute will genrate txt file that holds info. -- Regards, Petar! ------=_Part_43815_29766155.1134986639734--