hi - i have exactly the same issue:
* i did what you mentioned (1-3)
* yes it copies the log4j.xml to the right place under src/test/
* BUT the testrunner the complains that it cannot find the file under the
projects root directory (where also the pom.xml sits)
log4j:ERROR Could not parse file
At 07:29 AM 2/24/2007, you wrote:
hi - i have exactly the same issue:
* i did what you mentioned (1-3)
* yes it copies the log4j.xml to the right place under src/test/
* BUT the testrunner the complains that it cannot find the file under the
projects root directory (where also the pom.xml sits)
Try adding something like the following to your log4j.xml, after the existing
logger entry...
root
level value=warn/
appender-ref ref=DBUNIT.DEBUG.LOG/
/root
You can always create a separate appender for loggers other than
com.company.sql instead of using the DBUNIT.DEBUG.LOG appender for
Try putting the log4j.xml in the working directory and not providing a
path (just the filename). Also run with -Dlog4j.debug to see what
log4j finds.
On 1/23/07, Lisa [EMAIL PROTECTED] wrote:
I have written some JUnit tests and put them in the standard layout for test
cases under Maven. The