Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 26079 invoked from network); 10 Apr 2009 15:26:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Apr 2009 15:26:13 -0000 Received: (qmail 58646 invoked by uid 500); 10 Apr 2009 15:26:13 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 58584 invoked by uid 500); 10 Apr 2009 15:26:13 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 58574 invoked by uid 99); 10 Apr 2009 15:26:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 15:26:13 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of michael.d.dick@gmail.com designates 209.85.220.174 as permitted sender) Received: from [209.85.220.174] (HELO mail-fx0-f174.google.com) (209.85.220.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Apr 2009 15:26:04 +0000 Received: by fxm22 with SMTP id 22so1075650fxm.9 for ; Fri, 10 Apr 2009 08:25:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=Iz9zGQpNt/RpM0ca3XGJOn32iC0LaewJJQH1gnnvFbc=; b=TZvMTBWWpHUzSPjE+WI5EEnwValdjFEtE+0ujvJ4Z0H0K+2QcIngJ8ht6XXUexPEeg tjeVulOQvRWZFbobqGk+PBoMkZr6wHE2fe9NFWvRddvv58pr/en6vdUYJsiu43sBTZE4 XSOn4l/FV8CLpqMtJY13hosReYX7+EX+BtoGY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=dhsu8hUv1JnqRuYZUHNVgSsy4FBuxYU9HaUbzA+Qy+uBGZrVXNbIo+EeVHB0UWv/VR yGMAGR+UfK3diVz+FEbvm60Hfsl0sIb7GTALV9F1OomsgJX4xYSByqXa/qMkflLEvr18 2gLMvM4LLEITRvI64b7h33STtMZUEypHvr3A4= MIME-Version: 1.0 Received: by 10.223.110.200 with SMTP id o8mr1102309fap.56.1239377143363; Fri, 10 Apr 2009 08:25:43 -0700 (PDT) In-Reply-To: <1239376749170-2616702.post@n2.nabble.com> References: <1239376749170-2616702.post@n2.nabble.com> Date: Fri, 10 Apr 2009 10:25:43 -0500 Message-ID: <72c1350f0904100825x724bdafcx3ccf82bcf76c6463@mail.gmail.com> Subject: Re: Running new test case after fixing src. From: Michael Dick To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=001636c5a9b15f796c046734fa6c X-Virus-Checked: Checked by ClamAV on apache.org --001636c5a9b15f796c046734fa6c Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Ravi, Short answer : no. You do not need to do mvn -o clean package every time. It sounds like the second time you ran mvn test -Dtest=3D<> maven used the jars from your local repository instead of using your working copy= . Did you run everything from the "root directory" of openjpa? -mike On Fri, Apr 10, 2009 at 10:19 AM, rpalache wrot= e: > > Hi All, > > I am working on a fix for openJPA issue. > I developed a test case to demonstrate the issue and I can break it with > downloaded trunk openJPA code. > > ran mvn test =96Dtest=3D<> > > I can see assertion failure, as expected. > > I modified the openjpa source code to fix the issue, added some debug > statements into it to see if my changed code is picked next time I run th= e > test case. > > I ran mvn =96o clean compile > > Ran mvn test =96Dtest=3D<> > > I did not see the debug statement that I added in my class and also the > test case failed again with same assertion failures. > > Now I ran mvn -o clean package (which takes almost 60mins+ ) and then ra= n > my test again , which ran successfully. > > Do I have to run the complete "mvn =96o clean package" everytime I modifi= ed > source code ? > > Please help. > > Regards, > Ravi. > -- > View this message in context: > http://n2.nabble.com/Running-new-test-case-after-fixing-src.-tp2616702p26= 16702.html > Sent from the OpenJPA Developers mailing list archive at Nabble.com. > > --001636c5a9b15f796c046734fa6c--