Hi, I would like to define the source directories to be used by
the ejbdoclet task, at an external location (with a fileset, or a path). It could
already make this work for the copy and the javac task, but the way it has been
done there, doesn’t work for ejbdoclet. The solution that works for javac: <path id="module-source-path"> <pathelement location="moduleA/src/java"/> <pathelement location="moduleB/src/java"/> <pathelement location="moduleC/src/java"/> </path> <javac classpathref="base.path" debug="on" deprecation="off" destdir="${build.classes.dir}" optimize="on"> <src refid="module-source-path"/> </javac> For copying files, I use a fileset with a mapper that
selects the required files to be copied. However, both methods do not work for
the ejbdoclet task; a mapper element is not allowed inside a ejbdoclet element,
and a sourcepathref with an includes a filename pattern condition
(**/*EJB.java) is not possible, e.g.: <ejbdoclet…> <fileset refid="module-fileset"/> <mapper refid="module-ejb-mapper"/> </ejbdoclet> Any solution for using multiple source directories, defined
in an external fileset or path with ejbdoclet? Thanks in advance. Kind regards, |