Is there a tool to automatically add the @since tag to all elements when I want to have a release version?
So let's say I have a bunch of methods and my base system is working now, so I decide to release it as version 0.1.0
What I want now is a tool that searches for every missing @since tag and adds it accordingly.
I'm using Eclipse and I have found JAutodoc, but as far as I can see it only allows to search for the missing tags and I'd have to add them manually.
EDIT: One workaround that might be interesting for someone: From the beginning on use an Eclipse Template with the right since t开发者_开发技巧ag and after each release change the template.
This sounds like something your build tool should provide you with. If you are using maven you should have a look at javadoc:fix. It looks like it does exactly what you want:
http://maven.apache.org/plugins/maven-javadoc-plugin/fix-mojo.html
Can I just add a lesson I learned about 27 years ago: don't try to make your version control numbers align with your product release numbers. That way madness lies.
精彩评论