You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Marc Logemann <de...@logemann.info> on 2002/06/11 12:47:51 UTC
prefix in fileset or different webinf type in WAR
Hi,
i have some handling problems with the nested <webinf> tag under <war> task.
suppose the following folder structure:
/root
/root/templates
/root/templates/sometemplate.wm
/root/src
/root/classes
no i want to make a WAR file of this structure. There is no problem at all, but with
the <webinf> tag. Cause i want to have all my templates under /WEB-INF/templates
i cant say <webinf dir="/templates"> cause this way all the content of /templates would
go into WEB-INF root instead of WEB-INF/templates.
in ZipFileSet there is a prefix attribute, this would be kind of perfect to have in
webinf.
So my questions:
do i am missing something with webinf in order to achieve this?
if this is not possible, wouldnt it be better to declare webinf tag as ZipFileSet?
Thx for input
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: prefix in fileset or different webinf type in WAR
Posted by Stefan Bodewig <bo...@apache.org>.
On Tue, 11 Jun 2002, Marc Logemann <de...@logemann.info> wrote:
> /root
> /root/templates
>
> no i want to make a WAR file of this structure. There is no problem
> at all, but with the <webinf> tag. Cause i want to have all my
> templates under /WEB-INF/templates i cant say <webinf
> dir="/templates">
But <webinf dir="/root" includes="templates/**" />.
Stefan
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>