geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anita kulshreshtha <a_kuls...@yahoo.com>
Subject Location of the log files
Date Thu, 16 Mar 2006 17:07:57 GMT
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 

Mime
View raw message