Return-Path: Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 23317 invoked from network); 4 Jun 2003 04:12:19 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 4 Jun 2003 04:12:19 -0000 Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19NPbE-0003Jk-00 for ; Wed, 04 Jun 2003 06:10:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: commons-user@jakarta.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19NPEF-0002FJ-00 for ; Wed, 04 Jun 2003 05:46:23 +0200 From: dIon Gillard Subject: Re: -D and Maven Date: Wed, 04 Jun 2003 13:48:07 +1000 Lines: 21 Message-ID: References: <224224.1054667638179.JavaMail.bzarnett@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030529 X-Accept-Language: en-us, en In-Reply-To: <224224.1054667638179.JavaMail.bzarnett@mac.com> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Bryan Zarnett wrote: > Afternoon, > > In Maven, what is the best approach to pass the -D parameters down the tube so that Log4j and the classes it calls get the details? I am currently using the J2SE Logging in my code and have a custom logging properties file I want to set. > > I need to do a -Djava.util.logging.config.file=XXXX to Maven for my tests to pick this up. (or something to that extent) > > Thanks for any info. maven -Djava.util.logging.config.file=XXXX should do the trick, or am I missing something here? Oh, and if it's just maven stuff, see us over on the maven mailing lists... -- dIon Gillard, Multitask Consulting Blog: http://www.freeroller.net/page/dion/Weblog Work: http://www.multitask.com.au