Hello, Your web application sure is an unusual one. I'm just wondering how you manage to execute the C/C++ executables in your war file. I think setting the -x bit would make use of the same mechanism. Regarding the shared library files that need to be copied into the WEB-INF/lib directory, i suggest that you install those into your internal or local repo and declare those as dependencies of your war project.
Cheers! Nap On 6/22/06, Lucie Chan <[EMAIL PROTECTED]> wrote:
Hope this is the right forum to post these questions (the following are running on a Unix platform): I'm using maven to build a web application (i.e. to generate a war file). I have some c/c++ excutables in a directory which need to be packaged in the WAR file. I've noticed that all the executables have the excution bit (x) removed and they become read-only files after the build. Is there a way to preserve the "x" bit? For now, I manually run a "chmod u+x" on these files, but I'm hoping for a better solution. Also, I have some c/c++ shared library files that need to be copied into WEB-INF/lib directory after the build. Since maven generates the WEB-INF/lib directory for me, how can I copy other third party libraries into WEB-INF/lib without doing it manually after the build? Thanks. Lucie