Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-06 Thread Sylvain Goulmy
Hi Sylvain, I have taken the sources from the trunk version and i compiled T7. Can you please give me an example of the declaration of the ressource i should do in my context in order to have the benefit of this functionnality ? I don't understand the loader part of your comment in the bugzilla

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-06 Thread Sylvain Goulmy
Hi Sylvain, I have tested your functionnality thanks to the description you give in your code. This is just EXACTLY what i wanted. I can define an external directory, the ressources are searched in my application and then in the directory defined in the configuration, and icing on the cake you

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-06 Thread Sylvain Laurent
Here is the preview of the documentation : http://ci.apache.org/projects/tomcat/tomcat7/docs/config/context.html#Virtual_webapp (this is a nightly snapshot of the tomcat 7 branch) On 6 déc. 2011, at 17:31, Sylvain Goulmy wrote: Hi Sylvain, I have taken the sources from the trunk version

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-06 Thread Sylvain Laurent
On 6 déc. 2011, at 18:07, Sylvain Goulmy wrote: Hi Sylvain, I have tested your functionnality thanks to the description you give in your code. This is just EXACTLY what i wanted. I can define an external directory, the ressources are searched in my application and then in the directory

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-05 Thread Sylvain Goulmy
Hi Christopher, What does it mean to extend an existing file? Replace it or do some kind of horrendous merge? Here is the order of the ressource research : - Files from my application - Files from the EDR If the ressource is defined both in my app and in the EDR directory then the one from

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-05 Thread Sylvain Goulmy
Well, what is described in this ticket seems to concern Tomcat in the Eclipse environment, i'd like to have the functionnality on the live environment, i'll keep on watching your patch to see if that can give me the functionnality i'm looking for. Thank you for this information. On Fri, Dec 2,

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-05 Thread Sylvain Laurent
It's not for eclipse only. The ticket talks about eclipse because that was the main motivation for the feature, but it's totally independent. On 5 déc. 2011, at 15:15, Sylvain Goulmy wrote: Well, what is described in this ticket seems to concern Tomcat in the Eclipse environment, i'd like to

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-02 Thread Sylvain Laurent
keep a watch on https://issues.apache.org/bugzilla/show_bug.cgi?id=51741 . When it is implemented, it should give you this functionality. On 30 nov. 2011, at 14:58, Sylvain Goulmy wrote: So the effect is that multiple physical directories must be searched for a given resource?

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-12-02 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sylvain, On 11/30/11 8:58 AM, Sylvain Goulmy wrote: These directories are defined as extension of my application and another important thing is that i can also extend files which are at the root of my application (as index.html). What does it

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-11-30 Thread Pid
On 29/11/2011 17:47, Sylvain Goulmy wrote: Hi all, I'd like to know it is possible to have equivalent functionality to the extended document root provided by the WebSphere product. This feature allows you to define a location outside the webapp to make contribution without having to

Re: Tomcat 7 - New attribut aliases in the context configuration item

2011-11-30 Thread Sylvain Goulmy
So the effect is that multiple physical directories must be searched for a given resource? Correct. The alias maps a given path to an external directory. Ok, that's what i had understood. Can you give an example of how you would like it to work? Here is the description of the EDR

Tomcat 7 - New attribut aliases in the context configuration item

2011-11-29 Thread Sylvain Goulmy
Hi all, I'd like to know it is possible to have equivalent functionality to the extended document root provided by the WebSphere product. This feature allows you to define a location outside the webapp to make contribution without having to redeploy the application. This mechanism first checks if