[
https://issues.jboss.org/browse/JBIDE-13018?page=com.atlassian.jira.plugi...
]
Lukáš Fryč updated JBIDE-13018:
-------------------------------
Description:
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:
{code}
components/pom.xml
components/misc/pom.xml
components/misc/ui/pom.xml
{code}
The Forge console detects right one (the most nested): {{[richfaces-ui-misc-ui]
TestFocusManager.java $ }}
But "Link to Editor" uses {{components/}} as a base.
was:
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}}:
* first: {{ui/src/test/java/...}}
* second: {{components/misc/ui/src/test/java/...}}
----
It's because detected files use wrong project as base.
There are several projects in a structure:
{code}
components/pom.xml
components/misc/pom.xml
components/misc/ui/pom.xml
{code}
The Forge console detects right one (the most nested): {{[richfaces-ui-misc-ui]
TestFocusManager.java $ }}
But "Link to Editor" uses {{components/}} as a base.
Forge: "Link with Editor" does not work correctly for
multi-module maven projects
---------------------------------------------------------------------------------
Key: JBIDE-13018
URL:
https://issues.jboss.org/browse/JBIDE-13018
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: forge
Affects Versions: 3.3.1
Reporter: Lukáš Fryč
Assignee: Koen Aers
Attachments: forge-link-to-editor.png
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:
{code}
components/pom.xml
components/misc/pom.xml
components/misc/ui/pom.xml
{code}
The Forge console detects right one (the most nested): {{[richfaces-ui-misc-ui]
TestFocusManager.java $ }}
But "Link to Editor" uses {{components/}} as a base.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira