Strange, since Ear's code is War's code with a minor change (webxml to
appxml) and the rest of the stuff comes from Jar which extends Zip which has
the support for FileSets.
Perhaps you should raise a bug for this in bugzilla? Anyone else have any
ideas?
Bye,
Les
> -----Original Message-----
> From: Keith Kee [mailto:[EMAIL PROTECTED]]
> Sent: 04 May 2001 15:16
> To: [EMAIL PROTECTED]
> Subject: RE: how to ear with 1.4?
>
>
> The ear task doesn't seem to handle multiple fileset tags, or nested
> fileset.
> for instance,
> <ear earfile="${deploy.dir}/classes/${name}.ear"
> appxml="${src.dir}/metadata/application.xml">
> <fileset dir="${build.dir}/staging"/>
> <fileset dir="${build.dir}/ejb"/>
> </ear>
>
> > -----Original Message-----
> > From: J.D. Fagan [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, May 03, 2001 7:40 PM
> > To: Ant User List
> > Subject: how to ear with 1.4?
> >
> >
> > Trying to build an ear with the ear task from Ant 1.4 alpha
> (I see the
> > Ear.java task in the CVS repository). However, I get
> errors from Ant
> > complaining that "ear" is not a task. How do I make it work? Do
> > I need to
> > use the taskdef for this task? Any help from those using this task
> > appreciated.
> >
> > Here's my ear task below -- kind of guessing at the form from
> > looking at the
> > Java code, as there is 0 documentation yet:
> >
> > <ear earfile="${deploy.dir}/classes/${name}.ear"
> > appxml="${src.dir}/metadata/application.xml">
> > <fileset dir="${build.dir}/staging"/>
> > </ear>
> >
> > JD
> >
> >
> >
>