ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Robert H - MWT" <>
Subject RE: A little help with the <war> task...
Date Thu, 02 Oct 2003 17:00:44 GMT
Thanks. That fixed it.

-Rob A

-----Original Message-----
From: Antoine Lévy-Lambert [] 
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}"
                        <classes dir="${build.classes.dir}"
excludes="**/ejb/*"/> -----Urspr√ľngliche Nachricht-----
Von: Anderson, Robert H - MWT []
Gesendet: Donnerstag, 2. Oktober 2003 00:54
An: ''
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}"/>
                                <fileset dir="${etc.dir}"
                                <fileset dir="${build.classes.dir}"

And I get the following error...

Buildfile: build.xml


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:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message