You need to move your input directory up a level like: <webinf dir="${deploy.home}/WEB-INF/" />
If that upper dir has extra things you don't want in the distribution, use includes: <webinf dir="${deploy.home}/WEB-INF/"> <include name="pages/*.jsp"/> </webinf> -----Original Message----- From: Barry L. Kline [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 15, 2002 11:19 AM To: [EMAIL PROTECTED] Subject: JSPs under WEB-INF/pages/ -- how to include in WAR file using ANT? I have taken to heart everyone's suggestions and have placed my JSPs under the WEB-INF/pages directory. So far, no problem. When I use ANT's war task I can't seem to get the directory structure to remain intact. e.g.: WEB-INF/pages/mypage.jsp WEB-INF/pages/mypage2.jsp becomes: WEB-INF/mypage.jsp WEB-INF/mypage2.jsp I've tried: <webinf dir="${deploy.home}/WEB-INF/pages" /> and <webinf dir="${deploy.home}/WEB-INF/pages/" /> both with the same result. The docs indicate that using the <webinf> element is what I should use. Any suggestions? Thanks Barry -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>