Game Development Community

Javadoc without packages

by Steven Fletcher · in Technical Issues · 10/15/2004 (8:48 pm) · 0 replies

Is there some way to use Javadoc without having each source file have a package?

When using javadoc, you have to define a -subpackages tag that tells javadoc which packages to use. I've tried leaving it blank. Is there some special value for code that doesn't use packages? If not, I think Sun's just being assinine.

I generally don't put my code in packages because doing so causes irritating problems when I leave out the package name at some point in the compilation/execution process. Using packages is just one more complication I don't need.

I'm using Java 1.5.