sun-web.xml and war export
is there an option to force the war-export to include the sun-web.xml file? I am deploying to a sun server, so I need this file included. I have read previous posts (some from years ago) asking for the ability to either include or exclude this file, though it seems currently it is always excluded. Is there anyway to change this? If for no other reason to save me the time of adding it in myself when I am rapidly deploying. Thanks
[439 byte] By [
jbjonesjr] at [2007-11-26 6:45:23]

# 3
The problem is that the sun-web.xml is specific to the server you're deploying to. (It might look like the one for the bundled PE but that's just by accident:-()
Also different containers (like the Sun Web Server, the Application Server) use the same file name but different schemas/DTD's for that file:-(
So we decided to not include it.
But you have the source, everything is done via Ant;-) Look at the build.xml and nbproject/build-impl.xml in your project;-)
I hope that helps;-)
-- Marco
mw46 at 2007-7-6 15:05:27 >
