Hi Tood,
Here is what I have done.
I have put log4j.properties in <basedir>/src/conf/
On project.xml:
...
<build>
...
<sourceDirectory>src/java</sourceDirectory>
<unitTestSourceDirectory>src/test</unitTestSourceDirectory>
<unitTest>
<includes>
<include>**/AllTests.java</include>
</includes>
<resources>
...
<resource>
<directory>src/conf</directory>
<includes>
<include>log4j.properties</include>
</includes>
</resource>
</resources>
</unitTest>
</build>
...
That way when running the test, maven copies the log4.properties in the
test-classes directory and you don't have to do anything special with the
classpath.
It works for me.
It does look very different from what you are already doing (with the
difference that you copy your log4j.properties in <classes> instead of
<test-classes>, so I don't know why it doesn't work for you?
Oscar
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]