Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 27422 invoked from network); 16 Mar 2006 17:08:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Mar 2006 17:08:27 -0000 Received: (qmail 5562 invoked by uid 500); 16 Mar 2006 17:08:23 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 5217 invoked by uid 500); 16 Mar 2006 17:08:21 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 5189 invoked by uid 99); 16 Mar 2006 17:08:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Mar 2006 09:08:20 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_WHOIS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.201.186] (HELO web31706.mail.mud.yahoo.com) (68.142.201.186) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 16 Mar 2006 09:08:20 -0800 Received: (qmail 97449 invoked by uid 60001); 16 Mar 2006 17:07:57 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Oqpd19nafNLbDxk45k4SWKgGnaA/7v7udEWPo/KtDRNt7lye7K59pykQqx/dmy7G2rG+41xRgdYxbp5DTSsichPNT024Uh98UFvdeLGyjMT7O7Ty2eAsbbVe0OrYKhUWbn44Fa/rcPd9NnWCCtx2sm5ITY+neVm9vaRscz8tkm0= ; Message-ID: <20060316170757.97447.qmail@web31706.mail.mud.yahoo.com> Received: from [69.134.164.198] by web31706.mail.mud.yahoo.com via HTTP; Thu, 16 Mar 2006 09:07:57 PST Date: Thu, 16 Mar 2006 09:07:57 -0800 (PST) From: anita kulshreshtha Subject: Location of the log files To: dev@geronimo.apache.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi, Many test programs use log4j.properties file with a line : log4j.appender.R.File=target/test-reports/network.log or a line like this in the *Test.java : props.put("file", "target/login-audit.log"); In maven1 builds they are taken as relative to the build directory. But in m2 build they are not being resolved consistently. Here is an example where it is resolved to : Caused by: java.io.FileNotFoundException: C:\DOCUME~1\User\LOCALS~1\Temp\target\login-audit.log (The system cannot find the path specified) at java.io.FileOutputStream.openAppend(Native Method) How are these resolved? Thnaks Anita __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com