Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I remove duplicate run configurations from Eclipse view?

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.

like image 205
Line Avatar asked Jun 08 '26 19:06

Line


1 Answers

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.

like image 54
AndreasN Avatar answered Jun 10 '26 09:06

AndreasN



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!