I recently ran into a problem using Xdoclet along with unit tests that I had written. I had a log4j.properties file in / of my classpath but wasn’t receiving any log statements. I eventually realized the the xdoclet log4j.properties file was being referenced instead of my log4j.properties, both were “/log4j.properties” resources, but the xdoclet.jar appeared before my “/” reference in the classpath.
With that in mind, does it make sense to put xdoclet’s log4j properties file somewhere off of the / of the jar? Or is the real problem that xdoclet somehow ended up in my JUnit classpath (i.e., xdoclet should be in the classpath during code generation, but not at runtime)?
Thanks,
Dave |
[Xdoclet-user] /log4j.properties
Durham David R Jr Contr 805 CSPTS/SCE Tue, 21 Sep 2004 12:53:07 -0700
- RE: [Xdoclet-user] /log4j.properties Durham David R Jr Contr 805 CSPTS/SCE
- RE: [Xdoclet-user] /log4j.prope... Harkness, David