ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anil Kumar pippalapalli" <apippalapa...@gmail.com>
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.name}.war" basedir="${war.dir}" >

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

<include name="*.jsp"/>

</fileset>

<webinf dir="${webinf}">

<include name="*.xml"/>

<include name="*.tld"/>

<include name="*.dtd"/>

</webinf>

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

<include name="*.jar"/>

</lib>

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

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

<include name="*.properties"/>

</classes>

</war>

Thanks in advance,

anil.

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