Change key of servlet api jar from "servletapi" to "servlet-api". The maven2 tests pull
this jar from the maven2 repository, and in there the jarfile has a different name from the jarfile in the maven1 repo where ant pulls it from :-(. git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/logging/trunk@427395 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -46,7 +46,7 @@ public class BasicServletTestCase extends TestCase {
|
||||
PathableClassLoader parent = new PathableClassLoader(null);
|
||||
parent.useExplicitLoader("junit.", Test.class.getClassLoader());
|
||||
parent.addLogicalLib("commons-logging");
|
||||
parent.addLogicalLib("servletapi");
|
||||
parent.addLogicalLib("servlet-api");
|
||||
|
||||
PathableClassLoader child = new PathableClassLoader(parent);
|
||||
child.setParentFirst(false);
|
||||
|
||||
Reference in New Issue
Block a user