17 Jun 10:51
[groovy-dev] Groovydoc
From: Hans Dockter <mail@...>
Subject: [groovy-dev] Groovydoc
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-06-17 08:52:04 GMT
Subject: [groovy-dev] Groovydoc
Newsgroups: gmane.comp.lang.groovy.devel
Date: 2008-06-17 08:52:04 GMT
I think it is really a critical problem that the groovydoc tool is not production ready. I guess the way people use Groovy is shifting: from internal and experimental to writing production code. But if you want to ship your production code and your production code contains an API there is no possibility to generate reasonable API documentation for it. I have this problem with Gradle and it is a big problem for my users. They have to look into the source code to get the information they need (maybe this is a good way to recruit developers ;)). In a commercial context this problem would be even worse as customers simply expect an API doc. It's also kind of tricky, as on first sight one thinks, aha, there is Groovydoc so everything is fine. Until you discover, may be even late in the process, that there are major problems. So what are the major problems: No documentation is generated for fields and properties and inheritance is not taken into considerations. Which makes the generated docs pretty worthless. http://jira.codehaus.org/browse/GROOVY-2762 http://jira.codehaus.org/browse/GROOVY-2909 GMaven uses the javadoc tool against the Java stubs. But this does not solve the problem either, as the comments on the (private) fields are not passed over to the getter and setter methods. - Hans(Continue reading)
Though we must make sure it doesn't become a required jar for the Groovy
distribution.
RSS Feed