Sample Sitemap.xmap file
Title: Sample Sitemap.xmap file Hey Guys, I have created a new webapps directoryt for Cocoon 2.0.3 with Tomcat by copying the entire Cocoon directory over like some pof you suggested. I am trying to trim down the sitemap file though so that I dont include all of the samples directories and whatnot and seem to be having a tough time with it. Does anyone have a sitemap file that is cleaned up that I could use to start from, or does anyone have ny other ideas of creating a new webapp? Thanks All Jaimes Blunt
RE: Sample Sitemap.xmap file
Thanks for the sample file, but I am having some problems with it, getting the following error: ComponentSelector could not find the component for hint: wildcard Jaimes -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:54 AM To: [EMAIL PROTECTED] Subject: RE: Sample Sitemap.xmap file Jaimes, Here is a VERY simple sitemap that only takes a request for a PDF file and process the input XML file against the appropriate XSL file. This may be a good starting point if you don't need a bunch of other stuff. Hope it helps! Bob SITEMAP.XMAP ?xml version=1.0 encoding=iso-8859-1? map:sitemap xmlns:map= http://apache.org/cocoon/sitemap/1.0; !-- use the standard components -- map:components map:generators default=file/ map:transformers default=xslt/ map:readers default=resource/ map:serializers default=html/ map:selectors default=browser/ map:matchers default=wildcard/ map:transformers default=xslt/ /map:components map:pipelines map:pipeline !-- Respond to *.pdf requests -- map:match pattern=*.pdf map:generate src={1}.xml/ map:transform src=bol.xsl/ map:serialize type=fo2pdf/ /map:match /map:pipeline /map:pipelines /map:sitemap -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 10, 2002 11:54 AM To: [EMAIL PROTECTED] Subject: Sample Sitemap.xmap file Hey Guys, I have created a new webapps directoryt for Cocoon 2.0.3 with Tomcat by copying the entire Cocoon directory over like some pof you suggested. I am trying to trim down the sitemap file though so that I dont include all of the samples directories and whatnot and seem to be having a tough time with it. Does anyone have a sitemap file that is cleaned up that I could use to start from, or does anyone have ny other ideas of creating a new webapp? Thanks All Jaimes Blunt - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Problem with Directories Outside of cocoon...
Title: Problem with Directories Outside of cocoon... Hi Guys, I currently have cocoon 2.0.3 installed and running on Tomcat 4.1.12. I am able to edit my sitemap under the webapps/cocoon directory to recognize new xml and xsl's, however I now want to create a new webapp and use cocoon to parse and transform the xml's. I seem to be having some problems doing this. My question is, do I need to copy all of the cocoon files over to the new webapp, or is it possible to point the requests for the new webapp to the sitemap in the cocoon directory. Any ideas would be mych appreciated. Thanks All Jaimes Blunt
RE: Problem with Directories Outside of cocoon...
Do you have any idea if I have to keep all of the files in the WEB-INF\lib directory, the WEB-INF/db directory and everything in the WEB-INF/classes directory? Jaimes -Original Message- From: Jacob L E Blain Christen [mailto:[EMAIL PROTECTED]] Sent: Monday, October 07, 2002 11:55 AM To: [EMAIL PROTECTED] Subject: Re: Problem with Directories Outside of cocoon... Problem with Directories Outside of cocoon...[snipped all because it wasn't plain text, sorry but I'm a snob in this regard] Here's what I did: 1) copied all of $COCOON_HOME/WEB-INF into the root of my new webapp 2) copied $COCOON_HOME/sitemap.xmap into the root of my new webapp 3) trimmed/updated WEB-INF/web.xml and WEB-INF/cocoon.xconf to be specific to my webapp 4) trimmed all the cocoon and cocoon-samples specific stuff out of the WEB-INF directory tree 5) trimmed/updated the sitemap.xmap to be specific to my webapp This was from memory but I think this is all I had to do. Also, I use the 2.1-dev version from CVS and so I update my development webapps by copying all from $COCOON_HOME/WEB-INF/lib into my webapps' WEB-INF/lib directory and check for major changes in WEB-INF/cocoon.xconf and make changes acoordingly. Enjoy! -- Jacob L E Blain Christen Entheal LLC - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]