2

I have Maven parent project with children.

When I go to Run -> Run Configurations... in Java Application I see few launchers twice - the only difference is path in Common tab, section Save as... Shared file.

I can't even rename one of them without renaming the second.

Is there a way to at least hide one of two same-named entries? Because now it's a little confusing when you look at it without wider spectrum.

Line
  • 1,529
  • 3
  • 18
  • 42

1 Answers1

2

Launch configurations appear as duplicates in Eclipse if the following conditions apply:

  • the launch configurations are contained in a project
  • the project is part of a Maven Module Project
  • both projects are open in your workspace

Your hinted that "the only difference is path in Common tab". Comparing the paths will look like:

  • "\moduleProject\containedProject"-path
  • "\containedProject"-path

Solution: Close the Maven Module Project in your workspace.

AndreasN
  • 36
  • 2
  • I need to have both opened - parent for updating whole repository at once and childrens to work on them. – Line Nov 24 '17 at 19:53
  • Actually I realized that I can update the whole repository from any child, so I am accepting this one. – Line Feb 09 '18 at 16:22