> > 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. 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]