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...
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]
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]
Re: Problem with Directories Outside of cocoon...
My cowardly approach was to cd webapps/cocoon cp -r tutorial EXP edit webapps/cocoon/sitemap.xmap to copy the reference to tutorial, and make the appropriate change in the copy to EXP, and then, of course, actually do something useful and new with my new webapps/cocoon/EXP directory. I figure that at the point I'm really happy with the need not to browse the tutorial or cocoon itself, I'll then edit the webapps/cocoon/sitemap.xmap to point exclusively to my EXP. Anyone wishing to disabuse me of a relative-newbie silliness, please feel free... Jaimes Blunt wrote: 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 -- Jerry Fowler - 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]
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! for now i've left WEB-INF/lib untouched (aka copied verbatim) but you should be fine without the hsqldb and deli jars--as far as i know these are only specific to the examples/tutorials stuff that comes bundled with cocoon (there may be others but i've not bothered to identify them). the WEB-INF/db directory is also specific only to the samples stuff bundled with cocoon so i think it safe to delete. if there is anything in WEB-INF/classes i think it also safe to delete as per the above reasoning. -- 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]
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! for now i've left WEB-INF/lib untouched (aka copied verbatim) but you should be fine without the hsqldb and deli jars--as far as i know these are only specific to the examples/tutorials stuff that comes bundled with cocoon (there may be others but i've not bothered to identify them). the WEB-INF/db directory is also specific only to the samples stuff bundled with cocoon so i think it safe to delete. if there is anything in WEB-INF/classes i think it also safe to delete as per the above reasoning. -- 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]