Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-13018

Forge: "Link with Editor" does not work correctly for multi-module maven projects

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • 4.1.x
    • 3.3.1.Final
    • forge
    • None

      When I turn on "Link with Editor" in Forge console,

      and start to switch between Java files, new editor is opened.

      See attached screenshot.

      Note that the editors differs in the file path opened for TestFocusManager.java:

      1. ui/src/test/java/...
      2. components/misc/ui/src/test/java/...


      It's because detected file is located in wrong project base.

      There are several projects in a structure:

      components/pom.xml
      components/misc/pom.xml
      components/misc/ui/pom.xml
      

      The Forge console detects right one (the most nested): {{[richfaces-ui-misc-ui] TestFocusManager.java $ }}

      But "Link to Editor" uses components/ as a base.

            kaers@redhat.com Koen Aers
            lfryc Lukáš Fryč (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: