OpenLiberty / liberty-tools-eclipse

Eclipse Public License 2.0
11 stars 8 forks source link

Provide multi-module-aware Run/Debug Configuration with appropriate defaults, and caching of custom-selected values. #491

Open scottkurz opened 7 months ago

scottkurz commented 7 months ago

There are logically two new fields here (final names TBD):

  1. Aggregator (or "top-level", or "root") module home
  2. Liberty server module

We map 1. to the working directory and the pom.xml of the invocation, and we map 2. to the -pl <module> value.

DESIGN

OTHER NOTES

Note there might also be a need/desire to subclass the Gradle vs. Maven Run config control here, to only show the multi-module components in the Maven one.

Though it could also be desirable to only show this for projects we calculate to be Maven multi-module projects, we might still want to include the fields for ANY Maven multi-module, so that they can reference other projects in the OS filesystem, not just workspace projects.