> Take a look at sitemap[1] in cocoon-forms-impl; there is following
> snippet:
>
> <map:match pattern="resource/external/forms/**.js">
> <map:read
> src="resource://org/apache/cocoon/forms/resources/{1}.js"
> type="servletLinkRewriter"/>
> </map:match>
>
> It matches all request for js files so in your case you would need to
> create more specific matcher (for paths related to HTMLArea) and you
> are done.
I propose to have a a parameter we can set in the sitemap for readers
indicating that the read resource is deprecated.
This parameter will be read in the o.a.c..r.AbstractReader and log a
warning in case of (is a System.out.println also needed?).
<map:match pattern="resource/external/forms/**.js">
<map:read src="resource://org/apache/cocoon/forms/resources/{1}.js"
type="servletLinkRewriter">
<map:parameter name="deprecated" value="true"/>
</map:match>
WDYT?