You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Carsten Ziegeler <cz...@apache.org> on 2005/02/08 12:52:56 UTC
Re: svn commit: r152661 - in cocoon/tags/RELEASE_2_1_6/src: java/org/apache/cocoon/components/modules/input/ContextPathModule.java
webapp/WEB-INF/cocoon.xconf
I guess you wanted to apply this to the branch and not to the release?
Carsten
giacomo@apache.org wrote:
> Author: giacomo
> Date: Tue Feb 8 03:28:21 2005
> New Revision: 152661
>
> URL: http://svn.apache.org/viewcvs?view=rev&rev=152661
> Log:
> Added input module that resolves to a real path similar to the
> RealPathModules but by use of a SourceResolver instead of the
> Context object (which always resolves to the context path). This allows
> to mount apps external of the servlet context path and still have a
> correct real path resolved in respect to the sitemap calling the module.
> As I couldn't fix the RealPathModule in a backward compatible way,
> becasuse {realpath:/} and {realpath:.} both resolve to the context
> root whereas {contextpath:/} resolves to the context root but
> {contextpath:.} resolves to the path of the respective sitemap, I've
> choosen to create a new Module for it.
>
> Added:
> cocoon/tags/RELEASE_2_1_6/src/java/org/apache/cocoon/components/modules/input/ContextPathModule.java
> Modified:
> cocoon/tags/RELEASE_2_1_6/src/webapp/WEB-INF/cocoon.xconf
--
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/
Re: svn commit: r152661 - in cocoon/tags/RELEASE_2_1_6/src: java/org/apache/cocoon/components/modules/input/ContextPathModule.java
webapp/WEB-INF/cocoon.xconf
Posted by Vadim Gritsenko <va...@reverycodes.com>.
Giacomo Pati wrote:
>
> Does anyone have an idea how to revert my commit?
In case somebody wants to know the answer... It is:
svn merge -r 153399:105800 \
http://svn.apache.org/repos/asf/cocoon/tags/RELEASE_2_1_6/
svn -m "Rolling back to 105800" ci
executed in the directory with cocoon-2.1.6 checkout. Where, 105800 is revision
when tag was created, and 153399 is revision after the change.
Vadim
Re: svn commit: r152661 - in cocoon/tags/RELEASE_2_1_6/src: java/org/apache/cocoon/components/modules/input/ContextPathModule.java
webapp/WEB-INF/cocoon.xconf
Posted by Giacomo Pati <gi...@apache.org>.
I'm really sorry, guys :-(
I havn't realized that I've switched from the branch to the release.
Does anyone have an idea how to revert my commit?
Carsten Ziegeler wrote:
> I guess you wanted to apply this to the branch and not to the release?
>
> Carsten
>
> giacomo@apache.org wrote:
>
>> Author: giacomo
>> Date: Tue Feb 8 03:28:21 2005
>> New Revision: 152661
>>
>> URL: http://svn.apache.org/viewcvs?view=rev&rev=152661
>> Log:
>> Added input module that resolves to a real path similar to the
>> RealPathModules but by use of a SourceResolver instead of the Context
>> object (which always resolves to the context path). This allows to
>> mount apps external of the servlet context path and still have a
>> correct real path resolved in respect to the sitemap calling the
>> module. As I couldn't fix the RealPathModule in a backward compatible
>> way, becasuse {realpath:/} and {realpath:.} both resolve to the
>> context root whereas {contextpath:/} resolves to the context root but
>> {contextpath:.} resolves to the path of the respective sitemap, I've
>> choosen to create a new Module for it.
>>
>> Added:
>>
>> cocoon/tags/RELEASE_2_1_6/src/java/org/apache/cocoon/components/modules/input/ContextPathModule.java
>>
>> Modified:
>> cocoon/tags/RELEASE_2_1_6/src/webapp/WEB-INF/cocoon.xconf
>
>
>
--
Giacomo Pati
Otego AG, Switzerland - http://www.otego.com
Orixo, the XML business alliance - http://www.orixo.com