thats cause you mentioned it like that
<fileset dir="./pages"  excludes="*.war, **/*.nbattrs, *.java"/>
it would take the base dir as ./pages

add multiple fileset if you want some other dir too...


Panchasheel

-----Original Message-----
From: deepaksawdekar [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2003 12:48 PM
To: Struts Users Mailing List
Subject: Problem build war using Ant


I am using Ant to build my war file. my build file is 

<target name="createwar">
          <war destfile="${war.file.name}"  webxml="WEB-INF/myapp.xml">
                 <fileset dir="./pages"  excludes="*.war, **/*.nbattrs,
*.java"/>
               <webinf  dir="./etc"    includes="*.tld, ./struts-config.xml"
excludes="**/*.jar, **/*.class"/>
                <lib dir="./lib" > </lib>
                <classes dir="${build.dir}" includes="**/*.properties" />
          </war>
      </target>


When i run the build only content of pages dir is included, Can some one
help me to debug tht build file.

Thanks and Regards
Deepak

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to