Joerg, thanks for the fixes. Glad my fumbling around can help. Upayavira, thanks for the pointer on the URL. I tried again using this (and other variations) in my cli.xconf file:
<uri type="replace" src-prefix="/samples/hello-world/" src="hello.html" dest="build/webapp/done/hello.html"/> But, regardless of what URL I use, it still stops after building the working directory and giving me the same error in the brokenlinks.xml file: <link message="UnnamedSelector: ComponentSelector could not find the component for hint [request] (key [request])">/samples/hello-world/hello.html</link> I'm not sure what to do differently, so hopefully one of you knows what this means... About my hopeful usage, I'm the webmaster for a non-profit web-zine on international disability news, policy issues, etc. We want to provide our content as text and PDF, as well as HTML, so visitors can read it offline if they like. Hence, my foray into XML. But I want to serve static content because we don't really need to dynamically generate anything and many of our visitors come from non-profit organization offices and/or developing countries and have bandwidth and time constraints, i.e. I don't want to make users with pay per hour connections and slow modems in Brazil or India wait for Cocoon to generate a large PDF on the fly before downloading it. Forrest would work fine to dynamically generate/statically serve, except I also need users to be able to email articles off the site. I use some annoyingly unstable CGI for this now and would love to find a better solution, like Cocoon's sendmail action or logicsheet. So I'm hoping to use the CLI to generate static HTML, rtf, and PDF content, AND use the Cocoon web app to deal with sendmail. If I can get the CLI to work, I'll probably have a whole new series of newbie questions about sendmail in the future. If not, maybe I'll just use Forrest or Xalan with FOP to generate the static content. This is all still in the planning stages, so I'm open to suggestions. Thanks, Steve On 7/19/03 3:00 AM, "Upayavira" <[EMAIL PROTECTED]> wrote: >> The brokenlinks.xml file contained "<link message="UnnamedSelector: >> ComponentSelector could not find the component for hint [request] (key >> [request])">build/webapp/welcome.xml</link>". Does this refer to >> webapp/sitemap.xmap? > > Okay, I don't immediately understand why you're getting the > UnnamedSelector error, but the one thing I do spot is the URL you are > requesting is wrong. You need to use just the bit that is given to > Cocoon. So if your URL to access Cocoon when running as a servlet is > http://localhost:8080/cocoon/foo/bar.html, then the URL you pass to the > CLI is just /foo/bar.html. > > Try that and see how that does. > > Have you considered using the <uri> node in the xconf file to specify > your destination? You can do a lot more with it than if you specify the > URL on the command line. > >> Here is my cli.xconf file below. Thank you for any corrections you (or >> anyone experienced with the CLI) can offer. > > Are you willing to say a bit about what you intend to use the CLI for? I > don't tend to hear much about people's planned usage of it. > > Regards, Upayavira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
