Mike M. wrote:
Richard Frovarp wrote:
Mike M. wrote:
Hi,
We've been using tomcat with lenya 1.2.3. Unfortunately, I now need
to move
lenya to oracle app server, which requires me to deploy via war/ear.
The way
that lenya builds, it jams all its files straight into the tomcat
directory
instead of packaging up a war. I can generate a war by hand, however,
if I need
This won't fix the build problem, but symlinks should work just fine.
Might need to make a post build script or something like that to remove
what is put in there and to create the symlink(s).
Maybe a backwards way to look at it, but could you add a `cp -r` to your war
build script? That is, copy the
content from your deployment dir to you war build dir as part of the war
build? May or may not be cleaner than
dealing with symlinks, but is more platform independent.
No, neither of these is what I'm looking for. You normally can't add a symlink
to a jar. And if you do it after the fact, oracle app server will delete the
files pointed to by the symlink when it redeploys.
The cp -r is exactly what I do not want. I don't want to deploy my pubs. I
want them to live separately and have the war only deploy lenya code.
we actually started this for 1.2.x (similar to 1.4) but unfortunately
never finished it,
whereas I am not sure what the reason was why we never finished it. IIRC
we worked on it for about 3-5 days, so you might want
to consider it.
Cheers
Michi
I think I'm going to have to go back to using tomcat unfortunately...
-m
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--
Michael Wechner
Wyona - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
+41 44 272 91 61
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]