facebook

finding lib include in package ?

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #294588 Reply

    edbras
    Member

    Dear MyEclipse Support,

    Is there a way to easily see which project is including a third party class?

    When seaching a class (CTR-SHIFT-T) eclipse will show the jar file that includes this class.
    However, I also would like to know which project is including this jar file.

    Example:
    This is very useful when having many projects, like 20 that all bring their own version of apache commons-beanutils.
    In this case you need to make sure (through editing the maven pom in my case) that only one version of the jar is included by all projects to overcome conflicts.

    Any idea how this is possible ?
    My workaround: searching the .classpath files with ultraedit.

    Regards,
    Ed Bras

    #294650

    You can see one reference if you check “Link with Editor” in Package Explorer view before opening the class in editor.

    #294653

    edbras
    Member

    Dear Eugene,

    Thank you for you answer.
    Could you give me the exact steps of your answer please? As it’s a bit unclear to me what you exactly do.

    If I find a class with CTRL+SHIFT+T I can’t see this option “link with Editor”.
    I am familiar with this option int he package view, but then I need to open the class such that the class will be shown in the referenced libraries. However, according to your answer above, this isn’t necessary (opening the class).

    Looking forward to your answer,
    Ed Bras

    #294661

    @edbras wrote:

    I am familiar with this option int he package view, but then I need to open the class such that the class will be shown in the referenced libraries. However, according to your answer above, this isn’t necessary (opening the class).

    I was talking about opening the class in an editor with this option checked in package explorer.

    #294662

    edbras
    Member

    He Eugene,

    Yep, I was afraid of that. I know that one and use this. It’s only very poor option, especially if you want to see all the projects that include them.
    I might have a look for some kind of library dependency plugin that does this.
    It’s a pitty that eclipse still doesn’t show this information as it’s shows the jar that includes it, but not the project, and I am sure that information is available and it’s not a lot of work to show it.

    — Ed

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: finding lib include in package ?

You must be logged in to post in the forum log in