On Tue, 3 Nov 2004, David Crossley wrote: > Dave Brondsema wrote: > > I'm using Forrest 0.6 which uses cocoon-20040902. In my cli.xconf I have: > > <exclude pattern="projects/**"/> > > <exclude pattern="**/"/> > > > > But I see output like this: > > > > X [0] projects/profiles.do BROKEN: No > > pipeline matched request: > > projects/profiles.do > > ^ tools/adf/javadocs/ > > ^ projects/ > > > > The 'projects' exclude doesn't seem to work, but the other excludes do > > work. I have also tried "/projects/**" and "projects/*". > > I tried to replicate your problem. Putting > a link in an actual xml document > <link href="/projects/help.do">projects help</link> > and using this match in my cli.xconf worked fine: > <exclude pattern="/projects/**"/> > > However when i added the following to site.xml > then it broke: > <projects label="Foo" href="projects/foo.html"/> > > Changing the cli exclude to be this, fixed it: > <exclude pattern="**projects/**"/> >
I still have problems. Here's a simple testcase: test.xml: ... <a href="foo/bar.baz">It</a> ... cli.xconf: ... <exclude pattern="foo/**"/> <exclude pattern="**foo/**"/> <exclude pattern="foo/bar.baz"/> <exclude pattern="**foo/bar.baz"/> ... And I still get this error: X [0] foo/bar.baz BROKEN: No pipeline matched request: foo/bar.baz What pattern do I need? -- Dave Brondsema : [EMAIL PROTECTED] http://www.brondsema.net : personal http://www.splike.com : programming http://csx.calvin.edu : student org --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
