ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: javadoc task
Date Wed, 10 Nov 2004 19:36:07 GMT
> From: Dave Pawson [mailto:davep@dpawson.co.uk]
> 
> 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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message