Lazy Javadoc question

R

Roedy Green

Every time I run Javadoc it generates some HTML like this:

<HEAD>
<!-- Generated by javadoc (build 1.6.0_13) on Fri May 01 06:16:21 PDT
2009 -->
<TITLE>
Affirm
</TITLE>

<META NAME="date" CONTENT="2009-05-01">

That's the date Javadoc was run, not the date the content changed.

This triggers huge amounts of nugatory commits to the version control
source repository and masks the real changes. Is there an easy way to
turn this off?

I suppose the other approach not to put generated Javadoc in the
repository. I thought it would be useful to users to track changes to
the public API.

--
Roedy Green Canadian Mind Products
http://mindprod.com

"Species evolve exactly as if they were adapting as best they could to a changing world, and not at all as if they were moving toward a set goal."
~ George Gaylord Simpson
 
J

Joshua Cranmer

Roedy said:
This triggers huge amounts of nugatory commits to the version control
source repository and masks the real changes. Is there an easy way to
turn this off?

javadoc -notimestamp ?

(Taken from reading help and the source code of Javadoc)
 
M

Martin Gregorie

This triggers huge amounts of nugatory commits to the version control
source repository and masks the real changes. Is there an easy way to
turn this off?

I suppose the other approach not to put generated Javadoc in the
repository. I thought it would be useful to users to track changes to
the public API.
I wouldn't put generated anything on a repository - it seem to me this
just makes the repository bigger and gains little if anything.

A better approach would almost certainly to have something (package.html?)
to which you can attach the comments you want users to see. You could
and commit legible change descriptions to that and use a script to
extract its version history and turn it into a web page.
 
S

Seamus MacRae

Martin said:
I wouldn't put generated anything on a repository - it seem to me this
just makes the repository bigger and gains little if anything.

A better approach would almost certainly to have something (package.html?)

Don't we use package-info.java these days?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,189
Members
46,735
Latest member
HikmatRamazanov

Latest Threads

Top