I'm trying to understand how to make <javadoc> work.
 
1. I tried packagenames="..." (pretty much copied from the manual)
 
<javadoc destdir="docs"
        packagenames="stp" sourcepath="/stp"
        classpathref="classpath" (<-- this one is good, used for other tasks)
        verbose="true"
        author="true"
        version="true"
>
<group title="utils" packages="utils.*;utils/ldap/*;utils/net/*" />
<group title="stputils" packages="stputils.*" />
</javadoc>
 
I got as output
doc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] javadoc: No package, class, or source file found named stp.
  [javadoc] 1 error
 
2. I've tried
sourcefiles="**/*.java"
 
but it is not what is expected: a comma separated list of files. And I have too many to list.
 
My example is a pretty simple one. Suggestion?
 
tia
 

Reply via email to