Hi,

I'm a little confused about using the <support> nested element of the
<ejbjar> task in Ant. It seems to accept a structure using <include> and
<exclude> just fine as per the following:

      <support dir="${build.output.classes.dir}">
        <include name="**/report/**/*.class"/>
        <exclude name="**/*generated*/*"/>
        <exclude name="**/*Stub*"/>
        <exclude name="**/*Skel*"/>
      </support>

However, using a comma-separated list of includes and excludes cause it
to bark (as per the following example):

      <support dir="${build.output.classes.dir}"
        includes="**/report/**/*.class"
        excludes="**/*generated*/*,**/*Stub*,**/*Skel*"/>
      </support>

Don't all FileSet elements accept both conventions? The <classes> nested
element of the <war> task appears to, so why not the <ejbjar> <support>
element?

Cheers,

Matt

Reply via email to