Return-Path: Delivered-To: apmail-incubator-buildr-user-archive@locus.apache.org Received: (qmail 25482 invoked from network); 20 May 2008 02:22:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 May 2008 02:22:19 -0000 Received: (qmail 47102 invoked by uid 500); 20 May 2008 02:22:21 -0000 Delivered-To: apmail-incubator-buildr-user-archive@incubator.apache.org Received: (qmail 47092 invoked by uid 500); 20 May 2008 02:22:21 -0000 Mailing-List: contact buildr-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: buildr-user@incubator.apache.org Delivered-To: mailing list buildr-user@incubator.apache.org Received: (qmail 47081 invoked by uid 99); 20 May 2008 02:22:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 19 May 2008 19:22:21 -0700 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 May 2008 02:21:26 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JyHU3-0000DY-TY for buildr-user@incubator.apache.org; Mon, 19 May 2008 19:21:47 -0700 Message-ID: <17331993.post@talk.nabble.com> Date: Mon, 19 May 2008 19:21:47 -0700 (PDT) From: dhpeterson To: buildr-user@incubator.apache.org Subject: Re: Override JUnit version in 1.3.0 In-Reply-To: <483231E3.3040607@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: dhpeterson@gmail.com References: <17331761.post@talk.nabble.com> <483231E3.3040607@gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org I'm using this one: http://repo1.maven.org/maven2/junit/junit/4.4/ All I want to do is force Buildr to use JUnit 4.4 for testing. I use a Spring test runner class that depends on it! In 1.2.10 I hacked the JUNIT_VERSION directly in buildr/test.rb but I am sure there is a better way in 1.3.0 - especially since the source seems to suggest "VERSION" can be overridden. I just don't know how :) Dave Daniel Spiewak wrote: > > JUnit 4.4 isn't in the Maven repositories (that I could find). I > "solved" the problem by downloading the junit-4.4 JAR, renaming it to > "junit-4.3.1.jar" and then copying it over the JAR in > ~/.m2/repository/junit/junit-4.3.1/ :-) > > Probably not the best solution, that. > > Daniel > > dhpeterson wrote: >> Hi all, >> >> How do I override the version of JUnit in buildr 1.3.0. It still uses >> 4.3.1 >> but I want to force it to use JUnit 4.4 within my Rakefile. >> >> I've tried: >> >> Buildr::JUnit::VERSION = 4.4 >> >> and a bunch of other things, to no effect. >> >> Thanks in advance. >> >> Dave >> >> >> > > -- View this message in context: http://www.nabble.com/Override-JUnit-version-in-1.3.0-tp17331761p17331993.html Sent from the Buildr - User mailing list archive at Nabble.com.