2011/12/27 Konstantin Kolinko <knst.koli...@gmail.com>: > 2011/12/27 <ol...@apache.org>: >> Author: olamy >> Date: Tue Dec 27 17:36:19 2011 >> New Revision: 1224955 >> >> URL: http://svn.apache.org/viewvc?rev=1224955&view=rev >> Log: >> fix path >> >> Modified: >> >> tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/catalina/authenticator/TestFormAuthenticator.java >> >> >> private FormAuthClient() throws Exception { >> Tomcat tomcat = getTomcatInstance(); >> - File appDir = new File(getBuildDirectory(), "webapps/examples"); >> + File appDir = new File(getBuildDirectory(), "/examples"); > > Are you on Linux? The above should be just "examples". yes. See change in getBuildDirectory() (return "target") As with a maven structure, the examples webapp is now on his own project, the war is expanded before test phase to target/examples and various resources are available in this path.
> >> Context ctx = tomcat.addWebapp(null, "/examples", >> appDir.getAbsolutePath()); >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: dev-h...@tomcat.apache.org >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org > For additional commands, e-mail: dev-h...@tomcat.apache.org > -- Olivier Lamy Talend: http://coders.talend.com http://twitter.com/olamy | http://linkedin.com/in/olamy --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org