Thanks. That fixed it. -Rob A
-----Original Message----- From: Antoine Lévy-Lambert [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 2:17 AM To: Ant Users List Subject: AW: A little help with the <war> task... Hi Robert, the <webinf/> and <classes/> nested elements are already fileset(s). So you should write <webinf dir="${etc.dir}" includes="*struts*,tiles*,validation*"/> <classes dir="${build.classes.dir}" excludes="**/ejb/*"/> -----Ursprüngliche Nachricht----- Von: Anderson, Robert H - MWT [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 2. Oktober 2003 00:54 An: '[EMAIL PROTECTED]' Betreff: A little help with the <war> task... I am having trouble creating a war file with Ant 1.6alpha. Here is the target in my build.xml.... <target name="war"> <war destfile="${war.file}" webxml="${etc.dir}/web.xml"> <fileset dir="${web.dir}"/> <lib dir="${lib.dir}"/> <webinf> <fileset dir="${etc.dir}" includes="*struts*,tiles*,validation*"/> </webinf> <classes> <fileset dir="${build.classes.dir}" excludes="**/ejb/*"/> </classes> </war> </target> And I get the following error... Buildfile: build.xml war: BUILD FAILED C:\Documents and Settings\rhanderson\My Documents\work\usr\rhanderson\ccb-web\build.xml:26: The <zipfileset> type doesn't support the nested "fileset" element. Any help would be appreciated. Thanks, Robert Anderson Sr. Web Administrator Menlo Logistics (503) 450-2880 desk (503) 781-4726 cell --------------------------------------------------------------------- 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]