Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 21481 invoked from network); 27 Jul 2004 19:39:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 27 Jul 2004 19:39:32 -0000 Received: (qmail 45362 invoked by uid 500); 27 Jul 2004 19:39:21 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 45319 invoked by uid 500); 27 Jul 2004 19:39:20 -0000 Mailing-List: contact user-help@ant.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 user@ant.apache.org Received: (qmail 45306 invoked by uid 99); 27 Jul 2004 19:39:20 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.18.98.36] (HELO brmea-mail-4.sun.com) (192.18.98.36) by apache.org (qpsmtpd/0.27.1) with ESMTP; Tue, 27 Jul 2004 12:39:18 -0700 Received: from phys-ha1sun-2 ([129.144.135.65]) by brmea-mail-4.sun.com (8.12.10/8.12.9) with ESMTP id i6RJaw53027534 for ; Tue, 27 Jul 2004 13:36:58 -0600 (MDT) Received: from conversion-daemon.ha1sun-mail1.sfbay.sun.com by ha1sun-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.26 (built Mar 31 2004)) id <0I1I00301ZO030@ha1sun-mail1.sfbay.sun.com> (original mail from Maurice.Feskanich@Sun.COM) for user@ant.apache.org; Tue, 27 Jul 2004 12:39:16 -0700 (PDT) Received: from Sun.COM (proxima.SFBay.Sun.COM [129.144.28.109]) by ha1sun-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.26 (built Mar 31 2004)) with ESMTP id <0I1I0030HZXGLE@ha1sun-mail1.sfbay.sun.com> for user@ant.apache.org; Tue, 27 Jul 2004 12:39:16 -0700 (PDT) Date: Tue, 27 Jul 2004 12:39:03 -0700 From: Maurice Feskanich Subject: Re: HTML report problem with junitreport task. Sender: Maurice.Feskanich@Sun.COM To: Ant Users List Reply-to: Maurice.Feskanich@Sun.COM Message-id: <4106AF57.7FF1F81A@Sun.COM> MIME-version: 1.0 X-Mailer: Mozilla 4.79C-CCK-MCD [en] (X11; U; SunOS 5.9 sun4u) Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT X-Accept-Language: en References: X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Something simple I noticed is that your fileset in the junitreport task includes Test-*.xml, but the files that show up from junit are TEST-*.xml. (Difference of case.) Maury Kavita Tippanna wrote: > > Can anbody please look into this problem And guide me?? I'm lost in this > problem :( > > Thanks in advance. > > -Kavita. > > -----Original Message----- > From: Kavita Tippanna > Sent: Monday, July 19, 2004 1:15 PM > To: 'Ant Users List' > Cc: Sudindar Rao; Mysore Ravishankar > Subject: RE: HTML report problem with junitreport task. > > Hi, > Thanks again for your valuable suggestions. > > I tried showoutput="true" but without any success :( . Problem is all the > same again. > > -Kavita > > -----Original Message----- > From: Mani G. Iyer [mailto:iyer@rcn.com] > Sent: Friday, July 16, 2004 7:12 PM > To: 'Ant Users List' > Subject: RE: HTML report problem with junitreport task. > > Try using showoutput="true" in your junit task. Let me know. Thanks. > > mani > > -----Original Message----- > From: Kavita Tippanna [mailto:kavitat@andale.com] > Sent: Friday, July 16, 2004 8:31 AM > To: 'Ant Users List' > Subject: RE: HTML report problem with junitreport task. > > Hi Mani, > > First of all thanks for your quick response. :-) > > Given below are the two file which i see in my reports directory. > 1)TEST-test.vhub.lister.services.listerflows.OneStepListerFlowsTest.xml, > 2)TESTS-TestSuites.xml > > and in my reports/html dir i see the below file > 1)junit-noframes.html > > I have attached the files too if in case you find them usefull to get the > root of the problem. > > Thanks again.. > > -Kavita. > > -----Original Message----- > From: Mani G. Iyer [mailto:iyer@rcn.com] > Sent: Friday, July 16, 2004 5:33 PM > To: 'Ant Users List' > Subject: RE: HTML report problem with junitreport task. > > In your reports directory, what .xml files do you see? > > Mani > > -----Original Message----- > From: Kavita Tippanna [mailto:kavitat@andale.com] > Sent: Friday, July 16, 2004 6:04 AM > To: 'user@ant.apache.org' > Subject: HTML report problem with junitreport task. > > Hi all, > > We use ant1.6.1 & j2sdk1.4.2. I have a problem with generating html reports > with junitreport task. > > Problem goes like this, > > "when I run my junit report task it runs fine without any errors but I do > not see any entries found in html reports produced. " > *It says tests '0' Errors '0' & failures '0' & success rate 'Nan' where > as I have some tests & are passing. > *Test-testcasename.xml is generated with proper entries. junit.jar is > included in ANT_HOME/lib. > * Other necessary jars I could find in the path ANT_HOME/lib as they come > with ant 1.6.1. > > My task is very simple which is as below.. > > > > > > name="test.vhub.lister.services.listerflows.OneStepListerFlowsTest" > todir="./reports"/> > > > > > > > > When i run the task with -verbose mode every thing looks fine. But when run > with -debug mode I could notice some "Could not load class" statements which > I'm pasting below with the junit/junitreport task outputs. > > [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 42.265 sec > [junit] Output: > [junit] Running > Test->test.vhub.lister.services.listerflows.OneStepListerFlowsTest.testOneSt > epListerSaveFlow() > [junit] in Create New Id......... > [junit] Deleting Ad with ID : 741933 > > Could not load a dependent class > (com/sun/media/jai/codec/FileSeekableStream) for type image > Could not load a dependent class (com/jcraft/jsch/UserInfo) for type sshexec > Could not load a dependent class (com/jcraft/jsch/UserInfo) for type scp > Could not load a dependent class (org/apache/commons/net/SocketClient) for > type rexec > Could not load class (org.apache.tools.ant.tasksdefs.cvslib.CvsVersion) for > type cvsversion > Could not load a dependent class (com/starbase/starteam/Item) for type > stlist > Could not load a dependent class (org/apache/commons/net/SocketClient) for > type telnet > Could not load a dependent class (org/apache/commons/net/ftp/FTP) for type > ftp > Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend > Could not load a dependent class (com/starbase/starteam/Item) for type > stcheckin > Could not load a dependent class (com/starbase/starteam/Item) for type > stcheckout > fileset: Setup scanner in dir C:\kavitat\home\tests\reports with patternSet{ > includes: [Test-*.xml] excludes: [] } > [junitreport] Using Xalan version: Xalan Java 2.4.1 > [junitreport] Transform time: 250ms > > am i missing something?? I tried working with lower versions ant too & > ended with same problem. Please guide me as I'm new to ant. > > Thanks in advance. > > -Kavita. > > ------------------------------------------ > Andale Information Technologies > Kavita Tippanna > Associate QA - White Box Engineer > kavitat@andale.com > Andale Information Technologies > II nd Block, 4th floor > Prestige Blue Chip Software Park > No 9, Hosur Road > Bangalore > tel: 080-51114012 > ------------------------------------------ > Want a signature like this? > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org -- Maury Feskanich DReAM Support --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org