Results 1 to 6 of 6

Thread: Integrating javadoc in jar to make it visible in eclipse

  1. #1
    Join Date
    Jun 2009
    Posts
    1,205

    Integrating javadoc in jar to make it visible in eclipse

    I am developing a library and I will love that the jar contains the javadoc, especially as it is accessible to the developer in the "popups" of eclipse.

    So I integrated my javadoc to my jar (the index is below the root), but in eclipse, the javadoc is not visible unless it is explicitly associate (right click on the library.jar> JavaDoc Location).

    Is there a way of preventing Eclipse automatically locate my javadoc in my jar? At the manifest may be?

  2. #2
    Join Date
    Nov 2008
    Posts
    1,185

    Re: Integrating javadoc in jar to make it visible in eclipse

    If you put the sources of your classes in your jar, Eclipse excerpt alone the javadoc (and watch in its "pop up").

    Regarding the javadoc, in general, it is provided next to the jar, never inside (after all, his main goal is to be read from a browser) .

  3. #3
    Join Date
    May 2008
    Posts
    2,945

    Re: Integrating javadoc in jar to make it visible in eclipse

    Regarding the javadoc, in general, it is provided next to the jar, never inside (after all, his main goal is to be read from a browser) .
    that is, to provide the javadoc in jars.

    I think that just put the doc in docs / in the jar like that it avoids giving the sources if you prefer to keep

  4. #4
    Join Date
    Jun 2009
    Posts
    1,205

    Re: Integrating javadoc in jar to make it visible in eclipse

    In my jar, I have three files in the root:

    META-INF, Which contains the manifest
    docs, Which contains the javadoc
    com, Which contains my application.

    In this case, I can not automatically have the javadoc in eclipse, while with the sources, it seems work well. Someone else has tried?

    I've actually had a look in doc, without success, so I asked. And in fact, I wonder if this is really related to Java, and no sooner eclipse.

  5. #5
    Join Date
    Nov 2008
    Posts
    1,022

    Re: Integrating javadoc in jar to make it visible in eclipse

    Is there an eclipse plugin for linking a javadoc already made a package name. I have such a battery package .jar which all have the same suffix, com.machin.bidule. and all the same location for the javadoc, except that here I have for each package (thirty) go to cleanings and specify each time the source of javadoc, which is a little reloud

  6. #6
    Join Date
    Apr 2008
    Posts
    1,948

    Re: Integrating javadoc in jar to make it visible in eclipse

    I was also trying a similar task few months ago: I wrote a jar, I reference another project in java, and I had the javadoc at completion. Everything was done without asking the user to manually point to the doc. Right now I don't have the code but I will provide you the actual source code asap.

Similar Threads

  1. Does a own Domain Name make your website more visible
    By Kiran25 in forum Technology & Internet
    Replies: 8
    Last Post: 24-09-2011, 10:24 PM
  2. How to make hidden data visible in pendrive
    By Itachi Uchiha in forum Portable Devices
    Replies: 4
    Last Post: 01-04-2011, 10:05 PM
  3. How to make the javascript style visible
    By Shutdown in forum Software Development
    Replies: 3
    Last Post: 04-08-2009, 08:48 AM
  4. How to make Tables visible in Javascript
    By Jannat in forum Software Development
    Replies: 2
    Last Post: 13-02-2009, 07:44 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,751,729,056.57503 seconds with 16 queries