ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Kumar pippalapalli" <>
Subject Want to include application folder while creating war file
Date Fri, 17 Aug 2007 11:37:36 GMT
Hi all,

Iam using ant war task to generate application war file.Iam able to include
all the directories and files needed from application folder,
but iam not able to include application folder itself. I found that out when
i inflated the war file i created i.e all the files in the war file are
inflated without application folder.

Any help would be great.

<war destfile="${project.dir}/${}.war" basedir="${war.dir}" >

<fileset dir="${war.dir}">

<include name="*.jsp"/>


<webinf dir="${webinf}">

<include name="*.xml"/>

<include name="*.tld"/>

<include name="*.dtd"/>


<lib dir="${webinf}/lib">

<include name="*.jar"/>


<classes dir="${webinf}/classes">

<include name="**/*.class"/>

<include name="*.properties"/>



Thanks in advance,


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