Unfortunately on this one I had to read the source code. The wildcard
(which has to end in .*) is converted to a fileset patter by converting
all '.' to '/' and appending a '*' to the end. So, my pattern ends up
as a fileset includes="**//**", which matches every package.
However, by looking at the code, your pattern of com.foo.stp.* should
become com/foo/stp/** which should match all files beneath com/foo/stp
in the source directory. After a quick look at the source, I don't
really see why it wouldn't work for you. It further refines the matched
directory list by only taking directories that have .java files in them.
Suu Quan wrote:
>
> > > Is "stp" the actual name of your package? The example in the doc shows:
> > > <javadoc packagenames="com.dummy.test.*"
> > > ...
> > > So I would guess you need to specify the actual package name and
> terminate
> > > it with a wildcard -- eg: com.foo.stp.*
> >
> > No it's not. Actually, it's a group of 3 applications, and 2 packages, all
> > under the same directory tree.
> > I tried to use sourcefiles=**/*.java but it apparently does not accept
> wild
> > card.
> >
> > I'll try Larry's
> > packagenames="**/.*"
>
> It works (Larry's packagenames with wild cards), but would you please
> explain how? Can't get it from the docs
>
> tia
--
Larry V. Streepy, Jr.
Chief Technical Officer and VP of Engineering
Health Language, Inc. -- "We speak the language of healthcare"
970/626-5028 (office) mailto:[EMAIL PROTECTED]
970/626-4425 (fax) http://www.healthlanguage.com