How to generate Javadoc for my production code only?

I want generate Javadoc from my production code only. How can I do it? Do I need to generate by hand? Thanks.

0
Avatar
Permanently deleted user

If you are using Ant, just exclude all the files that start/end with test

0
Avatar
Permanently deleted user

Yes, I forgot Ant. But I mean in IDEA, maybe IDEA need to add this feature (for lazy man :-D). Thanks!

0
Avatar
Permanently deleted user

How about excluding the Test folder from your project sources - assuming your testing code is in a separate source tree, as it should be?

0
Avatar
Permanently deleted user

How about excluding the Test folder from your project
sources - assuming your testing code is in a separate
source tree, as it should be?


Yes, it is another way. But Ant will be better 'cause use your way, it need to exclude, generate Javadoc and then include later if I want to code for testing :)

0

请先登录再写评论。