Thanks for the response,
My dir strucute is
webgui
|_ build #contains the build file
|_ classes #Where build stores the class
|_ etc # contains all my config files.
|_ lib # contains depending jar file like jar files of struts tld etc.
|_ pages # contains jsp files
|_ src # contains .java files.
Thanks and regards
Deeapk.
-----Original Message-----
From: Navjot Singh [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 23, 2003 12:21 PM
To: Struts Users Mailing List; deepaksawdekar
Subject: RE: Problem build war using Ant
hi deepak,
Posting the directory structure would have been great help.
BTW, which version of Ant are you using? If any less than 1.5.3, switch
RIGHT NOW. Lower version are buggy in terms of getting classes and lib
tasks.
hth
Navjot Singh
|-----Original Message-----
|From: deepaksawdekar [mailto:[EMAIL PROTECTED]
|Sent: Friday, August 22, 2003 10:18 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]