How to remove R.java from JavaDoc

android, eclipse, java, javadoc, r.java-file

Solution

Within eclipse, when I click generate Javadoc, it brings up a wizard, with the option to select which classes/packages I want generated, from which I exclude gen (which contains the R.java)

As for whether or not you should, I would recommend excluding the entire gen package/source folder as it isn't really relevant info for anyone reading your documentation

Problem

I tried to generate Java-documentation using eclipse then previewed my JavaDocumenttation using the 'Preview attached JavaDoc in Browser' option. All the auto generated android classes such as R.drawable are present. How can I remove them? Should I remove them?

Original source