it was lack of sleep, have solved it.

{1} works much better than {0} :)


Sully wrote:

I have just checked 2.1 out of cvs and built without any local.b*.properties files using ./ webapp

I am running ./ servlet for my quick testing. I'm trying to generate a list of thumbnails from a directory of images, the directory generator is working without any trouble, however it appears that there is a problem with the matcher for the reader.

The samples appear to be working correctly.

I'm using the following pipeline at the beginning of all the pipelines in the root sitemap.

<map:match pattern="test/th-*">
  <map:read type="imageresource" mime-type="image/jpg" src="{0}">
    <map:parameter name="width" value="50"/>
    <map:parameter name="height" value="20"/>

the url I'm accessing is: http://localhost:8888/test/th-011.jpg

the error I'm receiving is:

org.apache.cocoon.ResourceNotFoundException: Error during resolving of the input stream: org.apache.excalibur.source.SourceNotFoundException: file:/home/sully/cvs/cocoon-2.1/build/webapp/test/th-011.jpg doesn't exist.

making it a standard reader doesn't fix the problem.

if I modify the matcher to something like test/* (and access /test/011.jpg) then it works perfectly.

I'm running Gentoo Linux with Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02)

it's quite late, so possibly I just need some sleep :)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to