ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Kulkarni" <>
Subject Question about war file and excluding folder
Date Wed, 29 Aug 2007 18:34:17 GMT
I have a file strutcure as below

                                                |            |
                                                |            --Test3
                                                -- Test2

In my war files i want to exclude all the directories and files after
"system" ,
i.e. i want to add system, but not Test1, Test2, Test 3 and all the files
under it

in my war file i tried to do the following

  <war basedir="${webroot}" destfile ="my.war"
webxml="${webroot}/WEB-INF/web.xml" excludes="**/*.class, **/web.xml,
{webroot}/configfiles/system/" update="true"
manifest="${webroot}/META-INF/MANIFEST.MF" >

But it still does all the directories under system, i also tried to exclude
{webroot}/configfiles/system/**, and {webroot}/configfiles/system/**.** dut
it does not work

Any ideas


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