tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy <ol...@apache.org>
Subject Re: svn commit: r1224955 - /tomcat/sandbox/trunk-mvn-build/tomcat-tests/src/test/java/org/apache/catalina/authenticator/TestFormAuthenticator.java
Date Tue, 27 Dec 2011 19:55:46 GMT
2011/12/27 Konstantin Kolinko <knst.kolinko@gmail.com>:
> 2011/12/27  <olamy@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-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: dev-help@tomcat.apache.org
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message