ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zabel, Ian" <IZa...@cirqit.com>
Subject How to exclude *.jsp but include index.jsp
Date Wed, 26 Feb 2003 19:04:43 GMT
I am creating a zip file like so:
<zip destfile="webserver.zip" basedir="${src}" includes="jsp/**"
excludes="**/WEB-INF/,**/*.jsp" update="false"/>

There are many jsps in the jsp directory, but we only want to include one of
them in the zip, index.jsp. How can I do this?

None of these includes the index.jsp specified in the includes:

<zip destfile="webserver.zip" basedir="${src}"
includes="jsp/**,**/index.jsp" excludes="**/WEB-INF/,**/*.jsp"
update="false"/>

<zip destfile="webserver.zip" basedir="${src}"
includes="jsp/**,jsp/index.jsp" excludes="**/WEB-INF/,**/*.jsp"
update="false"/>

<zip destfile="webserver.zip" basedir="${src}"
includes="jsp/**,**/**index.jsp" excludes="**/WEB-INF/,**/*.jsp"
update="false"/>



How can I get this to work?

Ian.




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message