Re: Reduce cut and paste waste was: Here is my Centipede scepticism

Nick Chalko <[email protected]>
Newsgroups gmane.comp.krysalis.user
Message-ID <[email protected]>
Mats Henricson wrote:

> 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

If we could get a MetaData repository to keep track of this kind of 
version information we could do it automatically.   There has been some 
talk of this kind of stuff over at apache.  Gump is really focused on 
the "latest" version.  We may need to modify it decriptors to accomdate 
version specific meta data.

>
> 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.

Agree cut and paste works,  but I got sick of it.  It is to much 
effort.  If centipede add more complexity than it saves,  don't use it.  
We are working on reducing the complexity, and always welcome help.  
Even if the helps is just in the form of "This is confusing".

>
> Mats
>
>
smime.p7s (application/x-pkcs7-signature, 3.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.