Re: Reduce cut and paste waste was: Here is my Centipede scepticism
Mats Henricson <[email protected]>
| Newsgroups | gmane.comp.krysalis.user |
|---|---|
| Message-ID | <[email protected]> |
Nick Chalko wrote: > Mats Henricson wrote: >> I can't use your cent, since you don't have the link's >> I need for my project! See above! I have a ton of: >> >> <link href="URL"/> >> >> Your project uses different libraries than my project, >> so we can't share javadoc cents! > > And maybe it is easier to just do your own javadoc target, but maybe > there is a general way to solve this problem > Centipede uses the gump module.xml to declare dependencies. So if you > declare <depend project="commons-cli" /> > We can look up (from gump) the commons-cli module.xml, from there we > can get the package declaration, and the location of the javadocs. Hm... not sure it works. Take JUnit for example. There is one junit.jar file, but lots of different sets of documentations: This page currently lists 8 different JavaDoc versions: http://www.junit.org/junit/javadoc/index.htm Also, many people put up their public JavaDoc without knowing of the crucial "package-list" file, whith which a -link tag is useless. So nailing down these -link URL:s are a manual process, including some detective work. > Could be done, but I have never had that itch. Feel free to scratch. > The point is Centipede is just shared ant snippets. Some things can > be shared. Lets share the targets that we can. You can also share by copy and paste. You don't need a whole framework like Centipede to do it. Mats ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com.