My latest exploration involves Jetty (latest stable version), Cocoon 2.0.4 (and it seems to work well with 2.1 also), and editing apps I'm working on.
Before Jetty...(Resin and Tomcat)...editing a sub-sitemap and all associated files was a snap. I simply placed a symbolic link to my files under the 'mount' directory.
And I just figured out how to modify the 'src' directory of Cocoon 2.0.4, do a ./build.sh, then create a war file and place in the webapps directory of Jetty. My modifications would then spin out from the cocoon.war file when starting Jetty.
Now for the rub. If I modify the 'src' directory of cocoon by, say, adding a symbolic link to my working files directory, when I eventually create the cocoon.war file, the symbolic link has changed to a normal directory with the contents of the symbolic link copied into the new regular directory (getting confusing here.) Once the war file expands, all works fine. Such a conversion of a symbolic link to a hard link actually makes sense...unless you have to tweak your files a bit.
The cocoon.war file expands, via Jetty, into a /tmp directory on my Linux box. I can change files, whatever, to this directory space and see the results. Problem is when I shut down Jetty, and start again, all my edits to this directory space under /tmp disappear, as the war file will expand again erasing the previous edits. Also, if I delete the war file from the Jetty webapps space, the next start of Jetty deletes the files of my app under /tmp.
So....I guess my first question is how to include symbolic links in a war file?
Also, if I place the expanded cocoon.war directory into the Jetty webapps directory, upon start of Jetty this 'cocoon' directory space just appears via the browser as a file system...no servlets get executed. Any way to change the configuration of Jetty to recognize this space as servlets to be executed? This would make editing alot easier.
Thanks for trying to answer this current riddle. Those who have tried will hopefully be able to shed some light...
Jon L.
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
