File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Ant, Maven and Other Build Tools and the fly likes Generate javadoc for multiple projects using the javadoc ant task Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Generate javadoc for multiple projects using the javadoc ant task" Watch "Generate javadoc for multiple projects using the javadoc ant task" New topic
Author

Generate javadoc for multiple projects using the javadoc ant task

Yair Ogen
Greenhorn

Joined: Feb 12, 2003
Posts: 29
Hi,
I'm trying to generate javadoc for multiple projects but with no success.
I'm using WSAD v5.02, and the WSAD gives me the option to generate only one project at a time.
I have in my workspace 5 different projects (some are ejb projects and some are simple java projects).
I want to be able to generate javadoc for all my projects (of course there are multiple pacjages wtih in each project).
The problem is when I try ANT or I can only specify one source directory for my java files, and I have in my workspace 5 different source folders.
Any help would be appretiated (even a statement that this can not be done)...
Regards,
Yair Ogen


Regards,<br /> <br />Yair Ogen
Lewin Chan
Ranch Hand

Joined: Oct 10, 2001
Posts: 214

Is that what you want? - I am assuming that you will be running it outside of WSAD.


I have no java certifications. This makes me a bad programmer. Ignore my post.
Roberto Hernandez
Ranch Hand

Joined: Apr 29, 2009
Posts: 33
I have tried the suggestion posted above and it didn't work for me. I get the following

Martijn Verburg
author
Bartender

Joined: Jun 24, 2003
Posts: 3274
    
    5

Can you run in debug mode and see what parameters it is receiving? Compare that against what you can legally run with javadoc on the command line...


Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Generate javadoc for multiple projects using the javadoc ant task