Return-Path: Delivered-To: apmail-buildr-users-archive@www.apache.org Received: (qmail 66608 invoked from network); 26 Apr 2010 19:22:58 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 26 Apr 2010 19:22:58 -0000 Received: (qmail 82911 invoked by uid 500); 26 Apr 2010 19:22:58 -0000 Delivered-To: apmail-buildr-users-archive@buildr.apache.org Received: (qmail 82875 invoked by uid 500); 26 Apr 2010 19:22:58 -0000 Mailing-List: contact users-help@buildr.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@buildr.apache.org Delivered-To: mailing list users@buildr.apache.org Received: (qmail 82867 invoked by uid 99); 26 Apr 2010 19:22:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 19:22:58 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [74.125.82.172] (HELO mail-wy0-f172.google.com) (74.125.82.172) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Apr 2010 19:22:50 +0000 Received: by wyb35 with SMTP id 35so2868020wyb.17 for ; Mon, 26 Apr 2010 12:22:28 -0700 (PDT) Received: by 10.216.176.143 with SMTP id b15mr467049wem.155.1272309748423; Mon, 26 Apr 2010 12:22:28 -0700 (PDT) Received: from jhuiskamp-2.local (karos_health.acceleratorcentre.net [209.222.173.133]) by mx.google.com with ESMTPS id d16sm279729wej.21.2010.04.26.12.22.27 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Apr 2010 12:22:28 -0700 (PDT) Message-ID: <4BD5E7F1.5080704@karoshealth.com> Date: Mon, 26 Apr 2010 15:22:25 -0400 From: Jeremy Huiskamp User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: users@buildr.apache.org Subject: system properties for unit tests Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi folks, I'm trying to set some system properties for my junit test code to pick up. I'm specifying them like so: $ jruby -J-Dkey=value -S buildr clean test The system props are picked up by the main buildr process, but not being passed on to the jvm instance used to run the unit tests. Am I missing something simple? I'm planning on looking into environment/profile switching but a simple sysprop setting mechanism would be ideal for me at the moment. Thanks, Jeremy