> From: Dave Pawson [mailto:[EMAIL PROTECTED] > > I have a java file I use simply to hold string > values used elsewhere. > public class xyz{ > /** > * description > */ > String x = "......"; > } > > javadoc is not picking up the docstrings for output. > > Is there an ant property I need to set for this please, > or does javadoc not pick up docstrings without a method?
It may be that by default <javadoc> like Javadoc doesn't pick up package private members. Unless you meant interface xyz instead of class xyz. And if not, then most likely your string, if it's a constant, should be declared as static final, and possibly public. --DD --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]