ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Robert H - MWT" <Anderson.Rob...@menlolog.com>
Subject A little help with the <war> task...
Date Wed, 01 Oct 2003 22:53:45 GMT
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


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