Return-Path: Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 37830 invoked by uid 500); 27 Jun 2003 22:50:14 -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 37818 invoked from network); 27 Jun 2003 22:50:14 -0000 Received: from adsl-67-122-217-237.dsl.snfc21.pacbell.net (HELO svsmtp01.SVTECHNOLOGY.COM) (67.122.217.237) by daedalus.apache.org with SMTP; 27 Jun 2003 22:50:14 -0000 Received: From svmail01.svtechnology.com ([192.168.253.3]) by svsmtp01.SVTECHNOLOGY.COM (WebShield SMTP v4.5 MR1a); id 1056754220282; Fri, 27 Jun 2003 15:50:20 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: ${junit.fork} Date: Fri, 27 Jun 2003 15:50:19 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ${junit.fork} Thread-Index: AcM8+srSGwsaqKGVQHqCAforeblXIwAA1S9A From: "Michael Finger" To: "Ant Users List" , X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Jacqui, =20 is equivlant to=20 i.e. ${junit.fork}is a property. Mike -----Original Message----- From: Jacqui Guerrero [mailto:jacqui@groxis.com] Sent: Friday, June 27, 2003 3:25 PM To: Ant Users List Subject: ${junit.fork} Does anyone know what fork=3D${junit.fork} does when used in a junit = task: How is this different than ? Thanks, Jacqui -----Original Message----- From: Jacqui Guerrero [mailto:jacqui@groxis.com] Sent: Thursday, June 26, 2003 12:39 PM To: Ant Mailing List Subject: FW: Question on logging Okay, below is the verbose output for one test: [junit] = 'org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner' [junit] 'com.groxis.test.product.grokker.MyFilesPluginTest' [junit] 'filtertrace=3Dtrue' [junit] 'haltOnError=3Dfalse' [junit] 'haltOnFailure=3Dfalse' [junit] 'formatter=3Dorg.apache.tools.ant.taskdefs.optional.junit.SummaryJUnit ResultFormatter' [junit] 'showoutput=3Dfalse' [junit] 'formatter=3Dorg.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResu ltFormatter,D:\Projects\Grokker\test\reports\TEST-com.groxis.test.product= .gr okke r.MyFilesPluginTest.xml' [junit] 'propsfile=3DD:\Projects\Grokker\junit1328172904.properties' [junit] [junit] The ' characters around the executable and arguments are [junit] not part of the command. One thing I notice is that my basedir: D:\Projects\Grokker is not my = current working directory. Is it necessary to have the junit...properties file stored in same place as the log files? Also, regarding the forking, I = need to fork each test because I am testing against a Swing application which requires separate event queues and such. I can't seem to figure out why nothing is written to the TEST-*.xml = files when the test passes! Anyone???? Below are my ant specs: Apache Ant version 1.5.2 compiled on February 28 2003 Buildfile: BasicAcceptanceTests.xml Detected Java version: 1.4 in: c:\j2sdk1.4.1_02\jre Detected OS: Windows 2000 parsing buildfile BasicAcceptanceTests.xml with URI =3D file:D:/Projects/Grokker/t est/scripts/BasicAcceptanceTests.xml Project base dir set to: D:\Projects\Grokker [property] Loading = D:\Projects\Grokker\test\scripts\runbasictest.properties Build sequence for target `runtests' is [init, runtests] Complete build sequence is [init, runtests] Thanks, Jacqui -----Original Message----- From: Nathan Christiansen [mailto:Nathan_Christiansen@tni.com] Sent: Thursday, June 26, 2003 12:08 PM To: jacqui@groxis.com Subject: RE: Question on logging Mine are older than yours. (9 July 2002) There are only two things that you are doing that are different from the = way I do it. One, you are forking the VM with . And two, you are = calling each test separately instead of using . Have you tried running ant in verbose mode to see more of what it is = doing? (ant -v) Other than that I don't have any more suggestions. I'm stumped. -- Nathan Christiansen Tahitian Noni International http://www.tahitiannoni.com -----Original Message----- From: Jacqui Guerrero [mailto:jacqui@groxis.com] Sent: Thursday, June 26, 2003 12:53 PM To: Nathan Christiansen Subject: RE: Question on logging The printsummary change did not fix it. Perhaps I have old .jar files? = What is the date of your optional.jar file? Mine is 10/2/2002? Perhaps I = should download the latest? Thanks, Jacqui --------------------------------------------------------------------- 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